diff options
author | Vidya Sagar <vidyas@nvidia.com> | 2024-05-08 20:41:35 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-06-04 00:13:38 +0300 |
commit | 9d7d5db8e78ef1b67690bbffa5af60016d8e279d (patch) | |
tree | f91265594f4d6f64f84b7c190aae0c76043f8909 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) | |
download | linux-9d7d5db8e78ef1b67690bbffa5af60016d8e279d.tar.xz |
PCI: Move PRESERVE_BOOT_CONFIG _DSM evaluation to pci_register_host_bridge()
Move the PRESERVE_BOOT_CONFIG _DSM evaluation from acpi_pci_root_create()
to pci_register_host_bridge().
This will help unify the ACPI _DSM path and the DT-based
"linux,pci-probe-only" paths.
This should be safe because it happens earlier than it used to:
acpi_pci_root_create
pci_create_root_bus
pci_register_host_bridge
+ bridge->preserve_config = pci_preserve_config(bridge)
pci_acpi_preserve_config
+ acpi_evaluate_dsm_typed(DSM_PCI_PRESERVE_BOOT_CONFIG)
- acpi_evaluate_dsm_typed(DSM_PCI_PRESERVE_BOOT_CONFIG)
No functional change intended.
Link: https://lore.kernel.org/r/20240508174138.3630283-2-vidyas@nvidia.com
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions