Re: [PATCH] arm64/fpsimd: Clear SME state in the target task when setting the VL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux