lkml.org 
[lkml]   [2023]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] arm64/ptrace: Ensure that SME is set up for target when writing SSVE state
Date
On Thu, 10 Aug 2023 12:28:19 +0100, Mark Brown wrote:
> When we use NT_ARM_SSVE to either enable streaming mode or change the
> vector length for a process we do not currently do anything to ensure that
> there is storage allocated for the SME specific register state. If the
> task had not previously used SME or we changed the vector length then
> the task will not have had TIF_SME set or backing storage for ZA/ZT
> allocated, resulting in inconsistent register sizes when saving state
> and spurious traps which flush the newly set register state.
>
> [...]

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

[1/1] arm64/ptrace: Ensure that SME is set up for target when writing SSVE state
https://git.kernel.org/arm64/c/5d0a8d2fba50

--
Catalin

\
 
 \ /
  Last update: 2023-08-17 20:56    [W:0.029 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site