aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorVidya Sagar <[email protected]>2024-05-08 17:41:36 +0000
committerBjorn Helgaas <[email protected]>2024-06-03 21:17:36 +0000
commit407abde9caee0d8f757fc8bed43fa5efc6fe509a (patch)
tree150850c61b3b61994e06e4c4f0e203316a64c984 /drivers/pci/controller/pci-host-common.c
parentPCI: Move PRESERVE_BOOT_CONFIG _DSM evaluation to pci_register_host_bridge() (diff)
downloadkernel-407abde9caee0d8f757fc8bed43fa5efc6fe509a.tar.gz
kernel-407abde9caee0d8f757fc8bed43fa5efc6fe509a.zip
PCI: of: Add of_pci_preserve_config() for per-host bridge support
Add of_pci_preserve_config() to look for the "linux,pci-probe-only" property under a specified node. If it's not found there, look under "of_chosen" in addition. If the caller didn't specify a node, look under "of_chosen". With a future patch, this will support "linux,pci-probe-only" on a per host bridge basis based on the presence of the property in the respective PCI host bridge DT node. Implement of_pci_check_probe_only() using of_pci_preserve_config(). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vidya Sagar <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions