summaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2023-02-06 10:24:40 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2023-02-06 17:34:29 +0100
commit9442d05bba6c12749fdc4039eddcf801398ec82b (patch)
tree7248314c1a2a25a9c048b53829790b9af493156c /arch/arm64/Kconfig
parentkselftest/arm64: Remove redundant _start labels from zt-test (diff)
downloadlinux-9442d05bba6c12749fdc4039eddcf801398ec82b.tar.xz
linux-9442d05bba6c12749fdc4039eddcf801398ec82b.zip
arm64/sme: Fix __finalise_el2 SMEver check
When checking for ID_AA64SMFR0_EL1.SMEver, __check_override assumes that the ID_AA64SMFR0_EL1 value is in x1, and the intent of the code is to reuse value read a few lines above. However, as the comment says at the beginning of the macro, x1 will be clobbered, and the checks always fails. The easiest fix is just to reload the id register before checking it. Fixes: f122576f3533 ("arm64/sme: Enable host kernel to access ZT0") Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Mark Brown <broonie@kernel.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions