mbox series

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

Message ID 20240110030725.710547-1-vidyas@nvidia.com
Headers show
Series Add support to preserve boot config in the DT flow | expand

Message

Vidya Sagar Jan. 10, 2024, 3:07 a.m. UTC
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(-)