]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ERR: Add pcie_link_rcec() to associate RCiEPs
authorSean V Kelley <sean.v.kelley@intel.com>
Sat, 21 Nov 2020 00:10:32 +0000 (16:10 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 5 Dec 2020 21:26:02 +0000 (15:26 -0600)
commit7d7fb714f52e0b1d1e9c1df87d3fd1c30f2984bf
tree201bf61baf5e20ee27b5c9ccb5952f0c080e4f76
parent9779435c9829e546daa82e3b5a0a5ed57eafe347
PCI/ERR: Add pcie_link_rcec() to associate RCiEPs

A Root Complex Event Collector terminates error and PME messages from
associated RCiEPs.

Use the RCEC Endpoint Association Extended Capability to identify
associated RCiEPs. Link the associated RCiEPs as the RCECs are enumerated.

Co-developed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Link: https://lore.kernel.org/r/20201121001036.8560-12-sean.v.kelley@intel.com
Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # non-native/no RCEC
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/pci/pci.h
drivers/pci/pcie/portdrv_pci.c
drivers/pci/pcie/rcec.c
include/linux/pci.h