mbox series

[kvm-unit-tests,v2,0/3] s390x: add tests for SIGP call orders in enabled wait

Message ID 20220722072004.800792-1-nrb@linux.ibm.com (mailing list archive)
Headers show
Series s390x: add tests for SIGP call orders in enabled wait | expand

Message

Nico Boehr July 22, 2022, 7:20 a.m. UTC
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 | 190 +++++++++++++++++++++++++++++-----------------------
 1 file changed, 108 insertions(+), 82 deletions(-)