Re: [PATCH v2 2/2] media: i2c: Add support for the OV5648 image sensor
by kernel test robot
Hi Paul,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.10-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Paul-Kocialkowski/media-i2c-OV56...
base: git://linuxtv.org/media_tree.git master
config: sh-allmodconfig (attached as .config)
compiler: sh4-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://github.com/0day-ci/linux/commit/796fa225a9fbae8fc277fed63545094ef...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Paul-Kocialkowski/media-i2c-OV5648-image-sensor-support/20201114-010231
git checkout 796fa225a9fbae8fc277fed63545094ef79ff9f2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ERROR: modpost: "clk_set_min_rate" [sound/soc/atmel/snd-soc-mchp-spdifrx.ko] undefined!
ERROR: modpost: "scp_get_venc_hw_capa" [drivers/media/platform/mtk-vcodec/mtk-vcodec-common.ko] undefined!
ERROR: modpost: "scp_ipi_send" [drivers/media/platform/mtk-vcodec/mtk-vcodec-common.ko] undefined!
ERROR: modpost: "scp_put" [drivers/media/platform/mtk-vcodec/mtk-vcodec-common.ko] undefined!
ERROR: modpost: "scp_get" [drivers/media/platform/mtk-vcodec/mtk-vcodec-common.ko] undefined!
ERROR: modpost: "scp_get_vdec_hw_capa" [drivers/media/platform/mtk-vcodec/mtk-vcodec-common.ko] undefined!
ERROR: modpost: "scp_ipi_register" [drivers/media/platform/mtk-vcodec/mtk-vcodec-common.ko] undefined!
ERROR: modpost: "scp_mapping_dm_addr" [drivers/media/platform/mtk-vcodec/mtk-vcodec-common.ko] undefined!
ERROR: modpost: "scp_get_rproc" [drivers/media/platform/mtk-vcodec/mtk-vcodec-common.ko] undefined!
ERROR: modpost: "rproc_boot" [drivers/media/platform/mtk-vcodec/mtk-vcodec-common.ko] undefined!
>> ERROR: modpost: "clk_rate_exclusive_put" [drivers/media/i2c/ov5648.ko] undefined!
ERROR: modpost: "__delay" [drivers/net/mdio/mdio-cavium.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH v11 12/14] s390/vfio-ap: handle host AP config change notification
by kernel test robot
Hi Tony,
I love your patch! Yet something to improve:
[auto build test ERROR on s390/features]
[also build test ERROR on linus/master v5.10-rc2 next-20201103]
[cannot apply to kvms390/next linux/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Tony-Krowiak/s390-vfio-ap-dynami...
base: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features
config: s390-allmodconfig (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://github.com/0day-ci/linux/commit/32786ef6d4ba3703d993a8894ea1d7637...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Tony-Krowiak/s390-vfio-ap-dynamic-configuration-support/20201023-011543
git checkout 32786ef6d4ba3703d993a8894ea1d763785fd3a4
# 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(a)intel.com>
All errors (new ones prefixed by >>):
drivers/s390/crypto/vfio_ap_ops.c:1316:5: warning: no previous prototype for 'vfio_ap_mdev_reset_queue' [-Wmissing-prototypes]
1316 | int vfio_ap_mdev_reset_queue(unsigned int apid, unsigned int apqi,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/s390/crypto/vfio_ap_ops.c:1568:6: warning: no previous prototype for 'vfio_ap_mdev_hot_unplug_queue' [-Wmissing-prototypes]
1568 | void vfio_ap_mdev_hot_unplug_queue(struct vfio_ap_queue *q)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/s390/crypto/vfio_ap_ops.c: In function 'vfio_ap_mdev_on_cfg_remove':
drivers/s390/crypto/vfio_ap_ops.c:1777:7: warning: variable 'unassigned' set but not used [-Wunused-but-set-variable]
1777 | bool unassigned = false;
| ^~~~~~~~~~
drivers/s390/crypto/vfio_ap_ops.c: At top level:
drivers/s390/crypto/vfio_ap_ops.c:1813:6: warning: no previous prototype for 'vfio_ap_mdev_on_cfg_add' [-Wmissing-prototypes]
1813 | void vfio_ap_mdev_on_cfg_add(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/s390/crypto/vfio_ap_ops.c:11:
In function 'memcpy',
inlined from 'vfio_ap_mdev_unassign_apids' at drivers/s390/crypto/vfio_ap_ops.c:1655:3,
inlined from 'vfio_ap_mdev_on_cfg_remove' at drivers/s390/crypto/vfio_ap_ops.c:1800:8,
inlined from 'vfio_ap_on_cfg_changed' at drivers/s390/crypto/vfio_ap_ops.c:1836:2:
>> include/linux/string.h:402:4: error: call to '__read_overflow2' declared with attribute error: detected read beyond size of object passed as 2nd parameter
402 | __read_overflow2();
| ^~~~~~~~~~~~~~~~~~
vim +/__read_overflow2 +402 include/linux/string.h
6974f0c4555e285 Daniel Micay 2017-07-12 393
6974f0c4555e285 Daniel Micay 2017-07-12 394 __FORTIFY_INLINE void *memcpy(void *p, const void *q, __kernel_size_t size)
6974f0c4555e285 Daniel Micay 2017-07-12 395 {
6974f0c4555e285 Daniel Micay 2017-07-12 396 size_t p_size = __builtin_object_size(p, 0);
6974f0c4555e285 Daniel Micay 2017-07-12 397 size_t q_size = __builtin_object_size(q, 0);
6974f0c4555e285 Daniel Micay 2017-07-12 398 if (__builtin_constant_p(size)) {
6974f0c4555e285 Daniel Micay 2017-07-12 399 if (p_size < size)
6974f0c4555e285 Daniel Micay 2017-07-12 400 __write_overflow();
6974f0c4555e285 Daniel Micay 2017-07-12 401 if (q_size < size)
6974f0c4555e285 Daniel Micay 2017-07-12 @402 __read_overflow2();
6974f0c4555e285 Daniel Micay 2017-07-12 403 }
6974f0c4555e285 Daniel Micay 2017-07-12 404 if (p_size < size || q_size < size)
6974f0c4555e285 Daniel Micay 2017-07-12 405 fortify_panic(__func__);
47227d27e2fcb01 Daniel Axtens 2020-06-03 406 return __underlying_memcpy(p, q, size);
6974f0c4555e285 Daniel Micay 2017-07-12 407 }
6974f0c4555e285 Daniel Micay 2017-07-12 408
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
imx8mm_thermal.c:undefined reference to `devm_platform_ioremap_resource'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 673cb932b688ad3b03de89dc2b0b97c75ad47112
commit: 52cbc58b3bad2d37286110ce3adc7441c2d3de81 thermal: Add COMPILE_TEST support for i.MX8MM
date: 8 months ago
config: s390-randconfig-r022-20201113 (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...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 52cbc58b3bad2d37286110ce3adc7441c2d3de81
# 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(a)intel.com>
All errors (new ones prefixed by >>):
s390-linux-ld: mtk-pmic-wrap.c:(.text+0x14fe): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/mediatek/mtk-scpsys.o: in function `scpsys_probe':
mtk-scpsys.c:(.text+0x35c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/amlogic/meson-canvas.o: in function `meson_canvas_probe':
meson-canvas.c:(.text+0x5e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/amlogic/meson-clk-measure.o: in function `meson_msr_probe':
meson-clk-measure.c:(.text+0xde): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/qcom/qcom-geni-se.o:qcom-geni-se.c:(.text+0x64): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/regulator/stm32-vrefbuf.o: in function `stm32_vrefbuf_probe':
stm32-vrefbuf.c:(.text+0x2e0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-axs10x.o: in function `axs10x_reset_probe':
reset-axs10x.c:(.text+0xce): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-brcmstb-rescal.o: in function `brcm_rescal_reset_probe':
reset-brcmstb-rescal.c:(.text+0x13e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-lpc18xx.o: in function `lpc18xx_rgu_probe':
reset-lpc18xx.c:(.text+0x23e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-meson.o: in function `meson_reset_probe':
reset-meson.c:(.text+0x8e): 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+0x1b6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-npcm.o: in function `npcm_rc_probe':
reset-npcm.c:(.text+0x10c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-qcom-aoss.o: in function `qcom_aoss_reset_probe':
reset-qcom-aoss.c:(.text+0x1b8): 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+0x13e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-simple.o: in function `reset_simple_probe':
reset-simple.c:(.text+0x180): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-uniphier-glue.o: in function `uniphier_glue_reset_probe':
reset-uniphier-glue.c:(.text+0x122): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach':
main.c:(.text+0x9a): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0xe0): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_attach':
main.c:(.text+0x31e): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x35e): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_probe':
main.c:(.text+0x4ea): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x59e): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x5f0): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x636): undefined reference to `iounmap'
s390-linux-ld: drivers/char/hw_random/meson-rng.o: in function `meson_rng_probe':
meson-rng.c:(.text+0x72): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/mtk-rng.o: in function `mtk_rng_probe':
mtk-rng.c:(.text+0x246): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/ks-sa-rng.o: in function `ks_sa_rng_probe':
ks-sa-rng.c:(.text+0x2fa): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/npcm-rng.o: in function `npcm_rng_probe':
npcm-rng.c:(.text+0x1fc): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
xillybus_of.c:(.text+0x1f0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/iommu/qcom_iommu.o: in function `qcom_iommu_ctx_probe':
qcom_iommu.c:(.text+0x1c6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/iommu/qcom_iommu.o: in function `qcom_iommu_device_probe':
qcom_iommu.c:(.text+0x39c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mfd/syscon.o: in function `syscon_probe':
syscon.c:(.text+0xa6): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/mfd/syscon.o: in function `of_syscon_register.isra.0':
syscon.c:(.text+0x19e): undefined reference to `of_address_to_resource'
s390-linux-ld: syscon.c:(.text+0x1c0): undefined reference to `ioremap'
s390-linux-ld: syscon.c:(.text+0x2f4): undefined reference to `iounmap'
s390-linux-ld: drivers/mfd/stm32-timers.o: in function `stm32_timers_probe':
stm32-timers.c:(.text+0xd2): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/phy/mdio-mux-bcm-iproc.o: in function `mdio_mux_iproc_probe':
mdio-mux-bcm-iproc.c:(.text+0x2ee): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/phy/mdio-sun4i.o: in function `sun4i_mdio_probe':
mdio-sun4i.c:(.text+0x29e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_exit':
arc-rimi.c:(.exit.text+0x3c): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_init':
arc-rimi.c:(.init.text+0x2c2): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x362): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x552): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x5f0): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x6f4): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `check_mirror':
arc-rimi.c:(.text.unlikely+0x54): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.text.unlikely+0x76): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x348): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x37e): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x3a6): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x3b8): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xce0): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
apbps2.c:(.text+0x25e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/input/serio/olpc_apsp.o: in function `olpc_apsp_probe':
olpc_apsp.c:(.text+0x294): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/input/touchscreen/imx6ul_tsc.o: in function `imx6ul_tsc_probe':
imx6ul_tsc.c:(.text+0x448): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: imx6ul_tsc.c:(.text+0x46a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/thermal/broadcom/ns-thermal.o: in function `ns_thermal_remove':
ns-thermal.c:(.text+0x2c): undefined reference to `iounmap'
s390-linux-ld: drivers/thermal/broadcom/ns-thermal.o: in function `ns_thermal_probe':
ns-thermal.c:(.text+0x9c): undefined reference to `of_iomap'
s390-linux-ld: ns-thermal.c:(.text+0xa8): undefined reference to `iounmap'
s390-linux-ld: drivers/thermal/tango_thermal.o: in function `tango_thermal_probe':
tango_thermal.c:(.text+0x5e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/thermal/imx8mm_thermal.o: in function `imx8mm_tmu_probe':
>> imx8mm_thermal.c:(.text+0xac): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/thermal/zx2967_thermal.o: in function `zx2967_thermal_probe':
zx2967_thermal.c:(.text+0xb6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/watchdog/asm9260_wdt.o: in function `asm9260_wdt_probe':
asm9260_wdt.c:(.text+0x2a2): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/omap_wdt.o: in function `omap_wdt_probe':
omap_wdt.c:(.text+0x68e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/ftwdt010_wdt.o: in function `ftwdt010_wdt_probe':
ftwdt010_wdt.c:(.text+0x164): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/ep93xx_wdt.o: in function `ep93xx_wdt_probe':
ep93xx_wdt.c:(.text+0xac): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/davinci_wdt.o: in function `davinci_wdt_probe':
davinci_wdt.c:(.text+0x2aa): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/sunxi_wdt.o:sunxi_wdt.c:(.text+0x2fa): more undefined references to `devm_platform_ioremap_resource' follow
s390-linux-ld: drivers/watchdog/mv64x60_wdt.o: in function `mv64x60_wdt_probe':
mv64x60_wdt.c:(.text+0x384): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/crypto/atmel-aes.o: in function `atmel_aes_probe':
atmel-aes.c:(.text+0xa46): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/atmel-sha.o: in function `atmel_sha_probe':
atmel-sha.c:(.text+0x776): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/atmel-tdes.o: in function `atmel_tdes_probe':
atmel-tdes.c:(.text+0xbfe): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/mediatek/mtk-platform.o: in function `mtk_crypto_probe':
mtk-platform.c:(.text+0x704): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/crypto/qcom-rng.o: in function `qcom_rng_probe':
qcom-rng.c:(.text+0xb4): 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+0x8c): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x2a6): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0x3d2): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/bcm2835_timer.o: in function `bcm2835_timer_init':
bcm2835_timer.c:(.init.text+0x42): undefined reference to `of_iomap'
s390-linux-ld: bcm2835_timer.c:(.init.text+0x1ea): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/mxs_timer.o: in function `mxs_timer_init':
mxs_timer.c:(.init.text+0x3e): 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+0x9a): undefined reference to `of_iomap'
s390-linux-ld: drivers/clocksource/armv7m_systick.o: in function `system_timer_of_register':
armv7m_systick.c:(.init.text+0x48): undefined reference to `of_iomap'
s390-linux-ld: armv7m_systick.c:(.init.text+0xfc): undefined reference to `iounmap'
s390-linux-ld: drivers/mailbox/imx-mailbox.o: in function `imx_mu_probe':
imx-mailbox.c:(.text+0x5c4): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/mailbox/armada-37xx-rwtm-mailbox.o: in function `armada_37xx_mbox_probe':
armada-37xx-rwtm-mailbox.c:(.text+0x288): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/mailbox/hi3660-mailbox.o: in function `hi3660_mbox_probe':
hi3660-mailbox.c:(.text+0xa6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/hi6220-mailbox.o: in function `hi6220_mbox_probe':
hi6220-mailbox.c:(.text+0x43c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: hi6220-mailbox.c:(.text+0x470): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/qcom-apcs-ipc-mailbox.o: in function `qcom_apcs_ipc_probe':
qcom-apcs-ipc-mailbox.c:(.text+0x112): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/mtk-cmdq-mailbox.o: in function `cmdq_probe':
mtk-cmdq-mailbox.c:(.text+0x28e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/iio/adc/stm32-adc-core.o:stm32-adc-core.c:(.text+0x538): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/nvmem/imx-iim.o: in function `imx_iim_probe':
imx-iim.c:(.text+0x102): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/nvmem/stm32-romem.o: in function `stm32_romem_probe':
stm32-romem.c:(.text+0x22a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/nvmem/meson-mx-efuse.o: in function `meson_mx_efuse_probe':
meson-mx-efuse.c:(.text+0x362): undefined reference to `devm_ioremap_resource'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
[linux-stable-rc:linux-4.4.y 9997/9999] include/asm-generic/bug.h:159:2: error: implicit declaration of function 'no_printk'; did you mean
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
head: 95a3867e897abd7811196123f81a119a75aba863
commit: b60b53d4980f879884740e672d83155980d74445 [9997/9999] printk: help pr_debug and pr_devel to optimize out arguments
config: microblaze-randconfig-r026-20201113 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 7.5.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/stable/linux-stable-rc.gi...
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.4.y
git checkout b60b53d4980f879884740e672d83155980d74445
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=microblaze
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from lib/842/842_decompress.c:23:0:
lib/842/842_debugfs.h: In function 'sw842_debugfs_create':
lib/842/842_debugfs.h:27:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(template_count); i++) {
^
lib/842/842_decompress.c: In function 'next_bits':
lib/842/842_decompress.c:115:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (DIV_ROUND_UP(bits, 8) > p->ilen)
^
In file included from arch/microblaze/include/asm/bug.h:1:0,
from include/linux/bug.h:4,
from include/linux/thread_info.h:11,
from include/asm-generic/preempt.h:4,
from arch/microblaze/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from lib/842/842.h:76,
from lib/842/842_decompress.c:22:
lib/842/842_decompress.c: In function '__do_index':
>> include/asm-generic/bug.h:159:2: error: implicit declaration of function 'no_printk'; did you mean 'printk'? [-Werror=implicit-function-declaration]
no_printk(format); \
^
lib/842/842_decompress.c:72:3: note: in expansion of macro 'WARN'
WARN(1, "pr_debug param err invalid size %x\n", s))
^~~~
include/linux/printk.h:114:17: note: in expansion of macro 'beN_to_cpu'
printk(fmt, ##__VA_ARGS__); \
^~~~~~~~~~~
include/linux/printk.h:289:2: note: in expansion of macro 'no_printk'
no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
lib/842/842_decompress.c:205:2: note: in expansion of macro 'pr_debug'
pr_debug("index%x to %lx off %lx adjoff %lx tot %lx data %lx\n",
^~~~~~~~
lib/842/842_decompress.c:71:54: warning: signed and unsigned type in conditional expression [-Wsign-compare]
(s) == 8 ? be64_to_cpu(get_unaligned((__be64 *)d)) : \
^
include/linux/printk.h:114:17: note: in expansion of macro 'beN_to_cpu'
printk(fmt, ##__VA_ARGS__); \
^~~~~~~~~~~
include/linux/printk.h:289:2: note: in expansion of macro 'no_printk'
no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~
lib/842/842_decompress.c:205:2: note: in expansion of macro 'pr_debug'
pr_debug("index%x to %lx off %lx adjoff %lx tot %lx data %lx\n",
^~~~~~~~
cc1: some warnings being treated as errors
vim +159 include/asm-generic/bug.h
b607e70ec6a982f Josh Triplett 2014-04-07 155
b607e70ec6a982f Josh Triplett 2014-04-07 156 #ifndef WARN
b607e70ec6a982f Josh Triplett 2014-04-07 157 #define WARN(condition, format...) ({ \
b607e70ec6a982f Josh Triplett 2014-04-07 158 int __ret_warn_on = !!(condition); \
4e50ebde32bed67 Josh Triplett 2014-04-07 @159 no_printk(format); \
b607e70ec6a982f Josh Triplett 2014-04-07 160 unlikely(__ret_warn_on); \
b607e70ec6a982f Josh Triplett 2014-04-07 161 })
b607e70ec6a982f Josh Triplett 2014-04-07 162 #endif
b607e70ec6a982f Josh Triplett 2014-04-07 163
:::::: The code at line 159 was first introduced by commit
:::::: 4e50ebde32bed67a9aec8c239bbd89e5d0b8727b bug: when !CONFIG_BUG, make WARN call no_printk to check format and args
:::::: TO: Josh Triplett <josh(a)joshtriplett.org>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
reset-npcm.c:undefined reference to `devm_platform_ioremap_resource'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 673cb932b688ad3b03de89dc2b0b97c75ad47112
commit: 9c81b2ccf82da6e995b63e945afa882cfaa03ca9 reset: npcm: add NPCM reset controller driver
date: 11 months ago
config: s390-randconfig-r022-20201113 (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...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 9c81b2ccf82da6e995b63e945afa882cfaa03ca9
# 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(a)intel.com>
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x5c): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x28c): undefined reference to `iounmap'
s390-linux-ld: drivers/irqchip/irq-jcore-aic.o: in function `aic_irq_of_init':
irq-jcore-aic.c:(.init.text+0x86): undefined reference to `of_iomap'
s390-linux-ld: irq-jcore-aic.c:(.init.text+0xac): undefined reference to `iounmap'
s390-linux-ld: drivers/irqchip/irq-renesas-irqc.o: in function `irqc_probe':
irq-renesas-irqc.c:(.text+0x26a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/irqchip/irq-renesas-h8s.o: in function `h8s_intc_of_init':
irq-renesas-h8s.c:(.init.text+0xcc): undefined reference to `of_iomap'
s390-linux-ld: drivers/irqchip/irq-uniphier-aidet.o: in function `uniphier_aidet_probe':
irq-uniphier-aidet.c:(.text+0x356): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/broadcom/phy-bcm-cygnus-pcie.o: in function `cygnus_pcie_phy_probe':
phy-bcm-cygnus-pcie.c:(.text+0xb4): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/broadcom/phy-bcm-ns2-usbdrd.o: in function `ns2_drd_phy_probe':
phy-bcm-ns2-usbdrd.c:(.text+0x2ee): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-bcm-ns2-usbdrd.c:(.text+0x324): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-bcm-ns2-usbdrd.c:(.text+0x35a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-bcm-ns2-usbdrd.c:(.text+0x390): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/broadcom/phy-brcm-sata.o:phy-brcm-sata.c:(.text+0x114): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/phy/marvell/phy-mvebu-a3700-utmi.o: in function `mvebu_a3700_utmi_phy_probe':
phy-mvebu-a3700-utmi.c:(.text+0x3bc): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/marvell/phy-armada38x-comphy.o: in function `a38x_comphy_probe':
phy-armada38x-comphy.c:(.text+0x126): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/st/phy-stm32-usbphyc.o: in function `stm32_usbphyc_probe':
phy-stm32-usbphyc.c:(.text+0x358): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/ti/phy-omap-control.o: in function `omap_control_phy_probe':
phy-omap-control.c:(.text+0x94): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-omap-control.c:(.text+0xca): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-omap-control.c:(.text+0x118): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/ipmi/bt-bmc.o: in function `bt_bmc_probe':
bt-bmc.c:(.text+0xa14): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/soc/bcm/brcmstb/common.o: in function `brcmstb_soc_device_early_init':
common.c:(.init.text+0x6e): undefined reference to `of_iomap'
s390-linux-ld: common.c:(.init.text+0xaa): undefined reference to `iounmap'
s390-linux-ld: drivers/soc/bcm/brcmstb/biuctrl.o: in function `brcmstb_biuctrl_init':
biuctrl.c:(.init.text+0x86): undefined reference to `of_iomap'
s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_console_close':
dpaa2-console.c:(.text+0x74): undefined reference to `iounmap'
s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_console_probe':
dpaa2-console.c:(.text+0xc8): undefined reference to `of_address_to_resource'
s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_generic_console_open.isra.0.constprop.0':
dpaa2-console.c:(.text+0x17e): undefined reference to `ioremap'
s390-linux-ld: dpaa2-console.c:(.text+0x1a6): undefined reference to `iounmap'
s390-linux-ld: dpaa2-console.c:(.text+0x1ba): undefined reference to `ioremap'
s390-linux-ld: dpaa2-console.c:(.text+0x210): undefined reference to `iounmap'
s390-linux-ld: drivers/soc/mediatek/mtk-pmic-wrap.o: in function `pwrap_probe':
mtk-pmic-wrap.c:(.text+0x146e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: mtk-pmic-wrap.c:(.text+0x14fe): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/mediatek/mtk-scpsys.o: in function `scpsys_probe':
mtk-scpsys.c:(.text+0x35c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/amlogic/meson-canvas.o: in function `meson_canvas_probe':
meson-canvas.c:(.text+0x5e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/amlogic/meson-clk-measure.o: in function `meson_msr_probe':
meson-clk-measure.c:(.text+0xde): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/qcom/qcom-geni-se.o:qcom-geni-se.c:(.text+0x64): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/regulator/stm32-vrefbuf.o: in function `stm32_vrefbuf_probe':
stm32-vrefbuf.c:(.text+0x2e0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-axs10x.o: in function `axs10x_reset_probe':
reset-axs10x.c:(.text+0xce): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-lpc18xx.o: in function `lpc18xx_rgu_probe':
reset-lpc18xx.c:(.text+0x23e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-meson.o: in function `meson_reset_probe':
reset-meson.c:(.text+0x8e): 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+0x1b6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-npcm.o: in function `npcm_rc_probe':
>> reset-npcm.c:(.text+0x10c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-qcom-aoss.o: in function `qcom_aoss_reset_probe':
reset-qcom-aoss.c:(.text+0x1b8): 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+0x13e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-simple.o: in function `reset_simple_probe':
reset-simple.c:(.text+0x180): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-uniphier-glue.o: in function `uniphier_glue_reset_probe':
>> reset-uniphier-glue.c:(.text+0x122): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach':
main.c:(.text+0x9a): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0xe0): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_attach':
main.c:(.text+0x31e): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x35e): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_probe':
main.c:(.text+0x4ea): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x59e): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x5f0): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x636): undefined reference to `iounmap'
s390-linux-ld: drivers/char/hw_random/meson-rng.o: in function `meson_rng_probe':
meson-rng.c:(.text+0x72): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/mtk-rng.o: in function `mtk_rng_probe':
mtk-rng.c:(.text+0x246): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/ks-sa-rng.o: in function `ks_sa_rng_probe':
ks-sa-rng.c:(.text+0x2fa): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/npcm-rng.o: in function `npcm_rng_probe':
npcm-rng.c:(.text+0x1fc): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
xillybus_of.c:(.text+0x1f0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/iommu/qcom_iommu.o: in function `qcom_iommu_ctx_probe':
qcom_iommu.c:(.text+0x1c6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/iommu/qcom_iommu.o: in function `qcom_iommu_device_probe':
qcom_iommu.c:(.text+0x39c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mfd/syscon.o: in function `syscon_probe':
syscon.c:(.text+0xa6): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/mfd/syscon.o: in function `of_syscon_register.isra.0':
syscon.c:(.text+0x196): undefined reference to `of_address_to_resource'
s390-linux-ld: syscon.c:(.text+0x1b8): undefined reference to `ioremap'
s390-linux-ld: syscon.c:(.text+0x2ec): undefined reference to `iounmap'
s390-linux-ld: drivers/mfd/stm32-timers.o: in function `stm32_timers_probe':
stm32-timers.c:(.text+0xd2): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/phy/mdio-mux-bcm-iproc.o: in function `mdio_mux_iproc_probe':
mdio-mux-bcm-iproc.c:(.text+0x2ee): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/phy/mdio-sun4i.o: in function `sun4i_mdio_probe':
mdio-sun4i.c:(.text+0x29e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_exit':
arc-rimi.c:(.exit.text+0x3c): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_init':
arc-rimi.c:(.init.text+0x2b8): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x358): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x548): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x5e6): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x6e4): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `check_mirror':
arc-rimi.c:(.text.unlikely+0x54): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.text.unlikely+0x76): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x348): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x37e): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x3a6): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x3b8): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xce0): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
apbps2.c:(.text+0x25e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/input/serio/olpc_apsp.o: in function `olpc_apsp_probe':
olpc_apsp.c:(.text+0x294): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/input/touchscreen/imx6ul_tsc.o: in function `imx6ul_tsc_probe':
imx6ul_tsc.c:(.text+0x448): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: imx6ul_tsc.c:(.text+0x46a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/thermal/broadcom/ns-thermal.o: in function `ns_thermal_remove':
ns-thermal.c:(.text+0x2c): undefined reference to `iounmap'
s390-linux-ld: drivers/thermal/broadcom/ns-thermal.o: in function `ns_thermal_probe':
ns-thermal.c:(.text+0x9c): undefined reference to `of_iomap'
s390-linux-ld: ns-thermal.c:(.text+0xa8): undefined reference to `iounmap'
s390-linux-ld: drivers/thermal/tango_thermal.o: in function `tango_thermal_probe':
tango_thermal.c:(.text+0x5e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/thermal/zx2967_thermal.o: in function `zx2967_thermal_probe':
zx2967_thermal.c:(.text+0xb6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/watchdog/asm9260_wdt.o: in function `asm9260_wdt_probe':
asm9260_wdt.c:(.text+0x2a2): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/omap_wdt.o: in function `omap_wdt_probe':
omap_wdt.c:(.text+0x68e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/ftwdt010_wdt.o: in function `ftwdt010_wdt_probe':
ftwdt010_wdt.c:(.text+0x164): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/ep93xx_wdt.o: in function `ep93xx_wdt_probe':
ep93xx_wdt.c:(.text+0xac): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/davinci_wdt.o: in function `davinci_wdt_probe':
davinci_wdt.c:(.text+0x2aa): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/sunxi_wdt.o:sunxi_wdt.c:(.text+0x2fa): more undefined references to `devm_platform_ioremap_resource' follow
s390-linux-ld: drivers/watchdog/mv64x60_wdt.o: in function `mv64x60_wdt_probe':
mv64x60_wdt.c:(.text+0x384): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/crypto/atmel-aes.o: in function `atmel_aes_probe':
atmel-aes.c:(.text+0x1014): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/atmel-sha.o: in function `atmel_sha_probe':
atmel-sha.c:(.text+0x1426): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/atmel-tdes.o: in function `atmel_tdes_probe':
atmel-tdes.c:(.text+0x98e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/mediatek/mtk-platform.o: in function `mtk_crypto_probe':
mtk-platform.c:(.text+0x704): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/crypto/qcom-rng.o: in function `qcom_rng_probe':
qcom-rng.c:(.text+0xb4): 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+0x8c): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x2a6): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0x3d2): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/bcm2835_timer.o: in function `bcm2835_timer_init':
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [RFC][PATCH 21/24] x86/entry: Disable stack-protector for IST entry C handlers
by kernel test robot
Hi Alexandre,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on tip/x86/mm]
[also build test WARNING on v5.10-rc3]
[cannot apply to tip/x86/core tip/x86/asm next-20201112]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Alexandre-Chartre/x86-pti-Defer-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 1fcd009102ee02e217f2e7635ab65517d785da8e
config: x86_64-randconfig-a011-20201109 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 09ec07827b1128504457a93dee80b2ceee1af600)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/1095b6a7acb8dc568c474cd3b3d1c8393...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Alexandre-Chartre/x86-pti-Defer-CR3-switch-to-C-code/20201109-225007
git checkout 1095b6a7acb8dc568c474cd3b3d1c8393fb49728
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/cpu/mce/core.c:2023:1: warning: unknown attribute 'optimize' ignored [-Wunknown-attributes]
DEFINE_IDTENTRY_MCE(exc_machine_check)
^
arch/x86/include/asm/idtentry.h:539:30: note: expanded from macro 'DEFINE_IDTENTRY_MCE'
#define DEFINE_IDTENTRY_MCE DEFINE_IDTENTRY_IST
^
arch/x86/include/asm/idtentry.h:428:2: note: expanded from macro 'DEFINE_IDTENTRY_IST'
no_stack_protector DEFINE_IDTENTRY_RAW(func)
^
arch/x86/include/asm/idtentry.h:110:18: note: expanded from macro 'no_stack_protector'
__attribute__ ((optimize("-O2,-fno-stack-protector,-fno-omit-frame-pointer")))
^
1 warning generated.
vim +/optimize +2023 arch/x86/kernel/cpu/mce/core.c
4c0dcd8350a03c arch/x86/kernel/cpu/mce/core.c Thomas Gleixner 2020-02-25 2020
4c0dcd8350a03c arch/x86/kernel/cpu/mce/core.c Thomas Gleixner 2020-02-25 2021 #ifdef CONFIG_X86_64
4c0dcd8350a03c arch/x86/kernel/cpu/mce/core.c Thomas Gleixner 2020-02-25 2022 /* MCE hit kernel mode */
4c0dcd8350a03c arch/x86/kernel/cpu/mce/core.c Thomas Gleixner 2020-02-25 @2023 DEFINE_IDTENTRY_MCE(exc_machine_check)
4c0dcd8350a03c arch/x86/kernel/cpu/mce/core.c Thomas Gleixner 2020-02-25 2024 {
cd840e424f27fc arch/x86/kernel/cpu/mce/core.c Peter Zijlstra 2020-05-29 2025 unsigned long dr7;
cd840e424f27fc arch/x86/kernel/cpu/mce/core.c Peter Zijlstra 2020-05-29 2026
cd840e424f27fc arch/x86/kernel/cpu/mce/core.c Peter Zijlstra 2020-05-29 2027 dr7 = local_db_save();
4c0dcd8350a03c arch/x86/kernel/cpu/mce/core.c Thomas Gleixner 2020-02-25 2028 exc_machine_check_kernel(regs);
cd840e424f27fc arch/x86/kernel/cpu/mce/core.c Peter Zijlstra 2020-05-29 2029 local_db_restore(dr7);
4c0dcd8350a03c arch/x86/kernel/cpu/mce/core.c Thomas Gleixner 2020-02-25 2030 }
9eda8cb3ac2352 arch/x86/kernel/cpu/mcheck/mce.c Andi Kleen 2009-07-09 2031
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [RFC PATCH] mmc: sdhci: tegra: fix wrong unit with busy_timeout
by kernel test robot
Hi Wolfram,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on tegra/for-next]
[also build test ERROR on v5.10-rc3 next-20201113]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Wolfram-Sang/mmc-sdhci-tegra-fix...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next
config: arm64-randconfig-r033-20201113 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9e0c35655b6e8186baef8840b26ba4090503b554)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/d5481f1c9768ea4e5a43617ef5a853dd7...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Wolfram-Sang/mmc-sdhci-tegra-fix-wrong-unit-with-busy_timeout/20201113-205511
git checkout d5481f1c9768ea4e5a43617ef5a853dd716d00f1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/mmc/host/sdhci-tegra.c:1275:39: error: use of undeclared identifier 'MSECS_PER_SEC'
if (cmd && cmd->busy_timeout >= 11 * MSECS_PER_SEC)
^
1 error generated.
vim +/MSECS_PER_SEC +1275 drivers/mmc/host/sdhci-tegra.c
1255
1256 static void tegra_sdhci_set_timeout(struct sdhci_host *host,
1257 struct mmc_command *cmd)
1258 {
1259 u32 val;
1260
1261 /*
1262 * HW busy detection timeout is based on programmed data timeout
1263 * counter and maximum supported timeout is 11s which may not be
1264 * enough for long operations like cache flush, sleep awake, erase.
1265 *
1266 * ERASE_TIMEOUT_LIMIT bit of VENDOR_MISC_CTRL register allows
1267 * host controller to wait for busy state until the card is busy
1268 * without HW timeout.
1269 *
1270 * So, use infinite busy wait mode for operations that may take
1271 * more than maximum HW busy timeout of 11s otherwise use finite
1272 * busy wait mode.
1273 */
1274 val = sdhci_readl(host, SDHCI_TEGRA_VENDOR_MISC_CTRL);
> 1275 if (cmd && cmd->busy_timeout >= 11 * MSECS_PER_SEC)
1276 val |= SDHCI_MISC_CTRL_ERASE_TIMEOUT_LIMIT;
1277 else
1278 val &= ~SDHCI_MISC_CTRL_ERASE_TIMEOUT_LIMIT;
1279 sdhci_writel(host, val, SDHCI_TEGRA_VENDOR_MISC_CTRL);
1280
1281 __sdhci_set_timeout(host, cmd);
1282 }
1283
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
phy-pxa-usb.c:undefined reference to `devm_ioremap_resource'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 585e5b17b92dead8a3aca4e3c9876fbca5f7e0ba
commit: 203b7ee14d3a38f1b8c44dd86ce0313d8fc4107d phy: Enable compile testing for some of drivers
date: 10 months ago
config: s390-randconfig-r022-20201113 (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...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 203b7ee14d3a38f1b8c44dd86ce0313d8fc4107d
# 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(a)intel.com>
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x5c): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x28c): undefined reference to `iounmap'
s390-linux-ld: drivers/irqchip/irq-jcore-aic.o: in function `aic_irq_of_init':
irq-jcore-aic.c:(.init.text+0x86): undefined reference to `of_iomap'
s390-linux-ld: irq-jcore-aic.c:(.init.text+0xac): undefined reference to `iounmap'
s390-linux-ld: drivers/irqchip/irq-renesas-irqc.o: in function `irqc_probe':
irq-renesas-irqc.c:(.text+0x26a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/irqchip/irq-renesas-h8s.o: in function `h8s_intc_of_init':
irq-renesas-h8s.c:(.init.text+0xcc): undefined reference to `of_iomap'
s390-linux-ld: drivers/irqchip/irq-uniphier-aidet.o: in function `uniphier_aidet_probe':
irq-uniphier-aidet.c:(.text+0x356): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/broadcom/phy-bcm-cygnus-pcie.o: in function `cygnus_pcie_phy_probe':
phy-bcm-cygnus-pcie.c:(.text+0xb4): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/broadcom/phy-bcm-ns2-usbdrd.o: in function `ns2_drd_phy_probe':
phy-bcm-ns2-usbdrd.c:(.text+0x2ee): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-bcm-ns2-usbdrd.c:(.text+0x324): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-bcm-ns2-usbdrd.c:(.text+0x35a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-bcm-ns2-usbdrd.c:(.text+0x390): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/broadcom/phy-brcm-sata.o:phy-brcm-sata.c:(.text+0x114): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/phy/marvell/phy-mvebu-a3700-utmi.o: in function `mvebu_a3700_utmi_phy_probe':
phy-mvebu-a3700-utmi.c:(.text+0x3bc): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/marvell/phy-armada38x-comphy.o: in function `a38x_comphy_probe':
phy-armada38x-comphy.c:(.text+0x126): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/marvell/phy-pxa-usb.o: in function `pxa_usb_phy_probe':
>> phy-pxa-usb.c:(.text+0x2ce): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/st/phy-stm32-usbphyc.o: in function `stm32_usbphyc_probe':
phy-stm32-usbphyc.c:(.text+0x358): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/ti/phy-omap-control.o: in function `omap_control_phy_probe':
phy-omap-control.c:(.text+0x94): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-omap-control.c:(.text+0xca): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/ti/phy-omap-control.o:phy-omap-control.c:(.text+0x118): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/char/ipmi/bt-bmc.o: in function `bt_bmc_probe':
bt-bmc.c:(.text+0xa14): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/soc/bcm/brcmstb/common.o: in function `brcmstb_soc_device_early_init':
common.c:(.init.text+0x6e): undefined reference to `of_iomap'
s390-linux-ld: common.c:(.init.text+0xaa): undefined reference to `iounmap'
s390-linux-ld: drivers/soc/bcm/brcmstb/biuctrl.o: in function `brcmstb_biuctrl_init':
biuctrl.c:(.init.text+0x86): undefined reference to `of_iomap'
s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_console_close':
dpaa2-console.c:(.text+0x74): undefined reference to `iounmap'
s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_console_probe':
dpaa2-console.c:(.text+0xc8): undefined reference to `of_address_to_resource'
s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_generic_console_open.isra.0.constprop.0':
dpaa2-console.c:(.text+0x17e): undefined reference to `ioremap'
s390-linux-ld: dpaa2-console.c:(.text+0x1a6): undefined reference to `iounmap'
s390-linux-ld: dpaa2-console.c:(.text+0x1ba): undefined reference to `ioremap'
s390-linux-ld: dpaa2-console.c:(.text+0x210): undefined reference to `iounmap'
s390-linux-ld: drivers/soc/mediatek/mtk-pmic-wrap.o: in function `pwrap_probe':
mtk-pmic-wrap.c:(.text+0x146e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: mtk-pmic-wrap.c:(.text+0x14fe): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/mediatek/mtk-scpsys.o: in function `scpsys_probe':
mtk-scpsys.c:(.text+0x35c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/amlogic/meson-canvas.o: in function `meson_canvas_probe':
meson-canvas.c:(.text+0x5e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/amlogic/meson-clk-measure.o: in function `meson_msr_probe':
meson-clk-measure.c:(.text+0xde): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/qcom/qcom-geni-se.o:qcom-geni-se.c:(.text+0x64): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/regulator/stm32-vrefbuf.o: in function `stm32_vrefbuf_probe':
stm32-vrefbuf.c:(.text+0x2e0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-axs10x.o: in function `axs10x_reset_probe':
reset-axs10x.c:(.text+0xce): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-lpc18xx.o: in function `lpc18xx_rgu_probe':
reset-lpc18xx.c:(.text+0x23e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-meson.o: in function `meson_reset_probe':
reset-meson.c:(.text+0x8e): 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+0x1b6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-qcom-aoss.o: in function `qcom_aoss_reset_probe':
reset-qcom-aoss.c:(.text+0x1b8): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-qcom-pdc.o:reset-qcom-pdc.c:(.text+0x13e): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach':
main.c:(.text+0x9a): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0xe0): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_attach':
main.c:(.text+0x31e): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x35e): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_probe':
main.c:(.text+0x4ea): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x59e): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x5f0): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x636): undefined reference to `iounmap'
s390-linux-ld: drivers/char/hw_random/meson-rng.o: in function `meson_rng_probe':
meson-rng.c:(.text+0x72): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/mtk-rng.o: in function `mtk_rng_probe':
mtk-rng.c:(.text+0x246): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/ks-sa-rng.o: in function `ks_sa_rng_probe':
ks-sa-rng.c:(.text+0x2fa): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/npcm-rng.o: in function `npcm_rng_probe':
npcm-rng.c:(.text+0x1fc): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
xillybus_of.c:(.text+0x1f0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/iommu/qcom_iommu.o: in function `qcom_iommu_ctx_probe':
qcom_iommu.c:(.text+0x1c6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/iommu/qcom_iommu.o: in function `qcom_iommu_device_probe':
qcom_iommu.c:(.text+0x39c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mfd/syscon.o: in function `syscon_probe':
syscon.c:(.text+0xa6): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/mfd/syscon.o: in function `of_syscon_register.isra.0':
syscon.c:(.text+0x196): undefined reference to `of_address_to_resource'
s390-linux-ld: syscon.c:(.text+0x1b8): undefined reference to `ioremap'
s390-linux-ld: syscon.c:(.text+0x2ec): undefined reference to `iounmap'
s390-linux-ld: drivers/mfd/stm32-timers.o: in function `stm32_timers_probe':
stm32-timers.c:(.text+0xd2): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/phy/mdio-mux-bcm-iproc.o: in function `mdio_mux_iproc_probe':
mdio-mux-bcm-iproc.c:(.text+0x2ee): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/phy/mdio-sun4i.o: in function `sun4i_mdio_probe':
mdio-sun4i.c:(.text+0x29e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_exit':
arc-rimi.c:(.exit.text+0x3c): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_init':
arc-rimi.c:(.init.text+0x2c2): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x362): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x552): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x5f0): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x6ee): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `check_mirror':
arc-rimi.c:(.text.unlikely+0x54): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.text.unlikely+0x76): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x348): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x37e): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x3a6): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x3b8): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xce0): undefined reference to `iounmap'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
[peterz-queue:perf/core 14/16] kernel/events/core.c:7055:10: error: implicit declaration of function 'pmd_cont'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core
head: ce0668c96f4369b518dc690df996d923764066c2
commit: 6e0ac410013341c22c97514ed77bb8a16ee8fb5c [14/16] arm64/mm: Implement pXX_leaf_size() support
config: arm64-randconfig-r032-20201113 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9e0c35655b6e8186baef8840b26ba4090503b554)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue perf/core
git checkout 6e0ac410013341c22c97514ed77bb8a16ee8fb5c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/events/core.c:6541:6: warning: no previous prototype for function 'perf_pmu_snapshot_aux' [-Wmissing-prototypes]
long perf_pmu_snapshot_aux(struct perf_buffer *rb,
^
kernel/events/core.c:6541:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
long perf_pmu_snapshot_aux(struct perf_buffer *rb,
^
static
kernel/events/core.c:7033:9: error: implicit declaration of function 'p4d_offset_lockless' [-Werror,-Wimplicit-function-declaration]
p4dp = p4d_offset_lockless(pgdp, pgd, addr);
^
kernel/events/core.c:7033:7: warning: incompatible integer to pointer conversion assigning to 'p4d_t *' from 'int' [-Wint-conversion]
p4dp = p4d_offset_lockless(pgdp, pgd, addr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/events/core.c:7041:9: error: implicit declaration of function 'pud_offset_lockless' [-Werror,-Wimplicit-function-declaration]
pudp = pud_offset_lockless(p4dp, p4d, addr);
^
kernel/events/core.c:7041:9: note: did you mean 'p4d_offset_lockless'?
kernel/events/core.c:7033:9: note: 'p4d_offset_lockless' declared here
p4dp = p4d_offset_lockless(pgdp, pgd, addr);
^
kernel/events/core.c:7041:7: warning: incompatible integer to pointer conversion assigning to 'pud_t *' from 'int' [-Wint-conversion]
pudp = pud_offset_lockless(p4dp, p4d, addr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/events/core.c:7049:9: error: implicit declaration of function 'pmd_offset_lockless' [-Werror,-Wimplicit-function-declaration]
pmdp = pmd_offset_lockless(pudp, pud, addr);
^
kernel/events/core.c:7049:7: warning: incompatible integer to pointer conversion assigning to 'pmd_t *' from 'int' [-Wint-conversion]
pmdp = pmd_offset_lockless(pudp, pud, addr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/events/core.c:7055:10: error: implicit declaration of function 'pmd_cont' [-Werror,-Wimplicit-function-declaration]
return pmd_leaf_size(pmd);
^
arch/arm64/include/asm/pgtable.h:467:29: note: expanded from macro 'pmd_leaf_size'
#define pmd_leaf_size(pmd) (pmd_cont(pmd) ? CONT_PMD_SIZE : PMD_SIZE)
^
kernel/events/core.c:7055:10: note: did you mean 'pmd_mkcont'?
arch/arm64/include/asm/pgtable.h:467:29: note: expanded from macro 'pmd_leaf_size'
#define pmd_leaf_size(pmd) (pmd_cont(pmd) ? CONT_PMD_SIZE : PMD_SIZE)
^
arch/arm64/include/asm/pgtable.h:211:21: note: 'pmd_mkcont' declared here
static inline pmd_t pmd_mkcont(pmd_t pmd)
^
4 warnings and 4 errors generated.
vim +/pmd_cont +7055 kernel/events/core.c
fc7ce9c74c3ad23 Kan Liang 2017-08-28 7010
8d97e71811aaafe Kan Liang 2020-10-01 7011 /*
71fcfe8f708904c Peter Zijlstra 2020-11-11 7012 * Return the MMU/TLB page size of a given virtual address.
8d97e71811aaafe Kan Liang 2020-10-01 7013 */
71fcfe8f708904c Peter Zijlstra 2020-11-11 7014 static u64 perf_get_tlb_page_size(struct mm_struct *mm, unsigned long addr)
8d97e71811aaafe Kan Liang 2020-10-01 7015 {
71fcfe8f708904c Peter Zijlstra 2020-11-11 7016 u64 size = 0;
8d97e71811aaafe Kan Liang 2020-10-01 7017
71fcfe8f708904c Peter Zijlstra 2020-11-11 7018 #ifdef CONFIG_HAVE_FAST_GUP
71fcfe8f708904c Peter Zijlstra 2020-11-11 7019 pgd_t *pgdp, pgd;
71fcfe8f708904c Peter Zijlstra 2020-11-11 7020 p4d_t *p4dp, p4d;
71fcfe8f708904c Peter Zijlstra 2020-11-11 7021 pud_t *pudp, pud;
71fcfe8f708904c Peter Zijlstra 2020-11-11 7022 pmd_t *pmdp, pmd;
71fcfe8f708904c Peter Zijlstra 2020-11-11 7023 pte_t *ptep, pte;
8d97e71811aaafe Kan Liang 2020-10-01 7024
71fcfe8f708904c Peter Zijlstra 2020-11-11 7025 pgdp = pgd_offset(mm, addr);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7026 pgd = READ_ONCE(*pgdp);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7027 if (pgd_none(pgd))
8d97e71811aaafe Kan Liang 2020-10-01 7028 return 0;
8d97e71811aaafe Kan Liang 2020-10-01 7029
71fcfe8f708904c Peter Zijlstra 2020-11-11 7030 if (pgd_leaf(pgd))
71fcfe8f708904c Peter Zijlstra 2020-11-11 7031 return pgd_leaf_size(pgd);
8d97e71811aaafe Kan Liang 2020-10-01 7032
71fcfe8f708904c Peter Zijlstra 2020-11-11 7033 p4dp = p4d_offset_lockless(pgdp, pgd, addr);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7034 p4d = READ_ONCE(*p4dp);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7035 if (!p4d_present(p4d))
8d97e71811aaafe Kan Liang 2020-10-01 7036 return 0;
8d97e71811aaafe Kan Liang 2020-10-01 7037
71fcfe8f708904c Peter Zijlstra 2020-11-11 7038 if (p4d_leaf(p4d))
71fcfe8f708904c Peter Zijlstra 2020-11-11 7039 return p4d_leaf_size(p4d);
8d97e71811aaafe Kan Liang 2020-10-01 7040
71fcfe8f708904c Peter Zijlstra 2020-11-11 7041 pudp = pud_offset_lockless(p4dp, p4d, addr);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7042 pud = READ_ONCE(*pudp);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7043 if (!pud_present(pud))
8d97e71811aaafe Kan Liang 2020-10-01 7044 return 0;
8d97e71811aaafe Kan Liang 2020-10-01 7045
71fcfe8f708904c Peter Zijlstra 2020-11-11 7046 if (pud_leaf(pud))
71fcfe8f708904c Peter Zijlstra 2020-11-11 7047 return pud_leaf_size(pud);
8d97e71811aaafe Kan Liang 2020-10-01 7048
71fcfe8f708904c Peter Zijlstra 2020-11-11 7049 pmdp = pmd_offset_lockless(pudp, pud, addr);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7050 pmd = READ_ONCE(*pmdp);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7051 if (!pmd_present(pmd))
8d97e71811aaafe Kan Liang 2020-10-01 7052 return 0;
8d97e71811aaafe Kan Liang 2020-10-01 7053
71fcfe8f708904c Peter Zijlstra 2020-11-11 7054 if (pmd_leaf(pmd))
71fcfe8f708904c Peter Zijlstra 2020-11-11 @7055 return pmd_leaf_size(pmd);
51b646b2d9f84d6 Peter Zijlstra 2020-10-09 7056
71fcfe8f708904c Peter Zijlstra 2020-11-11 7057 ptep = pte_offset_map(&pmd, addr);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7058 pte = ptep_get_lockless(ptep);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7059 if (pte_present(pte))
71fcfe8f708904c Peter Zijlstra 2020-11-11 7060 size = pte_leaf_size(pte);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7061 pte_unmap(ptep);
71fcfe8f708904c Peter Zijlstra 2020-11-11 7062 #endif /* CONFIG_HAVE_FAST_GUP */
8d97e71811aaafe Kan Liang 2020-10-01 7063
71fcfe8f708904c Peter Zijlstra 2020-11-11 7064 return size;
8d97e71811aaafe Kan Liang 2020-10-01 7065 }
8d97e71811aaafe Kan Liang 2020-10-01 7066
:::::: The code at line 7055 was first introduced by commit
:::::: 71fcfe8f708904c4fb08e22edf8517c0eadc67e2 perf/core: Fix arch_perf_get_page_size()
:::::: TO: Peter Zijlstra <peterz(a)infradead.org>
:::::: CC: Peter Zijlstra <peterz(a)infradead.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months