[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230704120618.1322425-1-LeoLiu-oc@zhaoxin.com>
Date: Tue, 4 Jul 2023 20:06:18 +0800
From: LeoLiu-oc <LeoLiu-oc@...oxin.com>
To: <lenb@...nel.org>, <james.morse@....com>, <tony.luck@...el.com>,
<bp@...en8.de>, <bhelgaas@...gle.com>, <robert.moore@...el.com>,
<leoliu-oc@...oxin.com>, <linux-acpi@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-pci@...r.kernel.org>,
<acpica-devel@...ts.linuxfoundation.org>
Subject: [PATCH v3 5/5] PCI: Config PCIe devices's AER register
From: leoliu-oc <leoliu-oc@...oxin.com>
Call the func pci_acpi_program_hest_aer_params() for every PCIe device.
Extracting register values from HEST PCIe AER structures and programming
them into AER Capabilities are implemented in this function.
Signed-off-by: leoliu-oc <leoliu-oc@...oxin.com>
---
drivers/pci/probe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 8bac3ce02609c..8946d35fcc416 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -2274,6 +2274,7 @@ static void pci_configure_device(struct pci_dev *dev)
pci_configure_serr(dev);
pci_acpi_program_hp_params(dev);
+ pci_acpi_program_hest_aer_params(dev);
}
static void pci_release_capabilities(struct pci_dev *dev)
--
2.34.1
Powered by blists - more mailing lists