[deller-parisc:hpmc-trigger 1/1] sysrq.c:undefined reference to `ioremap'

From: kernel test robot
Date: Sun Oct 10 2021 - 23:27:04 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git hpmc-trigger
head: f55a98686fa3cf9599bbd5e83e6bd7ab7f4712c9
commit: f55a98686fa3cf9599bbd5e83e6bd7ab7f4712c9 [1/1] parisc: trigger hpmc on parisc arch
config: s390-allmodconfig (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/deller/parisc-linux.git/commit/?id=f55a98686fa3cf9599bbd5e83e6bd7ab7f4712c9
git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
git fetch --no-tags deller-parisc hpmc-trigger
git checkout f55a98686fa3cf9599bbd5e83e6bd7ab7f4712c9
# 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 <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0xdc): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x1c2): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x6be): 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+0x62): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x368): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/clk-fixed-mmio.o: in function `fixed_mmio_clk_setup':
clk-fixed-mmio.c:(.text+0x3c): undefined reference to `of_iomap'
s390-linux-ld: clk-fixed-mmio.c:(.text+0x7e): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/sysrq.o: in function `sysrq_init':
>> sysrq.c:(.init.text+0xb4): undefined reference to `ioremap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0xc4): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x5aa): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0x71a): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in function `mchp_pit64b_dt_init_timer':
timer-microchip-pit64b.c:(.init.text+0x52c): undefined reference to `of_iomap'
s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0xa0e): undefined reference to `iounmap'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip