You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/target/s390x/tcg
Thomas Huth 21be74a9a5 target/s390x/tcg: Fix and improve the SACF instruction
The SET ADDRESS SPACE CONTROL FAST instruction is not privileged, it can be
used from problem space, too. Just the switching to the home address space
is privileged and should still generate a privilege exception. This bug is
e.g. causing programs like Java that use the "getcpu" vdso kernel function
to crash (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990417#26 ).

While we're at it, also check if DAT is not enabled. In that case the
instruction is supposed to generate a special operation exception.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/655
Message-Id: <20221201184443.136355-1-thuth@redhat.com>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2 years ago
..
cc_helper.c target/s390x/tcg: Fix and improve the SACF instruction 2 years ago
crypto_helper.c target/s390x: support PRNO_TRNG instruction 2 years ago
excp_helper.c s390x: Fix spelling errors 2 years ago
fpu_helper.c s390x: Fix spelling errors 2 years ago
insn-data.h.inc target/s390x/tcg: Fix and improve the SACF instruction 2 years ago
insn-format.h.inc target/s390x: Rename insn-data/format.def -> insn-data/format.h.inc 2 years ago
int_helper.c
mem_helper.c accel/tcg: Suppress auto-invalidate in probe_access_internal 2 years ago
meson.build
misc_helper.c s390x: Fix spelling errors 2 years ago
s390-tod.h
tcg_s390x.h compiler.h: replace QEMU_NORETURN with G_NORETURN 3 years ago
translate.c s390x: Fix spelling errors 2 years ago
translate_vx.c.inc s390x: Fix spelling errors 2 years ago
vec.h Replace config-time define HOST_WORDS_BIGENDIAN 3 years ago
vec_fpu_helper.c target/s390x: fix handling of zeroes in vfmin/vfmax 2 years ago
vec_helper.c target/s390x: Fix writeback to v1 in helper_vstl 3 years ago
vec_int_helper.c target/s390x: vxeh2: Update for changes to vector shifts 3 years ago
vec_string_helper.c target/s390x: vxeh2: vector string search 3 years ago