linux/drivers/pci/pcie/aer
Jean Delvare 96b45ea5dc PCI/AER: Log actual error causes in aer_inject
The aer_inject driver is very quiet.  In most cases, it merely returns an
error code to user-space, leaving the user with little clue about the
actual reason for the failure.

So, log error messages for 4 of the most frequent causes of failure:
* Can't find the root port of the specified device.
* Device doesn't support AER.
* Root port doesn't support AER.
* AER device not found.

This gives the user a chance to understand why aer-inject failed.

Based on a preliminary patch by Thomas Renninger.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Borislav Petkov <bp@suse.de>
CC: Thomas Renninger <trenn@suse.de>
2016-03-08 15:51:25 -06:00
..
Kconfig kconfig: use bool instead of boolean for type definition attributes 2015-01-07 13:08:04 +01:00
Kconfig.debug PCI: change PCI nomenclature in drivers/pci/ (non-comment changes) 2009-12-16 13:37:54 -08:00
Makefile PCI AER: software error injection 2009-06-16 14:30:14 -07:00
aer_inject.c PCI/AER: Log actual error causes in aer_inject 2016-03-08 15:51:25 -06:00
aerdrv.c PCI: Remove aer_do_secondary_bus_reset() 2013-08-14 15:25:59 -06:00
aerdrv.h PCI: Remove aer_do_secondary_bus_reset() 2013-08-14 15:25:59 -06:00
aerdrv_acpi.c PCI/AER: Support ACPI HEST AER error sources for PCI domains other than 0 2014-01-13 12:18:55 -07:00
aerdrv_core.c PCI: Check for PCI_HEADER_TYPE_BRIDGE equality, not bitmask 2015-12-10 19:38:06 -06:00
aerdrv_errprint.c PCI/AER: Avoid info leak in __print_tlp_header() 2015-03-06 12:30:23 -06:00
ecrc.c PCIe AER: use pci_is_pcie() 2009-11-24 15:25:17 -08:00