Re: [PATCH] arm64: KVM: fix perf cycle counter support for VHE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 30, 2019 at 10:14:58AM +0100, Marc Zyngier wrote:
> [+ Christoffer, James, Julien]
> 
> Hi Andrew,
> 
> On 29/04/2019 20:13, Andrew Murray wrote:
> > 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.
> > 
> > Reported-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
> > Signed-off-by: Andrew Murray <andrew.murray@xxxxxxx>
> 
> Queued, with
> Fixes: 39e3406a090a ("arm64: KVM: Avoid isb's by using direct pmxevtyper
> sysreg")
> 
> In the future, please cc all the KVM/arm maintainers/reviewers so that
> we do not risk overseeing an important patch.

OK I will do.

Thanks,

Andrew Murray

> 
> Thanks,
> 
> 	M.
> -- 
> Jazz is not dead. It just smells funny...
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux