Re: linux-next: Tree for Jul 30 (pci/controller/cadence/)
Bjorn Helgaas <[email protected]> Fri, 31 Jul 2026 16:41:43 -0500
| Newsgroups | org.kernel.vger.linux-next,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <20260731214143.GA1657481@bhelgaas> |
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] > > 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 > > > > > > -- > > ~Randy > >