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

Marc Zyngier maz at kernel.org
Fri Nov 22 11:08:23 PST 2024


On Fri, 22 Nov 2024 16:46:35 +0000,
James Clark <james.clark at linaro.org> 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 at linaro.org>

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 at kernel.org>

	M.

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



More information about the linux-arm-kernel mailing list