Hi Herbert, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bf9f243f23e6623f310ba03fbb14e10ec3a61290 commit: a1315dcb7b6a7d3a78df848eed5b331a4b3ec28a hwrng: ks-sa - Add dependency on IOMEM and OF date: 9 months ago config: s390-randconfig-r014-20210910 (attached as .config) compiler: s390-linux-gcc (GCC) 11.2.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=a1315dcb7b6a7d3a78df848eed5b331a4b3ec28a git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout a1315dcb7b6a7d3a78df848eed5b331a4b3ec28a # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory': coherent.c:(.text+0x292): undefined reference to `memremap' s390-linux-ld: coherent.c:(.text+0x352): undefined reference to `memunmap' s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory': coherent.c:(.text+0x4b0): undefined reference to `memunmap' s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt': irq-al-fic.c:(.init.text+0x40): undefined reference to `of_iomap' s390-linux-ld: irq-al-fic.c:(.init.text+0x292): undefined reference to `iounmap' s390-linux-ld: drivers/irqchip/irq-imx-intmux.o: in function `imx_intmux_probe': irq-imx-intmux.c:(.text+0x376): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/phy/marvell/phy-mvebu-a3700-utmi.o: in function `mvebu_a3700_utmi_phy_probe': phy-mvebu-a3700-utmi.c:(.text+0xc8): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/dma/fsl-edma.o: in function `fsl_edma_probe': fsl-edma.c:(.text+0xbdc): undefined reference to `devm_ioremap_resource' s390-linux-ld: fsl-edma.c:(.text+0xcb2): undefined reference to `devm_ioremap_resource' s390-linux-ld: drivers/dma/ti/edma.o: in function `edma_xbar_event_map': edma.c:(.text+0x7c2): undefined reference to `of_address_to_resource' s390-linux-ld: edma.c:(.text+0x7e8): undefined reference to `devm_ioremap' s390-linux-ld: drivers/dma/ti/edma.o: in function `edma_probe': edma.c:(.text+0x2824): undefined reference to `devm_ioremap_resource' s390-linux-ld: drivers/dma/ti/omap-dma.o: in function `omap_dma_probe': omap-dma.c:(.text+0x28f4): undefined reference to `devm_ioremap_resource' s390-linux-ld: drivers/dma/ti/dma-crossbar.o: in function `ti_am335x_xbar_probe': dma-crossbar.c:(.text+0x272): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/dma/ti/dma-crossbar.o: in function `ti_dra7_xbar_probe': dma-crossbar.c:(.text+0xa02): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_console_close': dpaa2-console.c:(.text+0x6a): undefined reference to `iounmap' s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_console_probe': dpaa2-console.c:(.text+0x17a): undefined reference to `of_address_to_resource' s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_generic_console_open.constprop.0': dpaa2-console.c:(.text+0x27c): undefined reference to `ioremap' s390-linux-ld: dpaa2-console.c:(.text+0x2c2): undefined reference to `iounmap' s390-linux-ld: dpaa2-console.c:(.text+0x2d8): undefined reference to `ioremap' s390-linux-ld: dpaa2-console.c:(.text+0x354): undefined reference to `iounmap' s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach': main.c:(.text+0x8c): undefined reference to `iounmap' s390-linux-ld: main.c:(.text+0xd2): undefined reference to `iounmap' s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_probe': main.c:(.text+0x256): undefined reference to `ioremap' s390-linux-ld: main.c:(.text+0x30a): undefined reference to `ioremap' s390-linux-ld: main.c:(.text+0x35c): undefined reference to `iounmap' s390-linux-ld: main.c:(.text+0x39e): undefined reference to `iounmap' s390-linux-ld: drivers/tty/ipwireless/main.o: in function `config_ipwireless': main.c:(.text+0x5ee): undefined reference to `iounmap' s390-linux-ld: main.c:(.text+0x62e): undefined reference to `iounmap' s390-linux-ld: drivers/char/hw_random/exynos-trng.o: in function `exynos_trng_probe': exynos-trng.c:(.text+0x2ca): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/char/hw_random/meson-rng.o: in function `meson_rng_probe': meson-rng.c:(.text+0x9e): 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+0x2be): 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+0x1e8): 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+0x120): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/mfd/sun6i-prcm.o: in function `sun6i_prcm_probe': sun6i-prcm.c:(.text+0x98): undefined reference to `mfd_add_devices' s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_exit': com90xx.c:(.exit.text+0x56): undefined reference to `iounmap' s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `check_mirror': com90xx.c:(.init.text+0x4c): undefined reference to `ioremap' s390-linux-ld: com90xx.c:(.init.text+0x72): undefined reference to `iounmap' s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_found': com90xx.c:(.init.text+0x108): undefined reference to `iounmap' s390-linux-ld: com90xx.c:(.init.text+0x1ea): undefined reference to `iounmap' s390-linux-ld: com90xx.c:(.init.text+0x2fc): undefined reference to `ioremap' s390-linux-ld: com90xx.c:(.init.text+0x3ca): undefined reference to `iounmap' s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_probe': com90xx.c:(.init.text+0xa24): undefined reference to `ioremap' s390-linux-ld: com90xx.c:(.init.text+0xb4a): undefined reference to `iounmap' s390-linux-ld: com90xx.c:(.init.text+0x1062): undefined reference to `iounmap' s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_exit': arc-rimi.c:(.exit.text+0x36): undefined reference to `iounmap' s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arcrimi_found': arc-rimi.c:(.init.text+0xdc): undefined reference to `ioremap' s390-linux-ld: arc-rimi.c:(.init.text+0x15a): undefined reference to `iounmap' s390-linux-ld: arc-rimi.c:(.init.text+0x2d2): undefined reference to `iounmap' s390-linux-ld: arc-rimi.c:(.init.text+0x350): undefined reference to `ioremap' s390-linux-ld: arc-rimi.c:(.init.text+0x40e): undefined reference to `iounmap' s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `check_mirror': arc-rimi.c:(.text.unlikely+0x4c): undefined reference to `ioremap' s390-linux-ld: arc-rimi.c:(.text.unlikely+0x72): undefined reference to `iounmap' s390-linux-ld: drivers/net/ethernet/altera/altera_tse_main.o: in function `request_and_map': altera_tse_main.c:(.text+0x9e6): undefined reference to `devm_ioremap' s390-linux-ld: drivers/net/ethernet/smsc/smc91c92_cs.o: in function `smc91c92_config': smc91c92_cs.c:(.text+0x2806): undefined reference to `ioremap' s390-linux-ld: smc91c92_cs.c:(.text+0x2ed6): undefined reference to `iounmap' s390-linux-ld: drivers/net/ethernet/smsc/smc91c92_cs.o: in function `smc91c92_detach': smc91c92_cs.c:(.text+0x30c2): undefined reference to `iounmap' s390-linux-ld: drivers/net/ethernet/xircom/xirc2ps_cs.o: in function `xirc2ps_detach': xirc2ps_cs.c:(.text+0x107e): undefined reference to `iounmap' s390-linux-ld: drivers/net/ethernet/xircom/xirc2ps_cs.o: in function `xirc2ps_config': xirc2ps_cs.c:(.text+0x1cf8): undefined reference to `ioremap' s390-linux-ld: xirc2ps_cs.c:(.text+0x1e92): undefined reference to `iounmap' s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map': cistpl.c:(.text+0x258): undefined reference to `ioremap' s390-linux-ld: cistpl.c:(.text+0x296): undefined reference to `iounmap' s390-linux-ld: cistpl.c:(.text+0x2c4): undefined reference to `iounmap' s390-linux-ld: cistpl.c:(.text+0x2d6): undefined reference to `ioremap' s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem': cistpl.c:(.text+0xf32): undefined reference to `iounmap' s390-linux-ld: drivers/ptp/ptp_qoriq.o: in function `ptp_qoriq_probe': ptp_qoriq.c:(.text+0xf04): undefined reference to `ioremap' s390-linux-ld: ptp_qoriq.c:(.text+0xf44): undefined reference to `iounmap' s390-linux-ld: drivers/ptp/ptp_qoriq.o: in function `ptp_qoriq_free': ptp_qoriq.c:(.text+0x1006): undefined reference to `iounmap' s390-linux-ld: drivers/watchdog/sirfsoc_wdt.o: in function `sirfsoc_wdt_probe': sirfsoc_wdt.c:(.text+0xca): undefined reference to `devm_platform_ioremap_resource' Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for MFD_SUN6I_PRCM Depends on HAS_IOMEM && (ARCH_SUNXI || COMPILE_TEST Selected by - CLK_SUNXI_PRCM_SUN6I && COMMON_CLK && CLK_SUNXI - CLK_SUNXI_PRCM_SUN8I && COMMON_CLK && CLK_SUNXI --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org