1. 26 Sep, 2006 3 commits
    • Zhang, Yanmin's avatar
      PCI-Express AER implemetation: AER core and aerdriver · 6c2b374d
      Zhang, Yanmin authored
      
      Patch 3 implements the core part of PCI-Express AER and aerdrv
      port service driver.
      
      When a root port service device is probed, the aerdrv will call
      request_irq to register irq handler for AER error interrupt.
      
      When a device sends an PCI-Express error message to the root port,
      the root port will trigger an interrupt, by either MSI or IO-APIC,
      then kernel would run the irq handler. The handler collects root
      error status register and schedules a work. The work will call
      the core part to process the error based on its type
      (Correctable/non-fatal/fatal).
      
      As for Correctable errors, the patch chooses to just clear the correctable
      error status register of the device.
      
      As for the non-fatal error, the patch follows generic PCI error handler
      rules to call the error callback functions of the endpoint's driver. If
      the device is a bridge, the patch chooses to broadcast the error to
      downstream devices.
      
      As for the fatal error, the patch resets the pci-express link and
      follows generic PCI error handler rules to call the error callback
      functions of the endpoint's driver. If the device is a bridge, the patch
      chooses to broadcast the error to downstream devices.
      Signed-off-by: default avatarZhang Yanmin <yanmin.zhang@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      6c2b374d
    • Zhang, Yanmin's avatar
      PCI-Express AER implemetation: export pcie_port_bus_type · 48408157
      Zhang, Yanmin authored
      
      Patch 2 exports pcie_port_bus_type.
      Signed-off-by: default avatarZhang Yanmin <yanmin.zhang@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      48408157
    • Randy Dunlap's avatar
      PCIE: check and return bus_register errors · 20d51660
      Randy Dunlap authored
      
      Have pcie_port_bus_register() notice and return errors.
      Mark it __must_check so that its caller(s) must check its return value.
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      20d51660
  2. 03 Aug, 2006 2 commits
  3. 23 Mar, 2006 2 commits
  4. 09 Jan, 2006 1 commit
  5. 30 Oct, 2005 1 commit
    • Tim Schmielau's avatar
      [PATCH] fix missing includes · 4e57b681
      Tim Schmielau authored
      
      I recently picked up my older work to remove unnecessary #includes of
      sched.h, starting from a patch by Dave Jones to not include sched.h
      from module.h. This reduces the number of indirect includes of sched.h
      by ~300. Another ~400 pointless direct includes can be removed after
      this disentangling (patch to follow later).
      However, quite a few indirect includes need to be fixed up for this.
      
      In order to feed the patches through -mm with as little disturbance as
      possible, I've split out the fixes I accumulated up to now (complete for
      i386 and x86_64, more archs to follow later) and post them before the real
      patch.  This way this large part of the patch is kept simple with only
      adding #includes, and all hunks are independent of each other.  So if any
      hunk rejects or gets in the way of other patches, just drop it.  My scripts
      will pick it up again in the next round.
      Signed-off-by: default avatarTim Schmielau <tim@physik3.uni-rostock.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      4e57b681
  6. 28 Oct, 2005 1 commit
  7. 08 Sep, 2005 1 commit
  8. 07 Jul, 2005 1 commit
  9. 01 Jul, 2005 1 commit
  10. 20 Jun, 2005 1 commit
    • long's avatar
      [PATCH] use device_for_each_child() to properly access child devices. · d0e2b4a0
      long authored
      
      On Friday, March 25, 2005 8:47 PM Greg KH wrote:
      >Here's a fix for pci express.  For some reason I don't think they are
      >using the driver model properly here, but I could be wrong...
      
      Thanks for making the changes. However, changes in functions:
      void pcie_port_device_remove(struct pci_dev *dev) and
      static int remove_iter(struct device *dev, void *data)
      are not correct. Please use the patch, which is based on kernel
      2.6.12-rc1, below for a fix for these.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      d0e2b4a0
  11. 17 May, 2005 1 commit
  12. 16 Apr, 2005 2 commits