Skip to content

Commit 1f7c978

Browse files
author
Marc Zyngier
committed
KVM: arm64: PMU: Allow PMUv3p5 to be exposed to the guest
Now that the infrastructure is in place, bump the PMU support up to PMUv3p5. Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 11af4c3 commit 1f7c978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kvm/pmu-emul.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,6 @@ u8 kvm_arm_pmu_get_pmuver_limit(void)
10571057
tmp = read_sanitised_ftr_reg(SYS_ID_AA64DFR0_EL1);
10581058
tmp = cpuid_feature_cap_perfmon_field(tmp,
10591059
ID_AA64DFR0_EL1_PMUVer_SHIFT,
1060-
ID_AA64DFR0_EL1_PMUVer_V3P4);
1060+
ID_AA64DFR0_EL1_PMUVer_V3P5);
10611061
return FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_EL1_PMUVer), tmp);
10621062
}

0 commit comments

Comments
 (0)