summaryrefslogtreecommitdiffstats
path: root/hw/s390x/css.c
diff options
context:
space:
mode:
authorRichard Henderson2021-06-15 05:07:44 +0200
committerCornelia Huck2021-06-21 08:48:21 +0200
commit10b81272b305da375c3c3e9ec86f2e35df702f2e (patch)
treefaaff5dbf49be98a60ec2c6732d5bfa175d7e5c3 /hw/s390x/css.c
parenttarget/s390x: Use s390_cpu_{set_psw, get_psw_mask} in gdbstub (diff)
downloadqemu-10b81272b305da375c3c3e9ec86f2e35df702f2e.tar.gz
qemu-10b81272b305da375c3c3e9ec86f2e35df702f2e.tar.xz
qemu-10b81272b305da375c3c3e9ec86f2e35df702f2e.zip
linux-user/s390x: Save and restore psw.mask properly
At present, we're referencing env->psw.mask directly, which fails to ensure that env->cc_op is incorporated or updated. Use s390_cpu_{set_psw,get_psw_mask} to fix this. Mirror the kernel's cleaning of the psw.mask in save_sigregs and restore_sigregs. Ignore PSW_MASK_RI for now, as qemu does not support that. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: David Hildenbrand <david@redhat.com> Tested-by: jonathan.albrecht <jonathan.albrecht@linux.vnet.ibm.com> Tested-by: <ruixin.bao@ibm.com> Message-Id: <20210615030744.1252385-6-richard.henderson@linaro.org> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/css.c')
0 files changed, 0 insertions, 0 deletions