[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221115031115.1666464-1-LeoLiu-oc@zhaoxin.com>
Date: Tue, 15 Nov 2022 11:11:15 +0800
From: LeoLiu-oc <LeoLiu-oc@...oxin.com>
To: <rafael@...nel.org>, <lenb@...nel.org>, <james.morse@....com>,
<tony.luck@...el.com>, <bp@...en8.de>, <robert.moore@...el.com>,
<ying.huang@...el.com>, <rdunlap@...radead.org>,
<bhelgaas@...gle.com>, <linux-acpi@...r.kernel.org>,
<linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devel@...ica.org>
CC: <CobeChen@...oxin.com>, <TonyWWang@...oxin.com>,
<ErosZhang@...oxin.com>, leoliu-oc <leoliu-oc@...oxin.com>
Subject: [PATCH v2 0/5] Parse the PCIe AER and set to relevant registers
From: leoliu-oc <leoliu-oc@...oxin.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
Powered by blists - more mailing lists