summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/fpsimd.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-08-17 21:23:22 +0300
committerWill Deacon <will@kernel.org>2022-08-23 13:29:11 +0300
commitea64baacbc36a0d552aec0d87107182f40211131 (patch)
tree7542049c01e01e9a1774f5fff4b4a12fb2cf05a8 /arch/arm64/include/asm/fpsimd.h
parent7ddcaf78e93c9282b4d92184f511b4d5bee75355 (diff)
downloadlinux-ea64baacbc36a0d552aec0d87107182f40211131.tar.xz
arm64/signal: Flush FPSIMD register state when disabling streaming mode
When handling a signal delivered to a context with streaming mode enabled we will disable streaming mode for the signal handler, when doing so we should also flush the saved FPSIMD register state like exiting streaming mode in the hardware would do so that if that state is reloaded we get the same behaviour. Without this we will reload whatever the last FPSIMD state that was saved for the task was. Fixes: 40a8e87bb328 ("arm64/sme: Disable ZA and streaming mode when handling signals") Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20220817182324.638214-3-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/fpsimd.h')
0 files changed, 0 insertions, 0 deletions