RE: pci-imx6.c:undefined reference to `pci_pwrctrl_power_off_devices'
From: Sherry Sun
Date: Tue Jun 30 2026 - 23:03:24 EST
> Subject: pci-imx6.c:undefined reference to `pci_pwrctrl_power_off_devices'
>
> tree:
> https://git.kern/
> el.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Ftorvalds%2Flinux.git&data
> =05%7C02%7Csherry.sun%40nxp.com%7C9803d0803e634aea04b408ded718
> bd93%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C639184698423
> 001937%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiI
> wLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0
> %7C%7C%7C&sdata=SxK1eCxxJN%2BmNVXFSwkgu7c0usnrEXe3%2BqqaRL3YA
> eU%3D&reserved=0 master
> head: dc59e4fea9d83f03bad6bddf3fa2e52491777482
> commit: 85c1fcfa740d4c737f5575fc7251883e54227a51 PCI: imx6: Integrate
> new pwrctrl API
> date: 3 weeks ago
> config: powerpc-randconfig-r053-20260630
> (https://downl/
> oad.01.org%2F0day-ci%2Farchive%2F20260701%2F202607011039.GLadQKgQ-
> lkp%40intel.com%2Fconfig&data=05%7C02%7Csherry.sun%40nxp.com%7C98
> 03d0803e634aea04b408ded718bd93%7C686ea1d3bc2b4c6fa92cd99c5c30163
> 5%7C0%7C0%7C639184698423020096%7CUnknown%7CTWFpbGZsb3d8eyJF
> bXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiT
> WFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=jpQIrEvcVuPQa%2FfSS
> QOWV1nS064bT3YzzSpaIEJclmQ%3D&reserved=0)
> compiler: powerpc-linux-gcc (GCC) 12.5.0 reproduce (this is a W=1 build):
> (https://downl/
> oad.01.org%2F0day-ci%2Farchive%2F20260701%2F202607011039.GLadQKgQ-
> lkp%40intel.com%2Freproduce&data=05%7C02%7Csherry.sun%40nxp.com%
> 7C9803d0803e634aea04b408ded718bd93%7C686ea1d3bc2b4c6fa92cd99c5c
> 301635%7C0%7C0%7C639184698423031804%7CUnknown%7CTWFpbGZsb3d
> 8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOI
> joiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=TfQQpDHJaxV2U7F
> FPHsFPGxylLih4dydUf%2FKu3qSSAA%3D&reserved=0)
>
> 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%2Foe-kbuild-all%2F202607011039.GLadQKgQ-
> lkp%40intel.com%2F
> |
> &data=05%7C02%7Csherry.sun%40nxp.com%7C9803d0803e634aea04b408d
> ed718bd9
> |
> 3%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C639184698423041
> 414%7CUn
> |
> known%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAw
> MCIsIlAiOi
> |
> JXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=iw
> 6HxJN6
> | LCsvBhUcXck6SFdMvolSshU9nJp1JjELIZM%3D&reserved=0
>
> 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]
>
There is already a fix patch pending for this issue: https://lore.kernel.org/all/20260618143629.2035247-1-arnd@xxxxxxxxxx/
Best Regards
Sherry