From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [ammarfaizi2-block:google/android/kernel/common/android13-5.15 2757/2766] arch/arm64/kvm/arm.c:2011:46: error: 'smccc_trng_available' undeclared
Date: Tue, 18 Jan 2022 10:02:00 +0800 [thread overview]
Message-ID: <202201181042.DbgIXpRm-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3327 bytes --]
tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.15
head: 9c25e5d6f58362a8ff78327664a2e3c2a538009f
commit: 888643ea37b504cb32afdd6430698d1e92a79a71 [2757/2766] ANDROID: KVM: arm64: relay entropy requests from protected guests directly to secure
config: arm64-buildonly-randconfig-r006-20220116 (https://download.01.org/0day-ci/archive/20220118/202201181042.DbgIXpRm-lkp(a)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://github.com/ammarfaizi2/linux-block/commit/888643ea37b504cb32afdd6430698d1e92a79a71
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.15
git checkout 888643ea37b504cb32afdd6430698d1e92a79a71
# 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@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:46: error: 'smccc_trng_available' undeclared (first use in this function)
2011 | kvm_nvhe_sym(smccc_trng_available) = smccc_trng_available;
| ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/arm.c:2011:46: note: each undeclared identifier is reported only once for each function it appears in
vim +/smccc_trng_available +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, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Will Deacon <will@kernel.org>
Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List <gwml@gnuweeb.org>,
linux-kernel@vger.kernel.org, Ard Biesheuvel <ardb@google.com>
Subject: [ammarfaizi2-block:google/android/kernel/common/android13-5.15 2757/2766] arch/arm64/kvm/arm.c:2011:46: error: 'smccc_trng_available' undeclared
Date: Tue, 18 Jan 2022 10:02:00 +0800 [thread overview]
Message-ID: <202201181042.DbgIXpRm-lkp@intel.com> (raw)
tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.15
head: 9c25e5d6f58362a8ff78327664a2e3c2a538009f
commit: 888643ea37b504cb32afdd6430698d1e92a79a71 [2757/2766] ANDROID: KVM: arm64: relay entropy requests from protected guests directly to secure
config: arm64-buildonly-randconfig-r006-20220116 (https://download.01.org/0day-ci/archive/20220118/202201181042.DbgIXpRm-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://github.com/ammarfaizi2/linux-block/commit/888643ea37b504cb32afdd6430698d1e92a79a71
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.15
git checkout 888643ea37b504cb32afdd6430698d1e92a79a71
# 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@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:46: error: 'smccc_trng_available' undeclared (first use in this function)
2011 | kvm_nvhe_sym(smccc_trng_available) = smccc_trng_available;
| ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/arm.c:2011:46: note: each undeclared identifier is reported only once for each function it appears in
vim +/smccc_trng_available +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, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next reply other threads:[~2022-01-18 2:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-18 2:02 kernel test robot [this message]
2022-01-18 2:02 ` [ammarfaizi2-block:google/android/kernel/common/android13-5.15 2757/2766] arch/arm64/kvm/arm.c:2011:46: error: 'smccc_trng_available' undeclared kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201181042.DbgIXpRm-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.