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

From: Randy Dunlap

Date: Thu Jul 30 2026 - 19:07:04 EST




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