On Thu, 03 Aug 2023 00:46:39 +0100, Mark Brown wrote: > When setting SME vector lengths we clear TIF_SME to reenable SME traps, > doing a reallocation of the backing storage on next use. We do this using > clear_thread_flag() which operates on the current thread, meaning that when > setting the vector length via ptrace we may both not force traps for the > target task and force a spurious flush of any SME state that the tracing > task may have. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64/fpsimd: Clear SME state in the target task when setting the VL https://git.kernel.org/arm64/c/c9bb40b7f786 -- Catalin