PCI/AER: Decode Error Source Requester ID
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 22 May 2018 13:24:30 +0000 (08:24 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 3 Jun 2018 00:29:29 +0000 (19:29 -0500)
commit010caed4ccb624be619e22f9708c47f6b5c5a05c
tree1b664a8120f3571de81cc22899550a5626e64055
parentad4050dcda135548477c1b04909f9ebd0b9e17ba
PCI/AER: Decode Error Source Requester ID

Decode the Requester ID from the AER Error Source Register into domain/
bus/device/function format to match other logging.  In cases where the ID
matches the device used for pci_err(), drop the extra ID completely so we
don't print it twice.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer/aerdrv_errprint.c