arm-cmn.c:undefined reference to `devm_platform_ioremap_resource'
From: kernel test robot
Date: Sun Nov 22 2020 - 20:12:28 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d5530d82efc8631beff20480b1168b1c44294fe1
commit: 0ba64770a2f2e5a104bf835e133d78d3f82287ad perf: Add Arm CMN-600 PMU driver
date: 8 weeks ago
config: s390-randconfig-r002-20201122 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ba64770a2f2e5a104bf835e133d78d3f82287ad
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 0ba64770a2f2e5a104bf835e133d78d3f82287ad
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/soc/samsung/pm_domains.o: in function `exynos4_pm_init_power_domain':
pm_domains.c:(.init.text+0xfe): undefined reference to `of_iomap'
s390-linux-ld: drivers/regulator/stm32-vrefbuf.o: in function `stm32_vrefbuf_probe':
stm32-vrefbuf.c:(.text+0x2f6): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-axs10x.o: in function `axs10x_reset_probe':
reset-axs10x.c:(.text+0xcc): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-meson.o: in function `meson_reset_probe':
reset-meson.c:(.text+0x94): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-meson-audio-arb.o: in function `meson_audio_arb_probe':
reset-meson-audio-arb.c:(.text+0x1fc): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-qcom-pdc.o: in function `qcom_pdc_reset_probe':
reset-qcom-pdc.c:(.text+0x134): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-simple.o: in function `reset_simple_probe':
reset-simple.c:(.text+0x17e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-sunxi.o: in function `sun6i_reset_init':
reset-sunxi.c:(.init.text+0x82): undefined reference to `of_address_to_resource'
s390-linux-ld: reset-sunxi.c:(.init.text+0xce): undefined reference to `ioremap'
s390-linux-ld: drivers/char/hw_random/mtk-rng.o: in function `mtk_rng_probe':
mtk-rng.c:(.text+0x266): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/mfd/syscon.o: in function `syscon_probe':
syscon.c:(.text+0x9a): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/mfd/syscon.o: in function `of_syscon_register':
syscon.c:(.text+0x25e): undefined reference to `of_address_to_resource'
s390-linux-ld: syscon.c:(.text+0x29e): undefined reference to `ioremap'
s390-linux-ld: syscon.c:(.text+0x4ec): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/sun4i-ps2.o: in function `sun4i_ps2_remove':
sun4i-ps2.c:(.text+0x6c): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/sun4i-ps2.o: in function `sun4i_ps2_probe':
sun4i-ps2.c:(.text+0x3c0): undefined reference to `ioremap'
s390-linux-ld: sun4i-ps2.c:(.text+0x59a): undefined reference to `iounmap'
s390-linux-ld: drivers/input/keyboard/bcm-keypad.o: in function `bcm_kp_probe':
bcm-keypad.c:(.text+0x4e8): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/input/keyboard/samsung-keypad.o: in function `samsung_keypad_probe':
samsung-keypad.c:(.text+0x542): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/media/cec/platform/tegra/tegra_cec.o: in function `tegra_cec_probe':
tegra_cec.c:(.text+0x77e): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/thermal/broadcom/brcmstb_thermal.o: in function `brcmstb_thermal_probe':
brcmstb_thermal.c:(.text+0x1aa): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/thermal/broadcom/ns-thermal.o: in function `ns_thermal_remove':
ns-thermal.c:(.text+0x2a): undefined reference to `iounmap'
s390-linux-ld: drivers/thermal/broadcom/ns-thermal.o: in function `ns_thermal_probe':
ns-thermal.c:(.text+0x122): undefined reference to `of_iomap'
s390-linux-ld: ns-thermal.c:(.text+0x1d4): undefined reference to `iounmap'
s390-linux-ld: drivers/thermal/imx8mm_thermal.o: in function `imx8mm_tmu_probe':
imx8mm_thermal.c:(.text+0x208): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/thermal/sprd_thermal.o: in function `sprd_thm_probe':
sprd_thermal.c:(.text+0x282): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/ep93xx_wdt.o: in function `ep93xx_wdt_probe':
ep93xx_wdt.c:(.text+0xaa): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/pnx4008_wdt.o: in function `pnx4008_wdt_probe':
pnx4008_wdt.c:(.text+0x274): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/imx7ulp_wdt.o: in function `imx7ulp_wdt_probe':
imx7ulp_wdt.c:(.text+0x1d0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/moxart_wdt.o:moxart_wdt.c:(.text+0x110): more undefined references to `devm_platform_ioremap_resource' follow
s390-linux-ld: drivers/crypto/atmel-sha.o: in function `atmel_sha_probe':
atmel-sha.c:(.text+0x1190): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/atmel-tdes.o: in function `atmel_tdes_probe':
atmel-tdes.c:(.text+0x1516): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/ccree/cc_driver.o: in function `init_cc_resources':
cc_driver.c:(.text+0x79c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/ccree/cc_debugfs.o: in function `cc_debugfs_init':
cc_debugfs.c:(.text+0x9c): undefined reference to `debugfs_create_regset32'
s390-linux-ld: cc_debugfs.c:(.text+0x116): undefined reference to `debugfs_create_regset32'
s390-linux-ld: drivers/crypto/img-hash.o: in function `img_hash_probe':
img-hash.c:(.text+0xdb6): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: img-hash.c:(.text+0xe12): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/qcom-rng.o: in function `qcom_rng_probe':
qcom-rng.c:(.text+0xba): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0x3e): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x380): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0x446): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/bcm2835_timer.o: in function `bcm2835_timer_init':
bcm2835_timer.c:(.init.text+0x26): undefined reference to `of_iomap'
s390-linux-ld: bcm2835_timer.c:(.init.text+0x1d4): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-atlas7.o: in function `sirfsoc_of_timer_init':
timer-atlas7.c:(.init.text+0x26): undefined reference to `of_iomap'
s390-linux-ld: drivers/clocksource/mxs_timer.o: in function `mxs_timer_init':
mxs_timer.c:(.init.text+0x26): undefined reference to `of_iomap'
s390-linux-ld: drivers/clocksource/bcm_kona_timer.o: in function `kona_timer_init':
bcm_kona_timer.c:(.init.text+0x104): undefined reference to `of_iomap'
s390-linux-ld: drivers/clocksource/timer-oxnas-rps.o: in function `oxnas_rps_timer_init':
timer-oxnas-rps.c:(.init.text+0xd8): undefined reference to `of_iomap'
s390-linux-ld: timer-oxnas-rps.c:(.init.text+0x186): undefined reference to `iounmap'
s390-linux-ld: drivers/mailbox/rockchip-mailbox.o: in function `rockchip_mbox_probe':
rockchip-mailbox.c:(.text+0x546): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/sun6i-msgbox.o: in function `sun6i_msgbox_probe':
sun6i-msgbox.c:(.text+0xa02): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/sprd-mailbox.o: in function `sprd_mbox_probe':
sprd-mailbox.c:(.text+0x358): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: sprd-mailbox.c:(.text+0x39e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/remoteproc/ingenic_rproc.o: in function `ingenic_rproc_probe':
ingenic_rproc.c:(.text+0x246): undefined reference to `devm_ioremap_resource'
s390-linux-ld: ingenic_rproc.c:(.text+0x2b2): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/devfreq/tegra30-devfreq.o: in function `tegra_devfreq_probe':
tegra30-devfreq.c:(.text+0x532): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/devfreq/event/exynos-nocp.o: in function `exynos_nocp_probe':
exynos-nocp.c:(.text+0x596): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/perf/arm-cmn.o: in function `arm_cmn_probe':
>> arm-cmn.c:(.text+0x16b2): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/nvmem/stm32-romem.o: in function `stm32_romem_probe':
stm32-romem.c:(.text+0x2a8): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/counter/ti-eqep.o: in function `ti_eqep_probe':
ti-eqep.c:(.text+0x58a): undefined reference to `devm_platform_ioremap_resource'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip