Re: linux-next: Tree for Jul 30 (pci/controller/cadence/)
Bjorn Helgaas <[email protected]> Tue, 4 Aug 2026 16:17:56 -0500
| Newsgroups | org.kernel.vger.linux-pci,org.kernel.vger.linux-kernel,org.kernel.vger.linux-next |
|---|---|
| Message-ID | <20260804211756.GA1938423@bhelgaas> |
[+cc recent committers in drivers/pci/controller/cadence/] On Fri, Jul 31, 2026 at 05:12:03PM -0700, Randy Dunlap wrote: > On 7/31/26 2:41 PM, Bjorn Helgaas wrote: > > On Thu, Jul 30, 2026 at 07:27:42PM -0500, Bjorn Helgaas wrote: > >> [+cc authors of everything on pci/controller/cadence; I haven't > >> triaged this at all, sorry, and don't have time right now to drop that > >> branch from pci/next] Thanks, Randy, I reproduced this problem on v7.1 in an x86_64 build with the config-r1495.gz you posted at https://lore.kernel.org/all/[email protected] Per MAINTAINERS, drivers/pci/controller/cadence/ is orphaned. If anybody cares about this, please take a look and fix this issue. > >> On Thu, Jul 30, 2026 at 04:06:44PM -0700, Randy Dunlap wrote: > >>> > >>> > >>> On 7/30/26 8:02 AM, Mark Brown wrote: > >>>> Hi all, > >>>> > >>>> Changes since 20260729: > >>>> > >>> > >>> (1) /usr/bin/ld.bfd: drivers/pci/controller/cadence/pcie-cadence-plat.o: in function `cdns_plat_pcie_probe': > >>> pcie-cadence-plat.c:(.text+0x2f8): undefined reference to `cdns_pcie_ep_setup' > >>> > >>> In this case, a builtin driver attempts to call into a loadable module: > >>> > >>> # > >>> # Cadence-based PCIe controllers > >>> # > >>> CONFIG_PCIE_CADENCE=y > >>> # CONFIG_PCIE_CADENCE_DEBUGFS is not set > >>> CONFIG_PCIE_CADENCE_HOST=y > >>> CONFIG_PCIE_CADENCE_EP=m > >>> CONFIG_PCIE_CADENCE_PLAT=y > >>> CONFIG_PCIE_CADENCE_PLAT_HOST=y > >>> CONFIG_PCIE_CADENCE_PLAT_EP=m > >>> # end of Cadence-based PCIe controllers > > > > I was unable to reproduce this issue, so I didn't do anything. I > > didn't figure out how to make CONFIG_PCIE_CADENCE_EP=m; the config I > > used was: > > > > CONFIG_PCIE_CADENCE=y > > # CONFIG_PCIE_CADENCE_DEBUGFS is not set > > CONFIG_PCIE_CADENCE_HOST=y > > CONFIG_PCIE_CADENCE_EP=y > > CONFIG_PCIE_CADENCE_PLAT=y > > CONFIG_PCIE_CADENCE_PLAT_HOST=y > > CONFIG_PCIE_CADENCE_PLAT_EP=m > > > >>> (2) /usr/bin/ld.bfd: drivers/pci/controller/cadence/pcie-cadence-plat.o: in function `cdns_plat_pcie_probe': > >>> pcie-cadence-plat.c:(.text+0x11f): undefined reference to `cdns_pcie_host_setup' > >>> > >>> > >>> This is similar, just a different driver is =m in the failure case. > >>> > >>> # > >>> # Cadence-based PCIe controllers > >>> # > >>> CONFIG_PCIE_CADENCE=y > >>> CONFIG_PCIE_CADENCE_DEBUGFS=y > >>> CONFIG_PCIE_CADENCE_HOST=m > >>> CONFIG_PCIE_CADENCE_EP=y > >>> CONFIG_PCIE_CADENCE_PLAT=y > >>> CONFIG_PCIE_CADENCE_PLAT_HOST=m > >>> CONFIG_PCIE_CADENCE_PLAT_EP=y > > I have reproduced it several times in cases that were > generated by 'make randconfig'. > I am attaching the 2 failing randconfig files (both for x86_64 > and linux-next). > > -- > ~Randy