[PATCH 9/9] KVM: arm64: PMU: Allow PMUv3p5 to be exposed to the guest
Oliver Upton
oliver.upton at linux.dev
Wed Aug 10 00:16:51 PDT 2022
On Fri, Aug 05, 2022 at 02:58:13PM +0100, Marc Zyngier wrote:
> Now that the infrastructure is in place, bummp the PMU support up
typo: bump
> to PMUv3p5.
>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
> ---
> arch/arm64/kvm/pmu-emul.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/kvm/pmu-emul.c b/arch/arm64/kvm/pmu-emul.c
> index b33a2953cbf6..fbbe6a7e3837 100644
> --- a/arch/arm64/kvm/pmu-emul.c
> +++ b/arch/arm64/kvm/pmu-emul.c
> @@ -1031,6 +1031,6 @@ u8 kvm_arm_pmu_get_host_pmuver(void)
> tmp = read_sanitised_ftr_reg(SYS_ID_AA64DFR0_EL1);
> tmp = cpuid_feature_cap_perfmon_field(tmp,
> ID_AA64DFR0_PMUVER_SHIFT,
> - ID_AA64DFR0_PMUVER_8_4);
> + ID_AA64DFR0_PMUVER_8_5);
> return FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_PMUVER), tmp);
> }
> --
> 2.34.1
>
More information about the linux-arm-kernel
mailing list