public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Parse the PCIe AER and set to relevant registers
@ 2022-11-15  3:11 LeoLiu-oc
  2023-04-07 23:18 ` Bjorn Helgaas
  0 siblings, 1 reply; 7+ messages in thread
From: LeoLiu-oc @ 2022-11-15  3:11 UTC (permalink / raw)
  To: rafael, lenb, james.morse, tony.luck, bp, robert.moore,
	ying.huang, rdunlap, bhelgaas, linux-acpi, linux-pci,
	linux-kernel, devel
  Cc: CobeChen, TonyWWang, ErosZhang, leoliu-oc

From: leoliu-oc <leoliu-oc@zhaoxin.com>

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


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

end of thread, other threads:[~2023-04-18  8:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-15  3:11 [PATCH v2 0/5] Parse the PCIe AER and set to relevant registers LeoLiu-oc
2023-04-07 23:18 ` Bjorn Helgaas
2023-04-12  9:11   ` LeoLiuoc
2023-04-12 16:32     ` Bjorn Helgaas
2023-04-18  7:58       ` LeoLiuoc
2023-04-12 16:40     ` Sathyanarayanan Kuppuswamy
2023-04-18  8:13       ` LeoLiuoc

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