diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-06-14 20:07:44 -0700 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2021-06-21 08:48:21 +0200 |
commit | 10b81272b305da375c3c3e9ec86f2e35df702f2e (patch) | |
tree | faaff5dbf49be98a60ec2c6732d5bfa175d7e5c3 /accel | |
parent | deb60cc77b6743b65d1e830300b6d56ba538b103 (diff) |
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 'accel')
0 files changed, 0 insertions, 0 deletions