qemu/target/s390x
David Hildenbrand be8b49de24 s390x/tcg: fix loading 31bit PSWs with the highest bit set
Let's also put the 31-bit hack in front of the REAL MMU, otherwise right
now we get errors when loading a PSW where the highest bit is set (e.g.
via s390-netboot.img). The highest bit is not masked away, therefore we
inject addressing exceptions into the guest.

The proper fix will later be to do all address wrapping before accessing
the MMU - so we won't get any "wrong" entries in there (which makes
flushing also easier). But that will require more work (wrapping in
load_psw, wrapping when incrementing the PC, wrapping every memory
access).

This fixes the tests/pxe-test test.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180301120826.6847-1-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2018-03-01 13:23:09 +01:00
..
arch_dump.c
cc_helper.c s390x/tcg: use s390_program_interrupt() in SACF 2017-12-14 17:56:54 +01:00
cpu_features_def.h s390x/cpumodel: model PTFF subfunctions for Multiple-epoch facility 2018-02-09 09:37:13 +01:00
cpu_features.c s390x/cpumodel: document S390FeatDef.bit not applicable 2018-02-26 12:55:26 +01:00
cpu_features.h
cpu_models.c Miscellaneous patches for 2018-02-07 2018-02-09 14:39:09 +00:00
cpu_models.h s390x: change the QEMU cpu model to a stripped down z12 2017-12-14 17:56:54 +01:00
cpu-qom.h
cpu.c s390x: remove s390_get_memslot_count 2018-02-26 12:55:26 +01:00
cpu.h s390x: remove s390_get_memslot_count 2018-02-26 12:55:26 +01:00
crypto_helper.c
diag.c
excp_helper.c s390x/tcg: fix loading 31bit PSWs with the highest bit set 2018-03-01 13:23:09 +01:00
fpu_helper.c target/*/cpu.h: remove softfloat.h 2018-02-21 10:20:24 +00:00
gdbstub.c
gen-features.c Miscellaneous patches for 2018-02-07 2018-02-09 14:39:09 +00:00
helper.c s390x/cpu: expose the guest crash information 2018-02-26 12:55:26 +01:00
helper.h s390x/tcg: wire up pci instructions 2018-02-09 09:37:13 +01:00
insn-data.def s390x/tcg: add various alignment checks 2018-02-26 12:55:26 +01:00
insn-format.def
int_helper.c
internal.h s390x/flic: optimize CPU wakeup for TCG 2018-02-09 09:37:13 +01:00
interrupt.c s390x/flic: cache the common flic class in a central function 2018-02-09 09:37:13 +01:00
ioinst.c s390x: handle exceptions during s390_cpu_virt_mem_rw() correctly (TCG) 2017-12-14 17:56:54 +01:00
kvm_s390x.h s390x: remove s390_get_memslot_count 2018-02-26 12:55:26 +01:00
kvm-stub.c s390x: remove s390_get_memslot_count 2018-02-26 12:55:26 +01:00
kvm.c s390x: remove s390_get_memslot_count 2018-02-26 12:55:26 +01:00
machine.c s390x/kvm: Handle bpb feature 2018-01-22 11:22:30 +01:00
Makefile.objs
mem_helper.c s390x/tcg: add various alignment checks 2018-02-26 12:55:26 +01:00
misc_helper.c s390x/tcg: wire up pci instructions 2018-02-09 09:37:13 +01:00
mmu_helper.c s390x/tcg: fix disabling/enabling DAT 2018-02-26 12:55:26 +01:00
sigp.c qmp: expose s390-specific CPU info 2018-02-26 12:55:26 +01:00
trace-events
translate.c s390x/tcg: add various alignment checks 2018-02-26 12:55:26 +01:00