[PATCH V7 0/4] PCI: Add support for preserving boot configuration

Vidya Sagar vidyas at nvidia.com
Wed May 8 10:41:34 PDT 2024


Add support for preserving the boot configuration done by the
platform firmware per host bridge basis, based on the presence of
'linux,pci-probe-only' property in the respective PCI host bridge
device-tree node. It also unifies the ACPI and DT based boot flows
in this regard.

This patch series is a complete version of the incomplete series
( https://lore.kernel.org/linux-pci/20240421190914.374399-1-helgaas@kernel.org/ )
posted by Bjorn which in turn was an attempted split work of the single V6 patch
( https://lore.kernel.org/linux-pci/20240418174043.3750240-1-vidyas@nvidia.com/ )
posted by me.

Vidya Sagar (4):
  PCI: Move PRESERVE_BOOT_CONFIG _DSM evaluation to
    pci_register_host_bridge()
  PCI: of: Add of_pci_preserve_config() for per-host bridge support
  PCI: Unify ACPI and DT 'preserve config' support
  PCI: Use preserve_config in place of pci_flags

 drivers/acpi/pci_root.c                  | 12 ------
 drivers/pci/controller/pci-host-common.c |  4 --
 drivers/pci/of.c                         | 54 +++++++++++++++++++-----
 drivers/pci/pci-acpi.c                   | 22 ++++++++++
 drivers/pci/pci.h                        | 12 ++++++
 drivers/pci/probe.c                      | 34 ++++++++++-----
 6 files changed, 101 insertions(+), 37 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list