Linux s390 Architecture development
 help / color / mirror / Atom feed
From: Sven Schnelle <svens@linux.ibm.com>
To: Heiko Carstens <hca@linux.ibm.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Janosch Frank <frankja@linux.ibm.com>,
	Claudio Imbrenda <imbrenda@linux.ibm.com>,
	borntraeger@linux.ibm.com, linux-s390@vger.kernel.org
Subject: [PATCH 0/2] s390: Remove PIF_GUEST_FAULT and add PER trap flag
Date: Thu,  9 Jul 2026 21:54:58 +0200	[thread overview]
Message-ID: <20260709195500.1241833-1-svens@linux.ibm.com> (raw)

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

             reply	other threads:[~2026-07-09 19:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-09 19:54 Sven Schnelle [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260709195500.1241833-1-svens@linux.ibm.com \
    --to=svens@linux.ibm.com \
    --cc=agordeev@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=frankja@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=imbrenda@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox