From: Heiko Carstens <hca@linux.ibm.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: Sumanth Korikkar <sumanthk@linux.ibm.com>,
stable@vger.kernel.org, debian-s390@lists.debian.org,
debian-kernel@lists.debian.org, svens@linux.ibm.com,
gor@linux.ibm.com, Ulrich.Weigand@de.ibm.com,
dipak.zope1@ibm.com
Subject: Re: [PATCH 0/1] s390: fix endless loop in do_signal
Date: Wed, 15 Feb 2023 14:35:24 +0100 [thread overview]
Message-ID: <Y+zfnNPp6SZ4lXxe@osiris> (raw)
In-Reply-To: <Y+zcyBGnQ9BuLwFv@kroah.com>
On Wed, Feb 15, 2023 at 02:23:20PM +0100, Greg KH wrote:
> On Wed, Feb 15, 2023 at 01:04:12PM +0100, Sumanth Korikkar wrote:
> > Hi,
> >
> > This patch fixes the issue for s390 stable kernel starting 5.10.162.
> > The issue was specifically seen after stable version 5.10.162:
> > Following commits can trigger it:
> > 1. stable commit id - 788d0824269b ("io_uring: import 5.15-stable
> > io_uring") can trigger this problem.
> > 2. upstream commit id - 75309018a24d ("s390: add support for
> > TIF_NOTIFY_SIGNAL")
> >
> > Problem:
> > qemu and user processes could stall when TIF_NOTIFY_SIGNAL is set from
> > io_uring work.
> >
> > Affected users:
> > The issue was first raised by the debian team, where the s390
> > bullseye build systems are affected.
> >
> > Upstream commit Id:
> > * The attached patch has no upstream commit. However, the stable kernel
> > 5.10.162+ uses upstream commit id - 75309018a24d ("s390: add support for
> > TIF_NOTIFY_SIGNAL"), which would need this fix
> > * Starting from v5.12, there are s390 generic entry commits
> > 56e62a737028 ("s390: convert to generic entry") and its relevant fixes,
> > which are recommended and should address these problems.
>
> I'm sorry, but I do not understand. What exact commits should be added
> to the 5.10.y tree to resolve this?
Only the patch sent by Sumanth as reply to this cover letter should be
added to the 5.10.y tree.
The problem that is addressed here is that commit 75309018a24d ("s390: add
support for TIF_NOTIFY_SIGNAL") was backported to 5.10. This commit is
broken, but nobody noticed upstream, since shortly after s390 converted to
generic entry with commit 56e62a737028 ("s390: convert to generic entry"),
which implicitly fixed that.
I doesn't look sane to backport commit 56e62a737028 ("s390: convert to
generic entry"), since that is huge and came with a lot of bugs, where I'm
not sure if all bug fixes had Fixes tags.
So the one-liner provided by Sumanth seems to be the best way to address
this bug.
next prev parent reply other threads:[~2023-02-15 13:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-15 12:04 [PATCH 0/1] s390: fix endless loop in do_signal Sumanth Korikkar
2023-02-15 12:04 ` [PATCH 1/1] s390/signal: " Sumanth Korikkar
2023-02-15 13:22 ` Greg KH
2023-02-15 13:23 ` [PATCH 0/1] s390: " Greg KH
2023-02-15 13:35 ` Heiko Carstens [this message]
2023-02-15 13:49 ` Greg KH
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=Y+zfnNPp6SZ4lXxe@osiris \
--to=hca@linux.ibm.com \
--cc=Ulrich.Weigand@de.ibm.com \
--cc=debian-kernel@lists.debian.org \
--cc=debian-s390@lists.debian.org \
--cc=dipak.zope1@ibm.com \
--cc=gor@linux.ibm.com \
--cc=gregkh@linuxfoundation.org \
--cc=stable@vger.kernel.org \
--cc=sumanthk@linux.ibm.com \
--cc=svens@linux.ibm.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.