From: Nico Boehr <nrb@linux.ibm.com>
To: kvm@vger.kernel.org
Cc: frankja@linux.ibm.com, imbrenda@linux.ibm.com, thuth@redhat.com
Subject: [kvm-unit-tests PATCH v4 0/3] s390x: add tests for SIGP call orders in enabled wait
Date: Wed, 10 Aug 2022 09:46:13 +0200 [thread overview]
Message-ID: <20220810074616.1223561-1-nrb@linux.ibm.com> (raw)
v3->v4:
---
* uint32_t -> unsigned int for cr0_bit so it matches ctl_set/clear_bit
argument (thanks Claudio)
* fix double interrupt not detected because ctl0 bit was cleared in the
interrupt handler
v2->v3:
---
* added some comments (thanks Janosch)
* fix bit-mask confusion (thanks Janosch)
* remove ctl_clear_bit() in call_in_wait_received() since it's handled
in the interrupt cleanup already
v1->v2:
---
* rebase to latest master to align with Claudio's SMP changes, drop
patch which adds the ext int clean up since it is already in Claudio's
series
* make sure ctl0 register bit is cleared
When a CPU is in enabled wait, it can still receive SIGP calls from
other CPUs.
Since this requires some special handling in KVM, we should have tests
for it. This has already revealed a KVM bug with ecall under PV, which
is why this test currently fails there.
Some refactoring is done as part of this series to reduce code
duplication.
Nico Boehr (3):
s390x: smp: move sigp calls with invalid cpu address to array
s390x: smp: use an array for sigp calls
s390x: smp: add tests for calls in wait state
s390x/smp.c | 217 +++++++++++++++++++++++++++++++++-------------------
1 file changed, 137 insertions(+), 80 deletions(-)
--
2.36.1
next reply other threads:[~2022-08-10 7:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-10 7:46 Nico Boehr [this message]
2022-08-10 7:46 ` [kvm-unit-tests PATCH v4 1/3] s390x: smp: move sigp calls with invalid cpu address to array Nico Boehr
2022-08-16 12:12 ` Claudio Imbrenda
2022-08-10 7:46 ` [kvm-unit-tests PATCH v4 2/3] s390x: smp: use an array for sigp calls Nico Boehr
2022-08-16 15:09 ` Claudio Imbrenda
2022-08-10 7:46 ` [kvm-unit-tests PATCH v4 3/3] s390x: smp: add tests for calls in wait state Nico Boehr
2022-08-16 15:37 ` Claudio Imbrenda
2022-08-17 7:34 ` Janosch Frank
2022-08-17 14:50 ` Nico Boehr
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=20220810074616.1223561-1-nrb@linux.ibm.com \
--to=nrb@linux.ibm.com \
--cc=frankja@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).