Re: [PATCH v6 14/19] perf: arm_pmuv3: Handle IRQs for Partitioned PMU guest counters
From: kernel test robot <hidden>
Date: 2026-02-10 04:51:40
Also in:
kvm, kvmarm, linux-doc, linux-kselftest, linux-perf-users, lkml, llvm, oe-kbuild-all
Hi Colton, kernel test robot noticed the following build warnings: [auto build test WARNING on 63804fed149a6750ffd28610c5c1c98cce6bd377] url: https://github.com/intel-lab-lkp/linux/commits/Colton-Lewis/arm64-cpufeature-Add-cpucap-for-HPMN0/20260210-064939 base: 63804fed149a6750ffd28610c5c1c98cce6bd377 patch link: https://lore.kernel.org/r/20260209221414.2169465-15-coltonlewis%40google.com patch subject: [PATCH v6 14/19] perf: arm_pmuv3: Handle IRQs for Partitioned PMU guest counters config: arm64-randconfig-001-20260210 (https://download.01.org/0day-ci/archive/20260210/202602101258.VRaEHc98-lkp@intel.com/config) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710) rustc: rustc 1.88.0 (6b00bc388 2025-06-23) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260210/202602101258.VRaEHc98-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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202602101258.VRaEHc98-lkp@intel.com/ (local) All warnings (new ones prefixed by >>): In file included from arch/arm64/kernel/asm-offsets.c:16: In file included from include/linux/kvm_host.h:45: In file included from arch/arm64/include/asm/kvm_host.h:38:
quoted
include/kvm/arm_pmu.h:310:52: warning: declaration of 'struct arm_pmu' will not be visible outside of this function [-Wvisibility]
310 | static inline void kvm_pmu_handle_guest_irq(struct arm_pmu *pmu, u64 pmovsr) {}
| ^
include/kvm/arm_pmu.h:281:12: warning: unused function 'kvm_vcpu_read_pmuserenr' [-Wunused-function]
281 | static u64 kvm_vcpu_read_pmuserenr(struct kvm_vcpu *vcpu)
| ^~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
--
In file included from arch/arm64/kernel/asm-offsets.c:16:
In file included from include/linux/kvm_host.h:45:
In file included from arch/arm64/include/asm/kvm_host.h:38:quoted
include/kvm/arm_pmu.h:310:52: warning: declaration of 'struct arm_pmu' will not be visible outside of this function [-Wvisibility]
310 | static inline void kvm_pmu_handle_guest_irq(struct arm_pmu *pmu, u64 pmovsr) {}
| ^
include/kvm/arm_pmu.h:281:12: warning: unused function 'kvm_vcpu_read_pmuserenr' [-Wunused-function]
281 | static u64 kvm_vcpu_read_pmuserenr(struct kvm_vcpu *vcpu)
| ^~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
warning: unused variable: `args`
--> rust/kernel/kunit.rs:19:12
|
19 | pub fn err(args: fmt::Arguments<'_>) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
|
= note: `#[warn(unused_variables)]` on by default
vim +310 include/kvm/arm_pmu.h
307
308 static inline void kvm_pmu_host_counters_enable(void) {}
309 static inline void kvm_pmu_host_counters_disable(void) {}
> 310 static inline void kvm_pmu_handle_guest_irq(struct arm_pmu *pmu, u64 pmovsr) {}
311
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki