v2: https://lore.kernel.org/qemu-devel/20251015142141.3238-1-iii@linux.ibm.com/
v2 -> v3: Rearm the timer on control register load (Thomas).
Add Thomas' R-b to the test.
v1: https://lore.kernel.org/qemu-devel/20251014160743.398093-1-iii@linux.ibm.com/
v1 -> v2: Add Thomas' R-b.
Cc: stable (Michael).
Improve formatting, commit messages, and test (Ilya).
Hi,
While trying to (so far unsuccessfully) reproduce [1], I found two bugs
in the clock comparator handling. This series fixes both and adds a
test.
[1] https://lore.kernel.org/lkml/ab3131a2-c42a-47ff-bf03-e9f68ac053c0@t-8ch.de/
Best regards,
Ilya
Ilya Leoshkevich (3):
target/s390x: Fix missing interrupts for small CKC values
target/s390x: Fix missing clock-comparator interrupts after reset
tests/tcg/s390x: Test SET CLOCK COMPARATOR
target/s390x/tcg/mem_helper.c | 11 ++++-
target/s390x/tcg/misc_helper.c | 12 ++++--
tests/tcg/s390x/Makefile.softmmu-target | 1 +
tests/tcg/s390x/sckc.S | 55 +++++++++++++++++++++++++
4 files changed, 74 insertions(+), 5 deletions(-)
create mode 100644 tests/tcg/s390x/sckc.S
--
2.51.0