Re: [PATCH] arm64/ptrace: Flush FP state when setting ZT0

From: Catalin Marinas
Date: Thu Aug 03 2023 - 13:28:53 EST


On Thu, 03 Aug 2023 01:19:06 +0100, Mark Brown wrote:
> When setting ZT0 via ptrace we do not currently force a reload of the
> floating point register state from memory, do that to ensure that the newly
> set value gets loaded into the registers on next task execution.
>
> The function was templated off the function for FPSIMD which due to our
> providing the option of embedding a FPSIMD regset within the SVE regset
> does not directly include the flush.
>
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64/ptrace: Flush FP state when setting ZT0
https://git.kernel.org/arm64/c/89a65c3f170e

--
Catalin