qemu/target/s390x
Ilya Leoshkevich a16eec9fb2 target/s390x: Fix LAALG not updating cc_src
LAALG uses op_laa() and wout_addu64(). The latter expects cc_src to be
set, but the former does not do it. This can lead to assertion failures
if something sets cc_src to neither 0 nor 1 before.

Fix by introducing op_laa_addu64(), which sets cc_src, and using it for
LAALG.

Fixes: 4dba4d6fef ("target/s390x: Use atomic operations for LOAD AND OP")
Cc: qemu-stable@nongnu.org
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20231106093605.1349201-4-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit bea402482a8c94389638cbd3d7fe3963fb317f4c)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-11-19 21:15:06 +03:00
..
kvm kvm: Introduce kvm_arch_get_default_type hook 2023-08-24 18:43:47 +03:00
tcg target/s390x: Fix LAALG not updating cc_src 2023-11-19 21:15:06 +03:00
arch_dump.c hw/s390x: Move KVM specific PV from hw/ to target/s390x/kvm/ 2023-07-10 15:34:23 +02:00
cpu-dump.c
cpu-param.h
cpu-qom.h
cpu-sysemu.c hw/s390x: Move KVM specific PV from hw/ to target/s390x/kvm/ 2023-07-10 15:34:23 +02:00
cpu.c
cpu.h target: Widen pc/cs_base in cpu_get_tb_cpu_state 2023-06-26 17:32:59 +02:00
cpu_features.c s390x: spelling fixes 2023-07-25 17:13:45 +03:00
cpu_features.h
cpu_features_def.h
cpu_features_def.h.inc
cpu_models.c s390x: spelling fixes 2023-07-25 17:13:45 +03:00
cpu_models.h
cpu_models_sysemu.c
cpu_models_user.c
diag.c hw/s390x: Move KVM specific PV from hw/ to target/s390x/kvm/ 2023-07-10 15:34:23 +02:00
gdbstub.c
gen-features.c
helper.c hw/s390x: Move KVM specific PV from hw/ to target/s390x/kvm/ 2023-07-10 15:34:23 +02:00
helper.h target/s390x: Fix LRA overwriting the top 32 bits on DAT error 2023-07-10 15:34:24 +02:00
interrupt.c
ioinst.c hw/s390x: Move KVM specific PV from hw/ to target/s390x/kvm/ 2023-07-10 15:34:23 +02:00
Kconfig
machine.c
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
mmu_helper.c target/s390x: Fix LRA when DAT is off 2023-07-10 15:34:24 +02:00
s390x-internal.h
sigp.c
trace-events
trace.h