Re: linux-next: Tree for Jul 30 (pci/controller/cadence/)

Bjorn Helgaas <[email protected]> Thu, 30 Jul 2026 19:27:42 -0500
Newsgroups org.kernel.vger.linux-next,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci
Message-ID <20260731002742.GA1538321@bhelgaas>
[+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
> 
> (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
>