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

From: Oliver Upton
Date: Fri Nov 22 2024 - 17:07:22 EST


+cc Paolo

Ugh, sorry for the mess + thanks for the fix James.

Paolo -- would you be able to apply this patch directly to your tree?
This really should go in ASAP.

Otherwise, I'll grab it + send another pull.

On Fri, Nov 22, 2024 at 04:46:35PM +0000, James Clark 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>

Acked-by: Oliver Upton <oliver.upton@xxxxxxxxx>

--
Thanks,
Oliver