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

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

 





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 <alexandre.chartre@xxxxxxxxxx>

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(-)




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux