qemu/target/s390x/tcg
Ilya Leoshkevich 6da311a60d target/s390x: Fix LRA overwriting the top 32 bits on DAT error
When a DAT error occurs, LRA is supposed to write the error information
to the bottom 32 bits of R1, and leave the top 32 bits of R1 alone.

Fix by passing the original value of R1 into helper and copying the
top 32 bits to the return value.

Fixes: d8fe4a9c28 ("target-s390: Convert LRA")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: qemu-stable@nongnu.org
Message-Id: <20230704081506.276055-6-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2023-07-10 15:34:24 +02:00
..
cc_helper.c target/s390x/tcg: Fix and improve the SACF instruction 2022-12-03 22:04:40 +01:00
crypto_helper.c target/s390x: support PRNO_TRNG instruction 2022-09-26 17:23:11 +02:00
excp_helper.c target/s390x: Update do_unaligned_access() comment 2023-03-20 09:32:50 +01:00
fpu_helper.c target/s390x: Fix MDEB and MDEBR 2023-07-10 15:34:23 +02:00
insn-data.h.inc target/s390x: Fix MDEB and MDEBR 2023-07-10 15:34:23 +02:00
insn-format.h.inc target/s390x: Rename insn-data/format.def -> insn-data/format.h.inc 2022-11-05 20:35:45 +01:00
int_helper.c target/s390x: Use a single return for helper_divs64/u64 2023-02-04 06:19:42 -10:00
mem_helper.c target/s390x: Fix LRA overwriting the top 32 bits on DAT error 2023-07-10 15:34:24 +02:00
meson.build target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
misc_helper.c target/s390x/tcg/misc_helper: Remove unused "memory.h" include 2023-01-09 13:50:13 +01:00
s390-tod.h target/s390x: start moving TCG-only code to tcg/ 2021-07-07 14:01:56 +02:00
tcg_s390x.h compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
translate.c target/s390x: Fix LRA overwriting the top 32 bits on DAT error 2023-07-10 15:34:24 +02:00
translate_vx.c.inc target/s390x: Drop tcg_temp_free from translate_vx.c.inc 2023-03-13 06:42:05 -07:00
vec.h Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
vec_fpu_helper.c target/s390x: fix handling of zeroes in vfmin/vfmax 2022-07-19 12:49:56 +02:00
vec_helper.c target/s390x: Fix writeback to v1 in helper_vstl 2022-05-04 08:47:19 +02:00
vec_int_helper.c target/s390x: vxeh2: Update for changes to vector shifts 2022-05-04 08:47:19 +02:00
vec_string_helper.c target/s390x: vxeh2: vector string search 2022-05-04 08:47:19 +02:00