linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64/signal: Fix handling of TPIDR2
@ 2023-06-21 21:00 Mark Brown
  2023-06-21 21:00 ` [PATCH 1/2] arm64/signal: Restore TPIDR2 register rather than memory state Mark Brown
  2023-06-21 21:00 ` [PATCH 2/2] kselftest/arm64: Add a test case for TPIDR2 restore Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Brown @ 2023-06-21 21:00 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Shuah Khan, Szabolcs Nagy
  Cc: linux-arm-kernel, linux-kselftest, Mark Brown, stable

The restoring of TPIDR2 signal context has been broken since it was
merged, fix this and add a test case covering it.  This is a result of
TPIDR2 context management following a different flow to any of the other
state that we provide and the fact that we don't expose TPIDR (which
follows the same pattern) to signals.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
Mark Brown (2):
      arm64/signal: Restore TPIDR2 register rather than memory state
      kselftest/arm64: Add a test case for TPIDR2 restore

 arch/arm64/kernel/signal.c                         |  2 +-
 tools/testing/selftests/arm64/signal/.gitignore    |  2 +-
 .../arm64/signal/testcases/tpidr2_restore.c        | 85 ++++++++++++++++++++++
 3 files changed, 87 insertions(+), 2 deletions(-)
---
base-commit: 858fd168a95c5b9669aac8db6c14a9aeab446375
change-id: 20230621-arm64-fix-tpidr2-signal-restore-713d93798f99

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-06-22 11:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-21 21:00 [PATCH 0/2] arm64/signal: Fix handling of TPIDR2 Mark Brown
2023-06-21 21:00 ` [PATCH 1/2] arm64/signal: Restore TPIDR2 register rather than memory state Mark Brown
2023-06-21 21:00 ` [PATCH 2/2] kselftest/arm64: Add a test case for TPIDR2 restore Mark Brown
2023-06-22 11:11   ` Mark Brown

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).