mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/6] arm64/sme: Collected SME fixes
@ 2024-12-04 15:20 Mark Brown
  2024-12-04 15:20 ` [PATCH v2 1/6] arm64/sme: Flush foreign register state in do_sme_acc() Mark Brown
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Mark Brown @ 2024-12-04 15:20 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: Mark Rutland, Dave Martin, linux-arm-kernel, linux-kernel,
	Mark Brown, stable

This series collects the various SME related fixes that were previously
posted separately.  These should address all the issues I am aware of so
a patch which reenables the SME configuration option is also included.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
Changes in v2:
- Pull simplification of the signal restore code after the SME
  reenablement, it's not a fix but there's some code overlap.
- Comment updates.
- Link to v1: https://lore.kernel.org/r/20241203-arm64-sme-reenable-v1-0-d853479d1b77@kernel.org

---
Mark Brown (6):
      arm64/sme: Flush foreign register state in do_sme_acc()
      arm64/fp: Don't corrupt FPMR when streaming mode changes
      arm64/ptrace: Zero FPMR on streaming mode entry/exit
      arm64/signal: Avoid corruption of SME state when entering signal handler
      arm64/sme: Reenable SME
      arm64/signal: Consistently invalidate the in register FP state in restore

 arch/arm64/Kconfig              |  1 -
 arch/arm64/include/asm/fpsimd.h |  1 +
 arch/arm64/kernel/fpsimd.c      | 57 ++++++++++++++++++++++----
 arch/arm64/kernel/ptrace.c      | 12 +++++-
 arch/arm64/kernel/signal.c      | 89 +++++++++++------------------------------
 5 files changed, 84 insertions(+), 76 deletions(-)
---
base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37
change-id: 20241202-arm64-sme-reenable-98e64c161a8e

Best regards,
-- 
Mark Brown <broonie@kernel.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-01-09 17:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-04 15:20 [PATCH v2 0/6] arm64/sme: Collected SME fixes Mark Brown
2024-12-04 15:20 ` [PATCH v2 1/6] arm64/sme: Flush foreign register state in do_sme_acc() Mark Brown
2024-12-04 15:20 ` [PATCH v2 2/6] arm64/fp: Don't corrupt FPMR when streaming mode changes Mark Brown
2024-12-04 15:20 ` [PATCH v2 3/6] arm64/ptrace: Zero FPMR on streaming mode entry/exit Mark Brown
2024-12-04 15:20 ` [PATCH v2 4/6] arm64/signal: Avoid corruption of SME state when entering signal handler Mark Brown
2024-12-04 15:20 ` [PATCH v2 5/6] arm64/sme: Reenable SME Mark Brown
2024-12-10  9:35   ` Luis Machado
2024-12-04 15:20 ` [PATCH v2 6/6] arm64/signal: Consistently invalidate the in register FP state in restore Mark Brown
2025-01-08 12:49 ` [PATCH v2 0/6] arm64/sme: Collected SME fixes Will Deacon
2025-01-09 17:35   ` Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®