PCI/DPC: Add eDPC support
authorDongdong Liu <liudongdong3@huawei.com>
Sat, 19 Aug 2017 09:07:20 +0000 (17:07 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 24 Aug 2017 16:28:44 +0000 (11:28 -0500)
commitf20c4ea49ec4708de97248927ac6138c2d14eba9
tree8a6339b1c3e56d70bae8e3cdef0beeb3de265184
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
PCI/DPC: Add eDPC support

Add eDPC support. Get and print the RP PIO error information when the
trigger condition is RP PIO error.

For more information on eDPC, please see PCI Express Base Specification
Revision 3.1, section 6.2.10.3, or view the PCI-SIG eDPC ECN here:
https://pcisig.com/sites/default/files/specification_documents/ECN_Enhanced_DPC_2012-11-19_final.pdf

Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/pci/pcie/pcie-dpc.c
include/uapi/linux/pci_regs.h