[arm-platforms:kvm-arm64/pmu-bl 4/5] arch/arm64/kvm/pmu-emul.c:895:24: error: use of undeclared identifier 'kvm'

Marc Zyngier maz at kernel.org
Mon Jan 3 11:22:06 PST 2022


On 2022-01-03 18:39, kernel test robot wrote:
> tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
> kvm-arm64/pmu-bl
> head:   877a6850e9bc0d29fa60dbedf345300c0f3396e4
> commit: 0071239cd4ab9fc0b5cb9b911b36adee31598f3f [4/5] KVM: arm64: Add
> KVM_ARM_VCPU_PMU_V3_SET_PMU attribute
> config: arm64-randconfig-r013-20220103
> (https://download.01.org/0day-ci/archive/20220104/202201040228.xRreWFaE-lkp@intel.com/config)
> compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project
> 104a827ea6de0cbe0f5faef4407552ede31d165c)
> 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/maz/arm-platforms.git/commit/?id=0071239cd4ab9fc0b5cb9b911b36adee31598f3f
>         git remote add arm-platforms
> https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
>         git fetch --no-tags arm-platforms kvm-arm64/pmu-bl
>         git checkout 0071239cd4ab9fc0b5cb9b911b36adee31598f3f
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1
> O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp at intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>>> arch/arm64/kvm/pmu-emul.c:895:24: error: use of undeclared identifier 
>>> 'kvm'
>            if (irqchip_in_kernel(kvm)) {

Fixed branch pushed out, thanks for the heads up.

         M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list