[PATCH 0/5] Expose PCIe AER stats via sysfs

From: Rajat Jain
Date: Tue May 22 2018 - 17:34:22 EST


This patchset exposes the AER stats via the sysfs attributes.

Rajat Jain (5):
PCI/AER: Define and allocate aer_stats structure for AER capable
devices
PCI/AER: Add sysfs stats for AER capable devices
PCP/AER: Add sysfs attributes to provide breakdown of AERs
PCI/AER: Add sysfs attributes for rootport cumulative stats
Documentation/PCI: Add details of PCI AER statistics

Documentation/PCI/pcieaer-howto.txt | 35 +++++
drivers/pci/pci-sysfs.c | 3 +
drivers/pci/pci.h | 4 +-
drivers/pci/pcie/aer/Makefile | 2 +-
drivers/pci/pcie/aer/aerdrv.h | 15 ++
drivers/pci/pcie/aer/aerdrv_core.c | 11 ++
drivers/pci/pcie/aer/aerdrv_errprint.c | 7 +-
drivers/pci/pcie/aer/aerdrv_stats.c | 192 +++++++++++++++++++++++++
drivers/pci/probe.c | 1 +
include/linux/pci.h | 3 +
10 files changed, 269 insertions(+), 4 deletions(-)
create mode 100644 drivers/pci/pcie/aer/aerdrv_stats.c

--
2.17.0.441.gb46fe60e1d-goog