Re: [PATCH v4 05/16] KVM: arm64: PMU: Narrow the overflow checking when required

2022-11-16 Thread Reiji Watanabe
On Sun, Nov 13, 2022 at 8:38 AM Marc Zyngier wrote: > > For 64bit counters that overflow on a 32bit boundary, make > sure we only check the bottom 32bit to generate a CHAIN event. > > Signed-off-by: Marc Zyngier > --- > arch/arm64/kvm/pmu-emul.c | 3 ++- > 1 file changed, 2 insertions(+), 1

[PATCH v4 05/16] KVM: arm64: PMU: Narrow the overflow checking when required

2022-11-13 Thread Marc Zyngier
For 64bit counters that overflow on a 32bit boundary, make sure we only check the bottom 32bit to generate a CHAIN event. Signed-off-by: Marc Zyngier --- arch/arm64/kvm/pmu-emul.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kvm/pmu-emul.c