[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202512161450.H8u3Nf3Z-lkp@intel.com>
Date: Tue, 16 Dec 2025 14:29:36 +0800
From: kernel test robot <lkp@...el.com>
To: Kalesh Singh <kaleshsingh@...gle.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Marc Zyngier <maz@...nel.org>
Subject: arch/arm64/kvm/arm.c:64:1: sparse: sparse: symbol
'__pcpu_scope_kvm_arm_hyp_stack_base' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
commit: 38f9e4b905a00047a96fbdc6cefe9ceb4dae34c3 arm64: kvm: Introduce nvhe stack size constants
date: 11 months ago
config: arm64-randconfig-r112-20251216 (https://download.01.org/0day-ci/archive/20251216/202512161450.H8u3Nf3Z-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251216/202512161450.H8u3Nf3Z-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512161450.H8u3Nf3Z-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/arm64/kvm/arm.c:64:1: sparse: sparse: symbol '__pcpu_scope_kvm_arm_hyp_stack_base' was not declared. Should it be static?
arch/arm64/kvm/arm.c:241:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
arch/arm64/kvm/arm.c:241:16: sparse: struct kvm_mpidr_data [noderef] __rcu *
arch/arm64/kvm/arm.c:241:16: sparse: struct kvm_mpidr_data *
arch/arm64/kvm/arm.c:244:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
arch/arm64/kvm/arm.c:244:17: sparse: struct kvm_mpidr_data [noderef] __rcu *
arch/arm64/kvm/arm.c:244:17: sparse: struct kvm_mpidr_data *
arch/arm64/kvm/arm.c:743:13: sparse: sparse: incompatible types in comparison expression (different address spaces):
arch/arm64/kvm/arm.c:743:13: sparse: struct kvm_mpidr_data [noderef] __rcu *
arch/arm64/kvm/arm.c:743:13: sparse: struct kvm_mpidr_data *
arch/arm64/kvm/arm.c:781:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
arch/arm64/kvm/arm.c:781:9: sparse: struct kvm_mpidr_data [noderef] __rcu *
arch/arm64/kvm/arm.c:781:9: sparse: struct kvm_mpidr_data *
arch/arm64/kvm/arm.c:2681:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
arch/arm64/kvm/arm.c:2681:16: sparse: struct kvm_mpidr_data [noderef] __rcu *
arch/arm64/kvm/arm.c:2681:16: sparse: struct kvm_mpidr_data *
vim +/__pcpu_scope_kvm_arm_hyp_stack_base +64 arch/arm64/kvm/arm.c
63
> 64 DEFINE_PER_CPU(unsigned long, kvm_arm_hyp_stack_base);
65 DECLARE_KVM_NVHE_PER_CPU(struct kvm_nvhe_init_params, kvm_init_params);
66
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists