[ti:ti-rt-linux-5.10.y 10104/10108] carveout-heap.c:undefined reference to `memunmap'
From: kernel test robot
Date: Mon Oct 25 2021 - 11:43:16 EST
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.10.y
head: b9f28fcb222bc4508077366b05ad5d44984087b0
commit: db3f0424e62cd12a92e31ea8c8a029ff0ce9b181 [10104/10108] dma-buf: heaps: Add Carveout heap to dmabuf heaps
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
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.10.y
git checkout db3f0424e62cd12a92e31ea8c8a029ff0ce9b181
# 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+0x39c): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x482): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x67e): 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/dma-buf/heaps/carveout-heap.o: in function `dma_heap_vunmap':
>> carveout-heap.c:(.text+0x6e): undefined reference to `memunmap'
s390-linux-ld: drivers/dma-buf/heaps/carveout-heap.o: in function `dma_heap_vmap':
>> carveout-heap.c:(.text+0x128): undefined reference to `memremap'
s390-linux-ld: drivers/dma-buf/heaps/carveout-heap.o: in function `dma_heap_dma_buf_release':
carveout-heap.c:(.text+0x2c8): undefined reference to `memunmap'
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+0x474): undefined reference to `of_iomap'
s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0x8d8): undefined reference to `iounmap'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MFD_CORE
Depends on HAS_IOMEM
Selected by
- MFD_HI6421_SPMI && STAGING && OF && SPMI
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip