[kvm-unit-tests PATCH v1 0/2] better smp interrupt checks

Claudio Imbrenda
2022-06-03T15:40:47Z

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