[asahilinux:sven/20210904 19/22] drivers/iommu/dma-iommu.c:29:10: fatal error: 'asm/memory.h' file not found

From: kernel test robot
Date: Sat Sep 04 2021 - 18:01:00 EST


tree: https://github.com/AsahiLinux/linux sven/20210904
head: 1587c8191668947cf84a7bcdcf18482ca838faab
commit: c14d39610037e9d8fd874c194eff5fd987e4dc5d [19/22] iommu/dma: Support granule > PAGE_SIZE allocations
config: i386-randconfig-a006-20210905 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6fe2beba7d2a41964af658c8c59dd172683ef739)
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=clang make.cross O=build_dir ARCH=i386 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' file not found
#include <asm/memory.h>
^~~~~~~~~~~~~~
1 error generated.


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