Thread (14 messages) 14 messages, 5 authors, 2021-07-15

Re: [PATCH 0/3] kvm-arm64: Fix PMU reset values (and more)

From: Alexandre Chartre <hidden>
Date: 2021-07-15 08:38:07
Also in: kvm, kvmarm


On 7/13/21 3:58 PM, Marc Zyngier wrote:
Hi all,

After some back and forth with Alexandre about patch #3 of this
series, it became apparent that some of the PMU code paths perform
some unnecessary masking, only to hide the fact that some of the PMU
register reset values are not architecturally compliant (RES0 bits get
set, among other things).

The first patch of this series addresses the reset value problem, the
second one rids us of the pointless masking, and Alexandre's patch
(which depends on the first two) is slapped on top, with a small
cosmetic change.
Thanks Marc.

You can add my Reviewed-by to patch 1 and 2:

Reviewed-by: Alexandre Chartre <redacted>

alex.
Alexandre Chartre (1):
   KVM: arm64: Disabling disabled PMU counters wastes a lot of time

Marc Zyngier (2):
   KVM: arm64: Narrow PMU sysreg reset values to architectural
     requirements
   KVM: arm64: Drop unnecessary masking of PMU registers

  arch/arm64/kvm/pmu-emul.c |  8 +++---
  arch/arm64/kvm/sys_regs.c | 52 ++++++++++++++++++++++++++++++++++-----
  2 files changed, 50 insertions(+), 10 deletions(-)
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help