summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Murray <andrew.murray@arm.com>2019-04-29 21:13:05 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2019-04-30 11:11:49 +0200
commit21137301de5a5bd8be7b0de7896c3f139b7eb859 (patch)
tree37667a28e37a410b6256834482b5ccda8b4ed365 /Makefile
parentarm64: docs: Document perf event attributes (diff)
downloadlinux-21137301de5a5bd8be7b0de7896c3f139b7eb859.tar.xz
linux-21137301de5a5bd8be7b0de7896c3f139b7eb859.zip
arm64: KVM: Fix perf cycle counter support for VHE
The kvm_vcpu_pmu_{read,write}_evtype_direct functions do not handle the cycle counter use-case, this leads to inaccurate counts and a WARN message when using perf with the cycle counter (-e cycle). Let's fix this by adding a use case for pmccfiltr_el0. Fixes: 39e3406a090a ("arm64: KVM: Avoid isb's by using direct pmxevtyper sysreg") Reported-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Andrew Murray <andrew.murray@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions