[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211220174012.6noufkckz3bdwdzt@liuwe-devbox-debian-v2>
Date: Mon, 20 Dec 2021 17:40:12 +0000
From: Wei Liu <wei.liu@...nel.org>
To: kernel test robot <lkp@...el.com>
Cc: Tianyu Lan <Tianyu.Lan@...rosoft.com>, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Wei Liu <wei.liu@...nel.org>,
Michael Kelley <mikelley@...rosoft.com>
Subject: Re: [hyperv:hyperv-next 1/5] swiotlb.c:undefined reference to
`memremap'
On Mon, Dec 20, 2021 at 09:20:27PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git hyperv-next
> head: 63cd06c67a2f46009da6e88ca46f9c7231ab8998
> commit: f16dc95481e2ef2c385008f8b7bd382ea6919ee2 [1/5] swiotlb: Add swiotlb bounce buffer remap function for HV IVM
> config: s390-allnoconfig (https://download.01.org/0day-ci/archive/20211220/202112202134.o20RMLOK-lkp@intel.com/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/hyperv/linux.git/commit/?id=f16dc95481e2ef2c385008f8b7bd382ea6919ee2
> git remote add hyperv https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git
> git fetch --no-tags hyperv hyperv-next
> git checkout f16dc95481e2ef2c385008f8b7bd382ea6919ee2
> # save the config file 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@...el.com>
>
> All errors (new ones prefixed by >>):
>
> s390-linux-ld: kernel/dma/swiotlb.o: in function `swiotlb_update_mem_attributes':
> >> swiotlb.c:(.init.text+0x146): undefined reference to `memremap'
Hi Tianyu, can you take a look at this? It seems like the code is
missing come ifdefs.
Wei.
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists