From: kernel test robot <lkp@intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 11762/12208] drivers/perf/arm_pmuv3.c:776: undefined reference to `kvm_vcpu_pmu_resync_el0'
Date: Thu, 24 Aug 2023 08:11:30 +0800 [thread overview]
Message-ID: <202308240834.9JkuU1vW-lkp@intel.com> (raw)
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
next reply other threads:[~2023-08-24 0:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 0:11 kernel test robot [this message]
2023-08-24 8:14 ` Marc Zyngier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202308240834.9JkuU1vW-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-mm@kvack.org \
--cc=maz@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox