Skip to content

PCI/AER: Support Advisory Non-Fatal Errors

Lukas Wunner linux-pci linuxppc-dev sashiko-reviews 1 version Applied

Status from this message: Applied to pci/aer with the intention of v7.3, thank you!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6PCI/AER: Fix mapping of errors to agent & layerdrivers/pci/pcie/aer.c+19 -50 replies
2/6PCI/AER: Log agent & layer for each individual errordrivers/pci/pcie/aer.c+20 -220 replies
3/6PCI/AER: Deduplicate logging of Error Source Identificationdrivers/pci/pcie/aer.c+4 -90 replies
4/6PCI/AER: Emit TLP Log only for unmasked errorsdrivers/pci/pcie/aer.c+3 -20 replies
5/6PCI/AER: Move retrieval of FEP and TLP Log into helperdrivers/pci/pcie/aer.c+22 -130 replies
6/6PCI/AER: Support Advisory Non-Fatal Errorsdrivers/pci/pci.h drivers/pci/pcie/aer.c+137 -81 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] PCI/AER: Support Advisory Non-Fatal Errors

PCIe r7.0 sec 6.2.4.3 specifies that certain Non-Fatal Errors may be signaled with ERR_COR instead of ERR_NONFATAL. These so-called Advisory Non-Fatal Errors are masked by default and hence not reported by Linux.

This series seeks to change that. The meat of it is in patch [6/6]. There have been several previous attempts to support Advisory Non-Fatal Errors which are all linked in the patch.

The preceding patches contain prep work. In particular, they ensure that the detecting agent and layer is reported correctly for each error (patch [1/6] and [2/6]), simplify logging of the error source (patch [3/6]), fix reporting of the TLP Prefix/Header Log (patch [4/6]) and move code around (patch [5/6]).

The patches have been tested internally, but further testing would be appreciated to raise the confidence. Thanks!

Lukas Wunner (6):
PCI/AER: Fix mapping of errors to agent & layer PCI/AER: Log agent & layer for each individual error PCI/AER: Deduplicate logging of Error Source Identification PCI/AER: Emit TLP Log only for unmasked errors PCI/AER: Move retrieval of FEP and TLP Log into helper PCI/AER: Support Advisory Non-Fatal Errors

 drivers/pci/pci.h      |   4 +
 drivers/pci/pcie/aer.c | 250 ++++++++++++++++++++++++++++++++---------
 2 files changed, 200 insertions(+), 54 deletions(-)
Signature · 1 line
2.53.0