mbox series

[0/3] arm64/ptrace: Fixes for more SME only streaming SVE cases

Message ID 20230803-arm64-fix-ptrace-ssve-no-sve-v1-0-49df214bfb3e@kernel.org (mailing list archive)
Headers show
Series arm64/ptrace: Fixes for more SME only streaming SVE cases | expand

Message

Mark Brown Aug. 3, 2023, 6:33 p.m. UTC
When we added support for streaming mode SVE there were several missed
cases around ptrace, address them.  Some could be seen on systems which
do physically have SVE, others would only impact SME only systems.  The
Fixes: tag is a bit conservative for the SME only cases but it seems
like the safest and clearest choice.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
Mark Brown (3):
      arm64/ptrace: Don't enable SVE when setting streaming SVE
      arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
      arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE

 arch/arm64/kernel/fpsimd.c | 7 ++++---
 arch/arm64/kernel/ptrace.c | 8 +++++---
 2 files changed, 9 insertions(+), 6 deletions(-)
---
base-commit: 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4
change-id: 20230802-arm64-fix-ptrace-ssve-no-sve-915863197925

Best regards,

Comments

Catalin Marinas Aug. 4, 2023, 5:31 p.m. UTC | #1
On Thu, 03 Aug 2023 19:33:20 +0100, Mark Brown wrote:
> When we added support for streaming mode SVE there were several missed
> cases around ptrace, address them.  Some could be seen on systems which
> do physically have SVE, others would only impact SME only systems.  The
> Fixes: tag is a bit conservative for the SME only cases but it seems
> like the safest and clearest choice.
> 
> 
> [...]

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

[1/3] arm64/ptrace: Don't enable SVE when setting streaming SVE
      https://git.kernel.org/arm64/c/045aecdfcb2e
[2/3] arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
      https://git.kernel.org/arm64/c/507ea5dd92d2
[3/3] arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE
      https://git.kernel.org/arm64/c/69af56ae56a4