[PATCH v2] PCI: host-common: Request bus reassignment when not probe-only
Bjorn Helgaas
helgaas at kernel.org
Mon May 4 15:49:55 PDT 2026
On Tue, Apr 14, 2026 at 01:47:30PM +0530, Ratheesh Kannoth wrote:
> pci_host_common_init() is used by several generic ECAM host drivers.
> After PCI core changes around pci_flags and preserve_config, these hosts
> no longer opted into full bus number reassignment the way they did
> before.
>
> When PCI_PROBE_ONLY is not set, add PCI_REASSIGN_ALL_BUS so
> pci_scan_bridge_extend() takes the reassignment path: bus numbers can be
> assigned from firmware EA data (e.g. pci_ea_fixed_busnrs()). Skip the
> flag in probe-only mode so existing assignments are not overridden.
>
> CC: Bjorn Helgaas <helgaas at kernel.org>
> CC: Vidya Sagar <vidyas at nvidia.com>
> CC: Manivannan Sadhasivam <mani at kernel.org>
> Fixes: 7246a4520b4b ("PCI: Use preserve_config in place of pci_flags")
> Link: https://lore.kernel.org/netdev/adcXzcz2wWJFw4d7@rkannoth-OptiPlex-7090/
> Signed-off-by: Ratheesh Kannoth <rkannoth at marvell.com>
Thanks for the fix! Was there a bug report associated with this? Is
there a symptom we can mention so we can connect the problem to this
solution?
More information about the linux-arm-kernel
mailing list