[arm-platforms:kvm-arm64/nv-5.16 6/71] cpufeature.c:undefined reference to `kvm_get_mode'

kernel test robot lkp at intel.com
Sun Nov 28 11:17:49 PST 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nv-5.16
head:   6162310e2419353608acd8f247bde3fc848d4f64
commit: d7aac8a775ce164381f19f27fb5d0b5e1dd14659 [6/71] arm64: Add ARM64_HAS_NESTED_VIRT cpufeature
config: arm64-randconfig-p002-20211128 (https://download.01.org/0day-ci/archive/20211129/202111290352.FFUOTmSv-lkp@intel.com/config)
compiler: aarch64-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/maz/arm-platforms.git/commit/?id=d7aac8a775ce164381f19f27fb5d0b5e1dd14659
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms kvm-arm64/nv-5.16
        git checkout d7aac8a775ce164381f19f27fb5d0b5e1dd14659
        # 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=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: Entry trampoline text too big
   aarch64-linux-ld: arch/arm64/kernel/cpufeature.o: in function `has_nested_virt_support':
>> cpufeature.c:(.text+0x36ec): undefined reference to `kvm_get_mode'

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



More information about the linux-arm-kernel mailing list