[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20221027031628.2856297-1-LeoLiu-oc@zhaoxin.com>
Date: Thu, 27 Oct 2022 11:16:28 +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 5/5] ACPI/PCI: config pcie devices's aer register
From: leoliu-oc <leoliu-oc@...oxin.com>
In order to write the PCI Express Root Port/Device/Bridge AER Structure
record to relevant devices's aer registers, call the func
pci_acpi_program_hest_aer_params() for every pcie devices.
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 b66fa42c4b1f..02bf9180e96d 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -2263,6 +2263,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.20.1
Powered by blists - more mailing lists