* [linux-next:master 11762/12208] drivers/perf/arm_pmuv3.c:776: undefined reference to `kvm_vcpu_pmu_resync_el0'
@ 2023-08-24 0:11 kernel test robot
2023-08-24 8:14 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-08-24 0:11 UTC (permalink / raw)
To: Marc Zyngier; +Cc: oe-kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e3f80d3eae76c3557b3c9b5938ad01c0e6cf25ec
commit: b1f778a223a2a8ad6262e5233cfc3483bcf6e213 [11762/12208] KVM: arm64: pmu: Resync EL0 state on counter rotation
config: arm64-randconfig-r011-20230823 (https://download.01.org/0day-ci/archive/20230824/202308240834.9JkuU1vW-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230824/202308240834.9JkuU1vW-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308240834.9JkuU1vW-lkp@intel.com/
All errors (new ones prefixed by >>):
aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/perf/arm_pmuv3.o: in function `armv8pmu_start':
>> drivers/perf/arm_pmuv3.c:776: undefined reference to `kvm_vcpu_pmu_resync_el0'
vim +776 drivers/perf/arm_pmuv3.c
758
759 static void armv8pmu_start(struct arm_pmu *cpu_pmu)
760 {
761 struct perf_event_context *ctx;
762 int nr_user = 0;
763
764 ctx = perf_cpu_task_ctx();
765 if (ctx)
766 nr_user = ctx->nr_user;
767
768 if (sysctl_perf_user_access && nr_user)
769 armv8pmu_enable_user_access(cpu_pmu);
770 else
771 armv8pmu_disable_user_access();
772
773 /* Enable all counters */
774 armv8pmu_pmcr_write(armv8pmu_pmcr_read() | ARMV8_PMU_PMCR_E);
775
> 776 kvm_vcpu_pmu_resync_el0();
777 }
778
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master 11762/12208] drivers/perf/arm_pmuv3.c:776: undefined reference to `kvm_vcpu_pmu_resync_el0'
2023-08-24 0:11 [linux-next:master 11762/12208] drivers/perf/arm_pmuv3.c:776: undefined reference to `kvm_vcpu_pmu_resync_el0' kernel test robot
@ 2023-08-24 8:14 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2023-08-24 8:14 UTC (permalink / raw)
To: kernel test robot; +Cc: oe-kbuild-all, Linux Memory Management List
On 2023-08-24 01:11, kernel test robot wrote:
> tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> master
> head: e3f80d3eae76c3557b3c9b5938ad01c0e6cf25ec
> commit: b1f778a223a2a8ad6262e5233cfc3483bcf6e213 [11762/12208] KVM:
> arm64: pmu: Resync EL0 state on counter rotation
> config: arm64-randconfig-r011-20230823
> (https://download.01.org/0day-ci/archive/20230824/202308240834.9JkuU1vW-lkp@intel.com/config)
> compiler: aarch64-linux-gcc (GCC) 12.3.0
> reproduce:
> (https://download.01.org/0day-ci/archive/20230824/202308240834.9JkuU1vW-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@intel.com>
> | Closes:
> https://lore.kernel.org/oe-kbuild-all/202308240834.9JkuU1vW-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> aarch64-linux-ld: Unexpected GOT/PLT entries detected!
> aarch64-linux-ld: Unexpected run-time procedure linkages detected!
> aarch64-linux-ld: drivers/perf/arm_pmuv3.o: in function
> `armv8pmu_start':
>>> drivers/perf/arm_pmuv3.c:776: undefined reference to
>>> `kvm_vcpu_pmu_resync_el0'
This should be fixed in today's -next, which contains 9b80b9676be9
("KVM: arm64: pmu: Guard PMU emulation definitions with CONFIG_KVM").
M.
--
Jazz is not dead. It just smells funny...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-24 8:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-24 0:11 [linux-next:master 11762/12208] drivers/perf/arm_pmuv3.c:776: undefined reference to `kvm_vcpu_pmu_resync_el0' kernel test robot
2023-08-24 8:14 ` Marc Zyngier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox