On 2021-06-14 11:07 pm, Richard Henderson wrote:
The PSW_MASK_CC component of psw.mask was not handled properly in the creation or restoration of signal frames.
Thanks Richard! Peter and I tested this series against: * https://bugs.launchpad.net/qemu/+bug/1886793 * https://bugs.launchpad.net/qemu/+bug/1893040 and they look fixed now. Appreciate your time on this, Jon
r~ Richard Henderson (5): target/s390x: Expose load_psw and get_psw_mask to cpu.h target/s390x: Do not modify cpu state in s390_cpu_get_psw_mask target/s390x: Improve s390_cpu_dump_state vs cc_op target/s390x: Use s390_cpu_{set_psw,get_psw_mask} in gdbstub linux-user/s390x: Save and restore psw.mask properly target/s390x/cpu.h | 3 ++ target/s390x/internal.h | 5 -- linux-user/s390x/signal.c | 37 ++++++++++++-- target/s390x/cc_helper.c | 2 +- target/s390x/excp_helper.c | 28 +++++----- target/s390x/gdbstub.c | 15 +----- target/s390x/helper.c | 101 ++++++++++++++++++++----------------- target/s390x/sigp.c | 3 +- 8 files changed, 110 insertions(+), 84 deletions(-)