Vidya Sagar 9d7d5db8e7 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>
2024-06-03 16:13:38 -05:00
..
2024-05-14 13:31:24 -07:00
2024-05-15 14:32:27 -07:00
2024-04-08 16:10:27 +02:00
2024-03-19 18:30:54 -07:00
2024-05-13 20:13:48 +02:00
2024-04-08 16:10:27 +02:00
2024-03-27 16:36:45 +01:00
2023-09-21 20:55:43 +02:00
2024-05-18 10:55:13 -07:00
2024-03-19 11:15:14 -07:00
2023-03-27 20:50:28 +02:00