linux/Documentation/PCI
Dave Jiang 361187e047 PCI/AER: Add optional logging callback for correctable error
Some new devices such as CXL devices may want to record additional error
information on a corrected error. Add a callback to allow the PCI device
driver to do additional logging such as providing additional stats for user
space RAS monitoring.

For CXL device, this is actually a need due to CXL needing to write to the
CXL RAS capability structure correctable error status register in order to
clear the unmasked correctable errors. See CXL spec rev3.0 8.2.4.16.

Suggested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166984619233.2804404.3966368388544312674.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-12-03 13:40:56 -08:00
..
endpoint Documentation: PCI: extend subheading underline for "lspci output" section 2022-08-09 17:54:22 -04:00
acpi-info.rst docs: PCI: Replace non-breaking spaces to avoid PDF issues 2021-06-17 13:22:33 -06:00
boot-interrupts.rst docs: pci: boot-interrupts.rst: improve html output 2020-04-20 15:45:23 -06:00
index.rst Documentation: better locations for sysfs-pci, sysfs-tagging 2020-10-09 09:33:23 -06:00
msi-howto.rst Documentation: PCI: Fix pci_alloc_irq_vectors() function name typo 2019-12-30 08:21:29 -06:00
pci-error-recovery.rst PCI/AER: Add optional logging callback for correctable error 2022-12-03 13:40:56 -08:00
pci-iov-howto.rst PCI/doc: Convert examples to generic power management 2022-07-11 18:17:29 -05:00
pci.rst PCI/doc: Update obsolete pci_set_dma_mask() references 2022-04-21 12:10:44 -05:00
pcieaer-howto.rst PCI/AER: Rationalize error status register clearing 2020-03-28 13:19:05 -05:00
pciebus-howto.rst Documentation PCI: Fix pciebus-howto.rst filename typo 2019-08-15 12:12:38 -05:00
sysfs-pci.rst PCI: Remove pci_mmap_page_range() wrapper 2022-07-29 12:08:44 -05:00