tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.10 head: aadf7ad9db2f7d93ecfb34d0e4f328519460c94e commit: c02620fb25914382a898928524448d3cd3df1e89 [8052/9999] ANDROID: KVM: arm64: relay entropy requests from protected guests directly to secure config: arm64-randconfig-r014-20221115 compiler: aarch64-linux-gcc (GCC) 12.1.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://github.com/ammarfaizi2/linux-block/commit/c02620fb25914382a898928524448d3cd3df1e89 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.10 git checkout c02620fb25914382a898928524448d3cd3df1e89 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/arm64/kvm/arm.c: In function 'kvm_hyp_init_protection': >> arch/arm64/kvm/arm.c:1993:46: error: 'smccc_trng_available' undeclared (first use in this function) 1993 | kvm_nvhe_sym(smccc_trng_available) = smccc_trng_available; | ^~~~~~~~~~~~~~~~~~~~ arch/arm64/kvm/arm.c:1993:46: note: each undeclared identifier is reported only once for each function it appears in vim +/smccc_trng_available +1993 arch/arm64/kvm/arm.c 1979 1980 static int kvm_hyp_init_protection(u32 hyp_va_bits) 1981 { 1982 void *addr = phys_to_virt(hyp_mem_base); 1983 int ret; 1984 1985 kvm_nvhe_sym(id_aa64pfr0_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); 1986 kvm_nvhe_sym(id_aa64pfr1_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64PFR1_EL1); 1987 kvm_nvhe_sym(id_aa64isar0_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64ISAR0_EL1); 1988 kvm_nvhe_sym(id_aa64isar1_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64ISAR1_EL1); 1989 kvm_nvhe_sym(id_aa64mmfr0_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1); 1990 kvm_nvhe_sym(id_aa64mmfr1_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64MMFR1_EL1); 1991 kvm_nvhe_sym(id_aa64mmfr2_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64MMFR2_EL1); 1992 kvm_nvhe_sym(__icache_flags) = __icache_flags; > 1993 kvm_nvhe_sym(smccc_trng_available) = smccc_trng_available; 1994 1995 ret = create_hyp_mappings(addr, addr + hyp_mem_size, PAGE_HYP); 1996 if (ret) 1997 return ret; 1998 1999 ret = init_stage2_iommu(); 2000 if (ret < 0) 2001 return ret; 2002 2003 ret = do_pkvm_init(hyp_va_bits, (enum kvm_iommu_driver)ret); 2004 if (ret) 2005 return ret; 2006 2007 free_hyp_pgds(); 2008 2009 return 0; 2010 } 2011 -- 0-DAY CI Kernel Test Service https://01.org/lkp