]> Git Repo - linux.git/commit
PCI/AER: Generalize TLP Header Log reading
authorIlpo Järvinen <[email protected]>
Tue, 6 Feb 2024 13:57:15 +0000 (15:57 +0200)
committerBjorn Helgaas <[email protected]>
Fri, 8 Mar 2024 21:26:46 +0000 (15:26 -0600)
commit0a5a46a6a61be7b63c12c18495d427f91f3662a9
tree3d342f91cf393d97129b8a66f41a009ae9f46f46
parenta37e12bcab22efa05802f87baa0692365ae0ab4d
PCI/AER: Generalize TLP Header Log reading

Both AER and DPC RP PIO provide TLP Header Log registers (PCIe r6.1 secs
7.8.4 & 7.9.14) to convey error diagnostics but the struct is named after
AER as the struct aer_header_log_regs. Also, not all places that handle TLP
Header Log use the struct and the struct members are named individually.

Generalize the struct name and members, and use it consistently where TLP
Header Log is being handled so that a pcie_read_tlp_log() helper can be
easily added.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
[bhelgaas: drop ixgbe changes for now, tidy whitespace]
Signed-off-by: Bjorn Helgaas <[email protected]>
drivers/firmware/efi/cper.c
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/pcie/aer.c
drivers/pci/pcie/dpc.c
include/linux/aer.h
include/ras/ras_event.h
This page took 0.067136 seconds and 4 git commands to generate.