tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 5d0b95afdce7e316c8df2aac1a9d83f257e09297 commit: 1182be89002c268a781bd90b25f18da76cfea732 [1540/1540] pmu: enable pmu phys irq inject for cvm config: arm64-randconfig-002-20241128 (https://download.01.org/0day-ci/archive/20241128/202411281342.FMo3GAwH-lkp@i...) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241128/202411281342.FMo3GAwH-lkp@i...)
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/202411281342.FMo3GAwH-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kvm/arm.c: In function 'update_pmu_phys_irq':
arch/arm64/kvm/arm.c:1037:16: error: 'struct kvm_pmu' has no member named 'irq_level'
1037 | if (pmu->irq_level) { | ^~ arch/arm64/kvm/arm.c:1039:17: error: implicit declaration of function 'arm_pmu_set_phys_irq' [-Wimplicit-function-declaration] 1039 | arm_pmu_set_phys_irq(false); | ^~~~~~~~~~~~~~~~~~~~
vim +1037 arch/arm64/kvm/arm.c
1031 1032 #ifdef CONFIG_HISI_VIRTCCA_HOST 1033 static inline void update_pmu_phys_irq(struct kvm_vcpu *vcpu, bool *pmu_stopped) 1034 { 1035 struct kvm_pmu *pmu = &vcpu->arch.pmu; 1036
1037 if (pmu->irq_level) {
1038 *pmu_stopped = true; 1039 arm_pmu_set_phys_irq(false); 1040 } 1041 } 1042 #endif 1043