Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH 0/2] s390: Remove PIF_GUEST_FAULT and add PER trap flag
@ 2026-07-09 19:54 Sven Schnelle
  2026-07-09 19:54 ` [PATCH 1/2] s390/traps: Remove PIF_GUEST_FAULT Sven Schnelle
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sven Schnelle @ 2026-07-09 19:54 UTC (permalink / raw)
  To: Heiko Carstens, Vasily Gorbik, Alexander Gordeev
  Cc: Janosch Frank, Claudio Imbrenda, borntraeger, linux-s390

While looking at the syscall code I noticed that entry.S still sets
PIF_GUEST_FAULT in ptregs even though it's only used in __do_pgm_check().
Remove that and pass it directly to __do_pgm_check(). Heiko suggested
to also add a define for the per trap flag in system_call().

Sven Schnelle (2):
  s390/traps: Remove PIF_GUEST_FAULT
  s390/syscalls: Use define instead of '1' to indicate PER trap

 arch/s390/include/asm/ptrace.h |  4 +---
 arch/s390/kernel/entry.S       |  9 +++++----
 arch/s390/kernel/entry.h       | 10 ++++++++--
 arch/s390/kernel/syscall.c     |  4 ++--
 arch/s390/kernel/traps.c       |  4 ++--
 5 files changed, 18 insertions(+), 13 deletions(-)

--
2.53.0

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

end of thread, other threads:[~2026-07-10  8:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09 19:54 [PATCH 0/2] s390: Remove PIF_GUEST_FAULT and add PER trap flag Sven Schnelle
2026-07-09 19:54 ` [PATCH 1/2] s390/traps: Remove PIF_GUEST_FAULT Sven Schnelle
2026-07-09 19:55 ` [PATCH 2/2] s390/syscalls: Use define instead of '1' to indicate PER trap Sven Schnelle
2026-07-10  7:43 ` [PATCH 0/2] s390: Remove PIF_GUEST_FAULT and add PER trap flag Heiko Carstens
2026-07-10  8:40 ` Vasily Gorbik

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