alistair23-linux/drivers/pci/pcie
Keith Busch 26e5157133 PCI: Add Downstream Port Containment driver
Add driver for the PCI Express Downstream Port Containment extended
capability.  DPC is an optional capability to contain uncorrectable errors
below a port.

For more information on DPC, please see PCI Express Base Specification
Revision 4, section 7.31, or view the PCI-SIG DPC ECN here:

  https://pcisig.com/sites/default/files/specification_documents/ECN_DPC_2012-02-09_finalized.pdf

When a DPC event is triggered, the hardware disables downstream links, so
the DPC driver schedules removal for all devices below this port.  This may
happen concurrently with a PCIe hotplug driver if enabled.  When all
downstream devices are removed and the link state transitions to disabled,
the DPC driver clears the DPC status and interrupt bits so the link may
retrain for a newly connected device.

[bhelgaas: clear (not set) DPC_CTL bits on remove, whitespace cleanup]
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Lukas Wunner <lukas@wunner.de>
2016-05-03 10:39:24 -05:00
..
aer PCI changes for the v4.6 merge window: 2016-03-16 14:45:55 -07:00
aspm.c PCI/ASPM: Make sysfs link_state_store() consistent with link_state_show() 2015-12-03 10:42:59 -06:00
Kconfig PCI: Add Downstream Port Containment driver 2016-05-03 10:39:24 -05:00
Makefile PCI: Add Downstream Port Containment driver 2016-05-03 10:39:24 -05:00
pcie-dpc.c PCI: Add Downstream Port Containment driver 2016-05-03 10:39:24 -05:00
pme.c PCI/PME: Restructure pcie_pme_suspend() to prevent compiler warning 2016-02-05 16:28:03 -06:00
portdrv.h PCI: Add Downstream Port Containment portdrv service type 2016-05-03 10:35:49 -05:00
portdrv_acpi.c PCI: Add Downstream Port Containment portdrv service type 2016-05-03 10:35:49 -05:00
portdrv_bus.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
portdrv_core.c PCI: Add Downstream Port Containment portdrv service type 2016-05-03 10:35:49 -05:00
portdrv_pci.c PCI/PM: Drop unused runtime PM support code for PCIe ports 2014-09-02 17:12:15 -06:00