mbox series

[0/3] Parse the HEST PCIe AER and set to relevant registers

Message ID 20231115091612.580685-1-LeoLiu-oc@zhaoxin.com
Headers show
Series Parse the HEST PCIe AER and set to relevant registers | expand

Message

LeoLiu-oc Nov. 15, 2023, 9:16 a.m. UTC
From: LeoLiuoc <LeoLiu-oc@zhaoxin.com>

According to the Section 18.3.2.4, 18.3.2.5 and 18.3.2.6 in ACPI SPEC r6.5,
the register value 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 value from HEST PCI Express AER structures and program
them into PCIe Device's AER registers. Refer to the ACPI SPEC r6.5 for the
more detailed description.

leoliu-oc (3):
  ACPI/APEI: Add hest_parse_pcie_aer()
  PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge
  PCI/ACPI: Add pci_acpi_program_hest_aer_params()

 drivers/acpi/apei/hest.c      |  77 +++++++++++++++++++++++++-
 drivers/pci/pci-acpi.c        | 100 ++++++++++++++++++++++++++++++++++
 drivers/pci/pci.h             |   9 +++
 drivers/pci/probe.c           |   1 +
 include/acpi/actbl1.h         |   7 +++
 include/acpi/apei.h           |   8 +++
 include/uapi/linux/pci_regs.h |   3 +
 7 files changed, 203 insertions(+), 2 deletions(-)