Hi Longpeng(Mike),
Thank you for the patch! Yet something to improve:
[auto build test ERROR on v6.2]
[also build test ERROR on next-20230227]
[cannot apply to mst-vhost/linux-next linus/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url:
https://github.com/intel-lab-lkp/linux/commits/Longpeng-Mike/vdpa-support-specify-the-pgprot-of-vq-notification-area/20230227-172516
patch link:
https://lore.kernel.org/r/20230227091857.2406-3-longpeng2%40huawei.com
patch subject: [PATCH v4 2/2] vdpasim: support doorbell mapping
config: arm-randconfig-r046-20230227
(https://download.01.org/0day-ci/archive/20230227/202302272333.Jioo8IEs-lkp at
intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project
db89896bbbd2251fff457699635acbbedeead27f)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://github.com/intel-lab-lkp/linux/commit/a472c7ad92f68b5b596fd68e1936b2d47fe2ea0b
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review
Longpeng-Mike/vdpa-support-specify-the-pgprot-of-vq-notification-area/20230227-172516
git checkout a472c7ad92f68b5b596fd68e1936b2d47fe2ea0b
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1
O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1
O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp at intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302272333.Jioo8IEs-lkp at
intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: __bad_xchg
>>> referenced by cmpxchg.h:110 (arch/arm/include/asm/cmpxchg.h:110)
>>>
drivers/vdpa/vdpa_sim/vdpa_sim.o:(vdpasim_notify_work) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests