lkml.org 
[lkml]   [2022]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 5/5] ACPI/PCI: Config PCIe devices's AER register
Date
From: leoliu-oc <leoliu-oc@zhaoxin.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@zhaoxin.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
\
 
 \ /
  Last update: 2022-11-15 04:14    [W:0.045 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site