linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64/sme: Fix handling of traps on resume
@ 2024-01-30  0:02 Mark Brown
  2024-01-30  0:02 ` [PATCH 1/2] arm64/sme: Restore SMCR on exit from suspend Mark Brown
  2024-01-30  0:02 ` [PATCH 2/2] arm64/sme: Restore SMCR_EL1.EZT0 " Mark Brown
  0 siblings, 2 replies; 9+ messages in thread
From: Mark Brown @ 2024-01-30  0:02 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: Dave Martin, Jackson Cooper-Driver, linux-arm-kernel,
	linux-kernel, Mark Brown

The fast model was recently changed to reset system registers to 0 on
resume, exposing the fact that for SME we do not restore the
configuration of traps for extensions that add state.  Fix this.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
Mark Brown (2):
      arm64/sme: Restore SMCR on exit from suspend
      arm64/sme: Restore SMCR_EL1.EZT0 on exit from suspend

 arch/arm64/include/asm/fpsimd.h |  2 ++
 arch/arm64/kernel/fpsimd.c      | 15 +++++++++++++++
 arch/arm64/kernel/suspend.c     |  3 +++
 3 files changed, 20 insertions(+)
---
base-commit: 41bccc98fb7931d63d03f326a746ac4d429c1dd3
change-id: 20240129-arm64-sme-resume-3266150292b6

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


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

end of thread, other threads:[~2024-01-30 15:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-30  0:02 [PATCH 0/2] arm64/sme: Fix handling of traps on resume Mark Brown
2024-01-30  0:02 ` [PATCH 1/2] arm64/sme: Restore SMCR on exit from suspend Mark Brown
2024-01-30 10:53   ` Dave Martin
2024-01-30 12:25     ` Mark Brown
2024-01-30 12:42     ` Mark Brown
2024-01-30  0:02 ` [PATCH 2/2] arm64/sme: Restore SMCR_EL1.EZT0 " Mark Brown
2024-01-30 10:54   ` Dave Martin
2024-01-30 14:34     ` Mark Brown
2024-01-30 15:10       ` Dave Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).