[PATCH v2] PCI: host-common: Request bus reassignment when not probe-only
Bjorn Helgaas
bjorn.helgaas at gmail.com
Tue May 5 08:25:11 PDT 2026
On Mon, May 4, 2026 at 9:49 PM Ratheesh Kannoth <rkannoth at marvell.com> wrote:
>
> ZjQcmQRYFpfptBannerEnd
>
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__lore.kernel.org_netdev_adcXzcz2wWJFw4d7-40rkannoth-2DOptiPlex-2D7090_&d=DwIBAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=aekcsyBCH00_LewrEDcQBzsRw8KCpUR0vZb_auTHk4M&m=01Ocq--c6MApFtcfadw2NVeNuCaGZBUwjA3VpG_9uhWaoPultvNor45uL_Eiijk8&s=b9P4fxav0nsyokGf8a2Tm_XrNqunGO4YOS6RJ29_iuk&e=
>
> > Signed-off-by: Ratheesh Kannoth <rkannoth at marvell.com>
>
>
>
> > Was there a bug report associated with this?
>
> Please find Bug https://bugzilla.kernel.org/show_bug.cgi?id=221219 reported by me.
I don't have access to that bug report. If there's nothing secret in
it, can you make it public?
I assume this is the same issue you mentioned at
https://lore.kernel.org/all/abkqm_LCd9zAM8cW@rkannoth-OptiPlex-7090/?
Your email response was HTML, so the mailing lists rejected it, which
is why your response doesn't appear here:
https://lore.kernel.org/all/20260414081730.3864372-1-rkannoth@marvell.com/t/#u
If you can send plain-text emails, that will work better in the Linux
ecosystem. More details at
https://people.kernel.org/tglx/notes-about-netiquette
Bjorn
More information about the linux-arm-kernel
mailing list