* [android-common:android13-5.15-2025-09 1/1] arch/arm64/kvm/arm.c:2011:39: error: 'smccc_trng_available' undeclared; did you mean 'irq_matrix_available'?
@ 2026-04-07 3:51 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-07 3:51 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Will,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android13-5.15-2025-09
head: 26cff64a72af579da237b2efc799ab7b6145e411
commit: 888643ea37b504cb32afdd6430698d1e92a79a71 [1/1] ANDROID: KVM: arm64: relay entropy requests from protected guests directly to secure
config: arm64-randconfig-001-20260404 (https://download.01.org/0day-ci/archive/20260404/202604040748.oMbWdRUQ-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260404/202604040748.oMbWdRUQ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604040748.oMbWdRUQ-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kvm/arm.c: In function 'kvm_hyp_init_protection':
>> arch/arm64/kvm/arm.c:2011:39: error: 'smccc_trng_available' undeclared (first use in this function); did you mean 'irq_matrix_available'?
kvm_nvhe_sym(smccc_trng_available) = smccc_trng_available;
^~~~~~~~~~~~~~~~~~~~
irq_matrix_available
arch/arm64/kvm/arm.c:2011:39: note: each undeclared identifier is reported only once for each function it appears in
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for USB_PHY
Depends on [n]: USB_SUPPORT [=n]
Selected by [y]:
- GKI_HIDDEN_USB_CONFIGS [=y]
WARNING: unmet direct dependencies detected for PHYLINK
Depends on [n]: NETDEVICES [=n]
Selected by [y]:
- GKI_HIDDEN_ETHERNET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WIRELESS_EXT
Depends on [n]: NET [=y] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for WEXT_CORE
Depends on [n]: NET [=y] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y])
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for IOMMU_IO_PGTABLE_LPAE
Depends on [n]: IOMMU_SUPPORT [=n] && (ARM || ARM64 [=y] || COMPILE_TEST [=y] && !GENERIC_ATOMIC64 [=n])
Selected by [y]:
- GKI_HIDDEN_QCOM_CONFIGS [=y] && ARCH_QCOM [=y]
WARNING: unmet direct dependencies detected for HVC_DRIVER
Depends on [n]: TTY [=n]
Selected by [y]:
- GKI_HIDDEN_VIRTUAL_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PROC
Depends on [n]: NET [=y] && WIRELESS [=n] && PROC_FS [=n] && WEXT_CORE [=y]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for WEXT_PRIV
Depends on [n]: NET [=y] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for WEXT_SPY
Depends on [n]: NET [=y] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
vim +2011 arch/arm64/kvm/arm.c
1997
1998 static int kvm_hyp_init_protection(u32 hyp_va_bits)
1999 {
2000 void *addr = phys_to_virt(hyp_mem_base);
2001 int ret;
2002
2003 kvm_nvhe_sym(id_aa64pfr0_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1);
2004 kvm_nvhe_sym(id_aa64pfr1_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64PFR1_EL1);
2005 kvm_nvhe_sym(id_aa64isar0_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64ISAR0_EL1);
2006 kvm_nvhe_sym(id_aa64isar1_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64ISAR1_EL1);
2007 kvm_nvhe_sym(id_aa64mmfr0_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1);
2008 kvm_nvhe_sym(id_aa64mmfr1_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64MMFR1_EL1);
2009 kvm_nvhe_sym(id_aa64mmfr2_el1_sys_val) = read_sanitised_ftr_reg(SYS_ID_AA64MMFR2_EL1);
2010 kvm_nvhe_sym(__icache_flags) = __icache_flags;
> 2011 kvm_nvhe_sym(smccc_trng_available) = smccc_trng_available;
2012
2013 ret = create_hyp_mappings(addr, addr + hyp_mem_size, PAGE_HYP);
2014 if (ret)
2015 return ret;
2016
2017 ret = init_stage2_iommu();
2018 if (ret < 0)
2019 return ret;
2020
2021 ret = do_pkvm_init(hyp_va_bits, (enum kvm_iommu_driver)ret);
2022 if (ret)
2023 return ret;
2024
2025 free_hyp_pgds();
2026
2027 return 0;
2028 }
2029
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-07 3:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07 3:51 [android-common:android13-5.15-2025-09 1/1] arch/arm64/kvm/arm.c:2011:39: error: 'smccc_trng_available' undeclared; did you mean 'irq_matrix_available'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.