diff options
author | Marc Zyngier <maz@kernel.org> | 2022-11-13 19:38:30 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-19 15:56:39 +0300 |
commit | 1f7c978282855d6b2abd608064004c74902e791d (patch) | |
tree | e45f89afd55779aee1649bf2b0a1ea36b7e98c86 /arch/arm64/kvm/pmu-emul.c | |
parent | 11af4c37165e36a6090172ded5d06acdf15206da (diff) | |
download | linux-1f7c978282855d6b2abd608064004c74902e791d.tar.xz |
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 <maz@kernel.org>
Link: https://lore.kernel.org/r/20221113163832.3154370-15-maz@kernel.org
Diffstat (limited to 'arch/arm64/kvm/pmu-emul.c')
-rw-r--r-- | arch/arm64/kvm/pmu-emul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/pmu-emul.c b/arch/arm64/kvm/pmu-emul.c index 7e25ff73cbba..be881ae67133 100644 --- a/arch/arm64/kvm/pmu-emul.c +++ b/arch/arm64/kvm/pmu-emul.c @@ -1057,6 +1057,6 @@ u8 kvm_arm_pmu_get_pmuver_limit(void) tmp = read_sanitised_ftr_reg(SYS_ID_AA64DFR0_EL1); tmp = cpuid_feature_cap_perfmon_field(tmp, ID_AA64DFR0_EL1_PMUVer_SHIFT, - ID_AA64DFR0_EL1_PMUVer_V3P4); + ID_AA64DFR0_EL1_PMUVer_V3P5); return FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_EL1_PMUVer), tmp); } |