Re: [PATCH v4 06/16] KVM: arm64: PMU: Only narrow counters that are not 64bit wide

2022-11-16 Thread Reiji Watanabe
On Sun, Nov 13, 2022 at 8:38 AM Marc Zyngier wrote: > > The current PMU emulation sometimes narrows counters to 32bit > if the counter isn't the cycle counter. As this is going to > change with PMUv3p5 where the counters are all 64bit, fix > the couple of cases where this happens unconditionally.

[PATCH v4 06/16] KVM: arm64: PMU: Only narrow counters that are not 64bit wide

2022-11-13 Thread Marc Zyngier
The current PMU emulation sometimes narrows counters to 32bit if the counter isn't the cycle counter. As this is going to change with PMUv3p5 where the counters are all 64bit, fix the couple of cases where this happens unconditionally. Signed-off-by: Marc Zyngier --- arch/arm64/kvm/pmu-emul.c |