Mark Brown ea64baacbc 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>
2022-08-23 11:29:11 +01:00
..
2022-08-07 17:52:35 -07:00
2022-08-10 10:40:41 -07:00
2022-08-07 17:52:35 -07:00
2022-08-07 17:52:35 -07:00
2022-08-12 09:44:23 -07:00
2022-08-09 09:39:25 -07:00
2022-07-17 17:14:43 -07:00
2022-08-14 08:48:13 -07:00
2022-08-12 09:50:34 -07:00
2022-08-14 09:28:54 -07:00
2022-08-05 10:07:23 -07:00