[asahilinux:sven/20210904 19/22] drivers/iommu/dma-iommu.c:29:10: fatal error: asm/memory.h: No such file or directory

From: kernel test robot
Date: Sun Sep 05 2021 - 05:36:44 EST


tree: https://github.com/AsahiLinux/linux sven/20210904
head: 1587c8191668947cf84a7bcdcf18482ca838faab
commit: c14d39610037e9d8fd874c194eff5fd987e4dc5d [19/22] iommu/dma: Support granule > PAGE_SIZE allocations
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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://github.com/AsahiLinux/linux/commit/c14d39610037e9d8fd874c194eff5fd987e4dc5d
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux sven/20210904
git checkout c14d39610037e9d8fd874c194eff5fd987e4dc5d
# 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=ia64 SHELL=/bin/bash drivers/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/iommu/dma-iommu.c:29:10: fatal error: asm/memory.h: No such file or directory
29 | #include <asm/memory.h>
| ^~~~~~~~~~~~~~
compilation terminated.


vim +29 drivers/iommu/dma-iommu.c

> 29 #include <asm/memory.h>
30

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

Attachment: .config.gz
Description: application/gzip