From: Claudio Imbrenda <imbrenda@linux.ibm.com>
To: kvm@vger.kernel.org
Cc: linux-s390@vger.kernel.org, frankja@linux.ibm.com,
scgl@linux.ibm.com, pmorel@linux.ibm.com, nrb@linux.ibm.com,
thuth@redhat.com
Subject: [kvm-unit-tests PATCH v1 0/2] better smp interrupt checks
Date: Fri, 3 Jun 2022 17:40:35 +0200 [thread overview]
Message-ID: <20220603154037.103733-1-imbrenda@linux.ibm.com> (raw)
Use per-CPU flags and callbacks for Program, Extern, and I/O interrupts
instead of global variables.
This allows for more accurate error handling; a CPU waiting for an
interrupt will not have it "stolen" by a different CPU that was not
supposed to wait for one, and now two CPUs can wait for interrupts at
the same time.
Also fix skey.c to be compatible with the new interrupt handling.
Claudio Imbrenda (2):
s390x: skey.c: rework the interrupt handler
lib: s390x: better smp interrupt checks
lib/s390x/asm/arch_def.h | 7 ++++++-
lib/s390x/interrupt.c | 38 ++++++++++++++++----------------------
s390x/skey.c | 24 +++++++++---------------
3 files changed, 31 insertions(+), 38 deletions(-)
--
2.36.1
next reply other threads:[~2022-06-03 15:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-03 15:40 Claudio Imbrenda [this message]
2022-06-03 15:40 ` [kvm-unit-tests PATCH v1 1/2] s390x: skey.c: rework the interrupt handler Claudio Imbrenda
2022-06-07 13:29 ` Nico Boehr
2022-06-03 15:40 ` [kvm-unit-tests PATCH v1 2/2] lib: s390x: better smp interrupt checks Claudio Imbrenda
2022-06-07 10:01 ` Janis Schoetterl-Glausch
2022-06-07 11:08 ` Claudio Imbrenda
2022-06-07 14:23 ` Nico Boehr
2022-06-07 14:41 ` Claudio Imbrenda
2022-06-07 14:48 ` Nico Boehr
2022-06-07 16:43 ` Claudio Imbrenda
2022-06-10 9:43 ` Janosch Frank
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=20220603154037.103733-1-imbrenda@linux.ibm.com \
--to=imbrenda@linux.ibm.com \
--cc=frankja@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=nrb@linux.ibm.com \
--cc=pmorel@linux.ibm.com \
--cc=scgl@linux.ibm.com \
--cc=thuth@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox