Re: [PATCH] arm64: Fix usage of new shifted MDCR_EL2 values

From: Marc Zyngier
Date: Fri Nov 22 2024 - 14:08:33 EST


On Fri, 22 Nov 2024 16:46:35 +0000,
James Clark <james.clark@xxxxxxxxxx> wrote:
>
> Since the linked fixes commit, these masks are already shifted so remove
> the shifts. One issue that this fixes is SPE and TRBE not being
> available anymore:
>
> arm_spe_pmu arm,spe-v1: profiling buffer owned by higher exception level
>
> Fixes: 641630313e9c ("arm64: sysreg: Migrate MDCR_EL2 definition to table")
> Signed-off-by: James Clark <james.clark@xxxxxxxxxx>

Huh, well spotted. This is doubleplusungood. Thankfully, the KVM/arm64
tree hasn't reached Linus yet, but this needs quick fixing.

Acked-by: Marc Zyngier <maz@xxxxxxxxxx>

M.

--
Without deviation from the norm, progress is not possible.