[PATCH V2 0/2] Add support to preserve boot config in the DT flow

Vidya Sagar
2024-01-10T03:07:48Z

Add support to preserve the boot configuration of the PCIe bridges per
host bridge basis based on the presence of the DT flag "preserve-boot-config"
in the respective host bridge node. The existing "linux,pci-probe-only" works
at a system level and can't be used at a single host bridge granularity.
Also, the support for preserving the boot configuration per host bridge basis
is already present for the ACPI based boot flow and this patch series extends
that support for the DT based boot flow.

V2:
* Addressed issues reported by kernel test robot <lkp@intel.com>

Vidya Sagar (2):
dt-bindings: Add PCIe "preserve-boot-config" property
PCI: Add support for "preserve-boot-config" property

Documentation/devicetree/bindings/pci/pci.txt | 4 ++++
drivers/pci/controller/pci-host-common.c | 5 ++++-
drivers/pci/of.c | 18 ++++++++++++++++++
drivers/pci/probe.c | 2 +-
include/linux/of_pci.h | 6 ++++++
5 files changed, 33 insertions(+), 2 deletions(-)

--
2.25.1