Commit 761894ba authored by Vidya Sagar's avatar Vidya Sagar Committed by Treehugger Robot
Browse files

UPSTREAM: PCI: Use preserve_config in place of pci_flags

Use preserve_config in place of checking for PCI_PROBE_ONLY flag to enable
support for "linux,pci-probe-only" on a per host bridge basis.

This also obviates the use of adding PCI_REASSIGN_ALL_BUS flag if
!PCI_PROBE_ONLY, as pci_assign_unassigned_root_bus_resources() takes care
of reassigning the resources that are not already claimed.

Link: https://lore.kernel.org/r/20240508174138.3630283-5-vidyas@nvidia.com


Signed-off-by: default avatarVidya Sagar <vidyas@nvidia.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Change-Id: Ife451dc89c83e87c84a63080eb68a83fd247dd4c
(cherry picked from commit 7246a452)
Signed-off-by: default avatarJian-Min Liu <jianminl@nvidia.com>
parent 5a13b8c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment