Skip to content

Expose PCIe AER stats via sysfs

Rajat Jain linux-doc linux-pci lkml 1 version Applied

Status from this message: Applied to pci/aer for v4.19, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4PCI: Move pci_aer_init() and pci_no_aer() declarations to drivers/pci/pci.hdrivers/pci/pci.h drivers/pci/pcie/aer.c include/linux/pci.h+10 -60 replies
2/4PCI/AER: Define and allocate aer_stats structure for AER capable devicesdrivers/pci/pci.h drivers/pci/pcie/aer.c drivers/pci/probe.c +1 more+55 -20 replies
3/4PCI/AER: Add sysfs attributes to provide AER stats and breakdownDocumentation/ABI/testing/sysfs-bus-pci-devices-aer_stats Documentation/PCI/pcieaer-howto.txt drivers/pci/pci-sysfs.c +2 more+197 -00 replies
4/4PCI/AER: Add sysfs attributes for rootport cumulative statsDocumentation/ABI/testing/sysfs-bus-pci-devices-aer_stats drivers/pci/pcie/aer.c+75 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Expose PCIe AER stats via sysfs

This is a follow up to:
https://lkml.org/lkml/2018/5/22/1057

Respinning as a new patchset because the old one has been refactored to include new patches (that were not part of original), and dropping some patches. The major changes are:

* Provide breakdown of Fatal / non fatal errors separately
* Include the "total" in the same file
* do some PCI cleanup before the actual aer_stats stuff
* Include documentation in the main patch
* Rename variables / attributes to better match the newer reality.

Rajat Jain (4):
PCI: Move pci_aer_init() and pci_no_aer() declarations to
drivers/pci/pci.h
PCI/AER: Define and allocate aer_stats structure for AER capable
devices
PCI/AER: Add sysfs attributes to provide AER stats and breakdown PCI/AER: Add sysfs attributes for rootport cumulative stats

 .../testing/sysfs-bus-pci-devices-aer_stats   | 122 +++++++++++
 Documentation/PCI/pcieaer-howto.txt           |   5 +
 drivers/pci/pci-sysfs.c                       |   3 +
 drivers/pci/pci.h                             |  11 +
 drivers/pci/pcie/aer.c                        | 198 +++++++++++++++++-
 drivers/pci/probe.c                           |   1 +
 include/linux/pci.h                           |   5 +-
 7 files changed, 337 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-pci-devices-aer_stats
Signature · 1 line
2.18.0.rc2.346.g013aa6912e-goog