mirror of
https://github.com/torvalds/linux.git
synced 2024-12-20 10:01:56 +00:00
26e5157133
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>
19 lines
402 B
Makefile
19 lines
402 B
Makefile
#
|
|
# Makefile for PCI-Express PORT Driver
|
|
#
|
|
|
|
# Build PCI Express ASPM if needed
|
|
obj-$(CONFIG_PCIEASPM) += aspm.o
|
|
|
|
pcieportdrv-y := portdrv_core.o portdrv_pci.o portdrv_bus.o
|
|
pcieportdrv-$(CONFIG_ACPI) += portdrv_acpi.o
|
|
|
|
obj-$(CONFIG_PCIEPORTBUS) += pcieportdrv.o
|
|
|
|
# Build PCI Express AER if needed
|
|
obj-$(CONFIG_PCIEAER) += aer/
|
|
|
|
obj-$(CONFIG_PCIE_PME) += pme.o
|
|
|
|
obj-$(CONFIG_PCIE_DPC) += pcie-dpc.o
|