[PATCH v2 0/5] Parse the PCIe AER and set to relevant registers
From: LeoLiu-oc
Date: Mon Nov 14 2022 - 22:11:30 EST
From: leoliu-oc <leoliu-oc@xxxxxxxxxxx>
According to the sec 18.3.2.4, 18.3.2.5 and 18.3.2.6 in ACPI r6.5, the
register values form HEST PCI Express AER Structure should be written to
relevant PCIe Device's AER Capabilities. So the purpose of the patch set
is to extract register values from HEST PCI Express AER structures and
program them into AER Capabilities. Refer to the ACPI Spec r6.5 for a more
detailed description.
v2:
- Optimize the description of patches.
- Adjusted the code logic in function apei_hest_parse_aer.
leoliu-oc (5):
ACPI/APEI: Add apei_hest_parse_aer()
ACPI/APEI: Remove static from apei_hest_parse()
ACPI/PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge
ACPI/PCI: Add pci_acpi_program_hest_aer_params()
ACPI/PCI: Config PCIe devices's AER register
drivers/acpi/apei/hest.c | 117 +++++++++++++++++++++++++++++++++-
drivers/pci/pci-acpi.c | 92 ++++++++++++++++++++++++++
drivers/pci/pci.h | 5 ++
drivers/pci/probe.c | 1 +
include/acpi/actbl1.h | 69 ++++++++++++++++++++
include/acpi/apei.h | 9 +++
include/uapi/linux/pci_regs.h | 5 ++
7 files changed, 295 insertions(+), 3 deletions(-)
--
2.20.1