public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v1 0/4] s390x: add tests for SIGP call orders in enabled wait
@ 2022-07-13 11:36 Nico Boehr
  2022-07-13 11:36 ` [kvm-unit-tests PATCH v1 1/4] lib: s390x: add cleanup function for external interrupts Nico Boehr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nico Boehr @ 2022-07-13 11:36 UTC (permalink / raw)
  To: kvm, linux-s390; +Cc: frankja, imbrenda, thuth

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 (4):
  lib: s390x: add cleanup function for external interrupts
  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

 lib/s390x/asm/interrupt.h |   1 +
 lib/s390x/interrupt.c     |   9 ++
 s390x/smp.c               | 190 +++++++++++++++++++++-----------------
 3 files changed, 115 insertions(+), 85 deletions(-)

-- 
2.35.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-13 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-13 11:36 [kvm-unit-tests PATCH v1 0/4] s390x: add tests for SIGP call orders in enabled wait Nico Boehr
2022-07-13 11:36 ` [kvm-unit-tests PATCH v1 1/4] lib: s390x: add cleanup function for external interrupts Nico Boehr
2022-07-13 11:36 ` [kvm-unit-tests PATCH v1 2/4] s390x: smp: move sigp calls with invalid cpu address to array Nico Boehr
2022-07-13 11:36 ` [kvm-unit-tests PATCH v1 3/4] s390x: smp: use an array for sigp calls Nico Boehr
2022-07-13 11:36 ` [kvm-unit-tests PATCH v1 4/4] s390x: smp: add tests for calls in wait state Nico Boehr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox