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/[email protected]/ 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 hw/s390x/s390-virtio-ccw.c | 6 +-- target/s390x/cpu.c | 8 ++++ target/s390x/tcg/misc_helper.c | 12 ++++-- tests/tcg/s390x/Makefile.softmmu-target | 1 + tests/tcg/s390x/sckc.S | 53 +++++++++++++++++++++++++ 5 files changed, 73 insertions(+), 7 deletions(-) create mode 100644 tests/tcg/s390x/sckc.S -- 2.51.0
