On 30/06/2022 13.30, Nico Boehr wrote:
The CPU timer interrupt stays pending as long as the CPU timer value is negative. This can lead to interruption loops when the ext_new_psw mask has external interrupts enabled. QEMU is able to detect this situation and panic the guest, so add a test for it. Signed-off-by: Nico Boehr <nrb@xxxxxxxxxxxxx> --- s390x/Makefile | 1 + s390x/extint-loop.c | 64 +++++++++++++++++++++++++++++++++++++++++++++ s390x/unittests.cfg | 4 +++ 3 files changed, 69 insertions(+) create mode 100644 s390x/extint-loop.c
Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>