[PATCH v2] KVM: arm64: pmu: Resync EL0 state on counter rotation
Marc Zyngier
maz at kernel.org
Tue Aug 22 05:39:55 PDT 2023
On Sun, 20 Aug 2023 10:01:08 +0100, Marc Zyngier wrote:
> Huang Shijie reports that, when profiling a guest from the host
> with a number of events that exceeds the number of available
> counters, the reported counts are wildly inaccurate. Without
> the counter oversubscription, the reported counts are correct.
>
> Their investigation indicates that upon counter rotation (which
> takes place on the back of a timer interrupt), we fail to
> re-apply the guest EL0 enabling, leading to the counting of host
> events instead of guest events.
>
> [...]
Applied to next, thanks!
[1/1] KVM: arm64: pmu: Resync EL0 state on counter rotation
commit: b1f778a223a2a8ad6262e5233cfc3483bcf6e213
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list