tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ae5179317e794160e471db0e122c6ac811a97235 commit: b5bc00ffddc08c20a799514cbcfd2abaa6718014 [9605/11937] arm64/sve: Put system wide vector length information into structs config: arm64-randconfig-r033-20211027 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b5bc00ffddc08c20a799514cbcfd2abaa6718014 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout b5bc00ffddc08c20a799514cbcfd2abaa6718014 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> Note: the linux-next/master HEAD ae5179317e794160e471db0e122c6ac811a97235 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): >> arch/arm64/kvm/reset.c:49:20: error: implicit declaration of function 'sve_max_virtualisable_vl' [-Werror,-Wimplicit-function-declaration] kvm_sve_max_vl = sve_max_virtualisable_vl(); ^ arch/arm64/kvm/reset.c:105:40: error: implicit declaration of function 'sve_max_virtualisable_vl' [-Werror,-Wimplicit-function-declaration] if (WARN_ON(!sve_vl_valid(vl) || vl > sve_max_virtualisable_vl() || ^ 2 errors generated. vim +/sve_max_virtualisable_vl +49 arch/arm64/kvm/reset.c 45 46 int kvm_arm_init_sve(void) 47 { 48 if (system_supports_sve()) { > 49 kvm_sve_max_vl = sve_max_virtualisable_vl(); 50 51 /* 52 * The get_sve_reg()/set_sve_reg() ioctl interface will need 53 * to be extended with multiple register slice support in 54 * order to support vector lengths greater than 55 * SVE_VL_ARCH_MAX: 56 */ 57 if (WARN_ON(kvm_sve_max_vl > SVE_VL_ARCH_MAX)) 58 kvm_sve_max_vl = SVE_VL_ARCH_MAX; 59 60 /* 61 * Don't even try to make use of vector lengths that 62 * aren't available on all CPUs, for now: 63 */ 64 if (kvm_sve_max_vl < sve_max_vl()) 65 pr_warn("KVM: SVE vector length for guests limited to %u bytes\n", 66 kvm_sve_max_vl); 67 } 68 69 return 0; 70 } 71 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip