pci-imx6.c:undefined reference to `pci_pwrctrl_power_off_devices'

From: kernel test robot

Date: Tue Jun 30 2026 - 22:30:44 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dc59e4fea9d83f03bad6bddf3fa2e52491777482
commit: 85c1fcfa740d4c737f5575fc7251883e54227a51 PCI: imx6: Integrate new pwrctrl API
date: 3 weeks ago
config: powerpc-randconfig-r053-20260630 (https://download.01.org/0day-ci/archive/20260701/202607011039.GLadQKgQ-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260701/202607011039.GLadQKgQ-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Fixes: 85c1fcfa740d ("PCI: imx6: Integrate new pwrctrl API")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607011039.GLadQKgQ-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

powerpc-linux-ld: drivers/pci/controller/dwc/pci-imx6.o: in function `imx_pcie_shutdown':
>> pci-imx6.c:(.text+0x5a8): undefined reference to `pci_pwrctrl_power_off_devices'
>> powerpc-linux-ld: pci-imx6.c:(.text+0x5c4): undefined reference to `pci_pwrctrl_destroy_devices'
powerpc-linux-ld: drivers/pci/controller/dwc/pci-imx6.o: in function `imx_pcie_host_exit':
pci-imx6.c:(.text+0x2018): undefined reference to `pci_pwrctrl_power_off_devices'
powerpc-linux-ld: drivers/pci/controller/dwc/pci-imx6.o: in function `imx_pcie_host_init':
>> pci-imx6.c:(.text+0x2130): undefined reference to `pci_pwrctrl_create_devices'
>> powerpc-linux-ld: pci-imx6.c:(.text+0x2140): undefined reference to `pci_pwrctrl_power_on_devices'
>> powerpc-linux-ld: pci-imx6.c:(.text+0x2690): undefined reference to `pci_pwrctrl_power_off_devices'
powerpc-linux-ld: pci-imx6.c:(.text+0x26a0): undefined reference to `pci_pwrctrl_destroy_devices'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n])
Selected by [y]:
- PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=n] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y]

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki