]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64/boot: Factor out a macro to check SPE version
authorJames Clark <james.clark@linaro.org>
Mon, 1 Sep 2025 12:40:34 +0000 (13:40 +0100)
committerWill Deacon <will@kernel.org>
Thu, 18 Sep 2025 13:17:02 +0000 (14:17 +0100)
commit510a8fa49dc1d18b120e2d3992fa2aff7fc5c46b
treed58924abe457d9e6aa94ecde11339c1c3d355f8f
parentdad9603c5ea308a7b26af66ff4824dccd438af5d
arm64/boot: Factor out a macro to check SPE version

We check the version of SPE twice, and we'll add one more check in the
next commit so factor out a macro to do this. Change the #3 magic number
to the actual SPE version define (V1p2) to make it more readable.

No functional changes intended.

Tested-by: Leo Yan <leo.yan@arm.com>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/el2_setup.h