public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Parse the HEST PCIe AER and set to relevant registers
@ 2025-02-26 12:18 LeoLiu-oc
  2025-02-26 12:18 ` [PATCH v5 1/4] ACPI: APEI: Move apei_hest_parse() to apei.h LeoLiu-oc
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: LeoLiu-oc @ 2025-02-26 12:18 UTC (permalink / raw)
  To: rafael, lenb, james.morse, tony.luck, bp, bhelgaas, robert.moore,
	yazen.ghannam, avadhut.naik, linux-acpi, linux-kernel, linux-pci,
	acpica-devel
  Cc: CobeChen, TonyWWang, ErosZhang, leoliu, LeoLiuoc

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.

Changes in v2:
- Move the definition of structure "hest_parse_aer_info" to file apei.h.
- Link to v1: https://lore.kernel.org/all/20231115091612.580685-1-LeoLiu-oc@zhaoxin.com/

Changes in v3:
- The applicable hardware for this patch is added to the commit
  information.
- Change the function name "program_hest_aer_endpoint" to
  "program_hest_aer_common".
- Add the comment to function "program_hest_aer_common".
- Remove the "PCI_EXP_TYPE_PCIE_BRIDGE" branch handling in function
  "program_hest_aer_params".
- Link to v2: https://lore.kernel.org/all/20231218030430.783495-1-LeoLiu-oc@zhaoxin.com/

Changes in v4:
- Fix some compilation warnings.
- Link to v3: https://lore.kernel.org/all/20240718062405.30571-1-LeoLiu-oc@zhaoxin.com/

Changes in v5:
- Optimize the code according to the suggestions.
- Link to v4: https://lore.kernel.org/all/20241205114048.60291-1-LeoLiu-oc@zhaoxin.com/

LeoLiuoc (4):
  ACPI: APEI: Move apei_hest_parse() to apei.h
  ACPI: APEI: Add new hest_parse_pcie_aer()
  PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge
  PCI: ACPI: Add new pci_acpi_program_hest_aer_params()

 drivers/acpi/apei/hest.c      | 54 ++++++++++++++++++++-
 drivers/pci/pci-acpi.c        | 90 +++++++++++++++++++++++++++++++++++
 drivers/pci/pci.h             |  6 +++
 drivers/pci/probe.c           |  1 +
 include/acpi/apei.h           | 13 +++++
 include/uapi/linux/pci_regs.h |  4 ++
 6 files changed, 166 insertions(+), 2 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-03-05 23:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26 12:18 [PATCH v5 0/4] Parse the HEST PCIe AER and set to relevant registers LeoLiu-oc
2025-02-26 12:18 ` [PATCH v5 1/4] ACPI: APEI: Move apei_hest_parse() to apei.h LeoLiu-oc
2025-03-05 23:34   ` Bjorn Helgaas
2025-02-26 12:18 ` [PATCH v5 2/4] ACPI: APEI: Add new hest_parse_pcie_aer() LeoLiu-oc
2025-02-26 12:18 ` [PATCH v5 3/4] PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge LeoLiu-oc
2025-02-26 12:18 ` [PATCH v5 4/4] PCI: ACPI: Add new pci_acpi_program_hest_aer_params() LeoLiu-oc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox