[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169229846427.1184154.14407026846596603141.b4-ty@arm.com>
Date: Thu, 17 Aug 2023 19:54:27 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Will Deacon <will@...nel.org>, Oleg Nesterov <oleg@...hat.com>,
Mark Brown <broonie@...nel.org>
Cc: David Spickett <David.Spickett@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] arm64/ptrace: Ensure that SME is set up for target when writing SSVE state
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
Powered by blists - more mailing lists