qemu/target/s390x
Alex Bennée ffa090bc56 target/s390x: fix s390_probe_access to check PAGE_WRITE_ORG for writeability
We can remove PAGE_WRITE when (internally) marking a page read-only
because it contains translated code. This can get confused when we are
executing signal return code on signal stacks.

Fixes: e56552cf07 ("target/s390x: Implement the MVPG condition-code-option bit")
Found-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-id: 20210422154427.13038-1-alex.bennee@linaro.org
Cc: Cornelia Huck <cohuck@redhat.com>
Cc: Thomas Huth <thuth@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-04-23 14:10:56 +01:00
..
arch_dump.c target/s390x/arch_dump: Fix warning for the name field in the PT_NOTE section 2021-03-04 11:23:35 +01:00
cc_helper.c
cpu-param.h
cpu-qom.h
cpu.c cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass 2021-02-05 10:24:15 -10:00
cpu.h s390x: move S390_ADAPTER_SUPPRESSIBLE 2021-03-26 09:33:50 +01:00
cpu_features.c
cpu_features.h
cpu_features_def.h
cpu_features_def.h.inc
cpu_models.c s390x/cpu_model: use official name for 8562 2021-03-15 11:01:23 +01:00
cpu_models.h
crypto_helper.c
diag.c
excp_helper.c target/s390x: Implement the MVPG condition-code-option bit 2021-03-15 11:03:20 +01:00
fpu_helper.c
gdbstub.c
gen-features.c
helper.c
helper.h target/s390x: Store r1/r2 for page-translation exceptions during MVPG 2021-03-15 11:03:20 +01:00
insn-data.def target/s390x: Store r1/r2 for page-translation exceptions during MVPG 2021-03-15 11:03:20 +01:00
insn-format.def
int_helper.c
internal.h
interrupt.c
ioinst.c css: SCHIB measurement block origin must be aligned 2021-03-04 11:23:35 +01:00
kvm-stub.c
kvm.c s390x/kvm: Get rid of legacy_s390_alloc() 2021-03-15 11:01:23 +01:00
kvm_s390x.h
machine.c
mem_helper.c target/s390x: fix s390_probe_access to check PAGE_WRITE_ORG for writeability 2021-04-23 14:10:56 +01:00
meson.build
misc_helper.c
mmu_helper.c
s390-tod.h
sigp.c
tcg-stub.c
tcg_s390x.h
trace-events
trace.h
translate.c target/s390x: Store r1/r2 for page-translation exceptions during MVPG 2021-03-15 11:03:20 +01:00
translate_vx.c.inc
vec.h
vec_fpu_helper.c
vec_helper.c
vec_int_helper.c
vec_string_helper.c