qemu-e2k/linux-user
Richard Henderson 10b81272b3 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>
2021-06-21 08:48:21 +02:00
..
aarch64 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
alpha linux-user/alpha: Define TARGET_ARCH_HAS_KA_RESTORER 2021-05-18 07:10:45 +02:00
arm softfloat: Introduce Floatx80RoundPrec 2021-06-03 14:04:02 -07:00
cris linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
generic linux-user: target: signal: Support TARGET_SS_AUTODISARM 2021-02-13 22:50:50 +01:00
hexagon linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
host linux-user/: fix some comment spelling errors 2020-09-17 20:39:22 +02:00
hppa linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
i386 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
m68k linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
microblaze linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
mips linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
mips64 linux-user/mips: Support the n32 ABI for the R5900 2021-02-15 12:10:03 +01:00
nios2 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
openrisc linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
ppc target/ppc: Replace POWERPC_EXCP_BRANCH with DISAS_NORETURN 2021-05-19 10:30:29 +10:00
riscv linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
s390x linux-user/s390x: Save and restore psw.mask properly 2021-06-21 08:48:21 +02:00
sh4 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
sparc linux-user/sparc: Implement sparc64 rt signals 2021-05-15 21:43:23 +02:00
x86_64 linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
xtensa linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
cpu_loop-common.h
elfload.c linux-user: elf: s390x: Prepare for Vector enhancements facility 2021-06-21 08:48:21 +02:00
errno_defs.h
exit.c gdbstub: drop CPUEnv from gdb_exit() 2021-01-18 10:05:06 +00:00
fd-trans.c linux-user,netlink: add IFLA_BRPORT_MRP_RING_OPEN, IFLA_BRPORT_MRP_IN_OPEN 2020-11-17 15:22:52 +01:00
fd-trans.h
flat.h linux-user/: fix some comment spelling errors 2020-09-17 20:39:22 +02:00
flatload.c exec: Use cpu_untagged_addr in g2h; split out g2h_untagged 2021-02-16 11:04:53 +00:00
ioctls.h linux-user: Conditionalize TUNSETVNETLE 2021-01-07 05:09:06 -10:00
linux_loop.h
linuxload.c
main.c tcg: Re-order tcg_region_init vs tcg_prologue_init 2021-06-11 09:26:28 -07:00
meson.build linux-user/sparc: Merge sparc64/ into sparc/ 2021-05-15 21:43:23 +02:00
mmap.c linux-user/aarch64: Implement PROT_MTE 2021-02-16 13:08:46 +00:00
qemu.h linux-user: Pass CPUArchState to do_sigaltstack 2021-05-15 21:43:23 +02:00
safe-syscall.S
semihost.c Do not include cpu.h if it's not really necessary 2021-05-02 17:24:51 +02:00
signal-common.h linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
signal.c linux-user: Pass ka_restorer to do_sigaction 2021-05-18 07:10:32 +02:00
socket.h
strace.c linux-user: Add strace support for printing arguments of llseek 2021-05-15 21:41:47 +02:00
strace.list linux-user: Add copy_file_range to strace.list 2021-05-18 07:09:58 +02:00
syscall_defs.h linux-user/alpha: Share code for TARGET_NR_sigaction 2021-05-18 07:10:46 +02:00
syscall_types.h linux-user: Add support for btrfs ioctls used to scrub a filesystem 2020-09-03 01:09:35 +02:00
syscall.c linux-user/syscall: Constify bitmask_transtbl fcntl/mmap flags_tlb[] 2021-06-05 21:13:29 +02:00
target_flat.h
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
uaccess.c linux-user: Use signed lengths in uaccess.c 2021-04-07 18:55:27 +02:00
uname.c
uname.h
vm86.c linux-user: Use `qemu_log' for non-strace logging 2020-02-19 11:17:40 +01:00