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, M. 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(-) -- 2.30.2 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm