xemu/target
David Hildenbrand c36709e45d s390x/mmu: ASC selection in s390_cpu_get_phys_page_debug()
Let's select the ASC before calling the function. This is a prepararion
to remove the ASC magic depending on the access mode from mmu_translate.

There is currently no way to distinguish if we have code or data access.
For now, we were using code access, because especially when debugging with
the gdbstub, we want to read and disassemble what we single-step.

Note: KVM guest can now no longer be crashed using qmp/hmp/gdbstub if they
happen to be in AR mode.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190816084708.602-3-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2019-08-22 14:53:49 +02:00
..
alpha Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
arm Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
cris Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
hppa Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
i386 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
lm32 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
m68k hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
microblaze Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
mips Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
moxie hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
nios2 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
openrisc hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
ppc Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
riscv Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
s390x s390x/mmu: ASC selection in s390_cpu_get_phys_page_debug() 2019-08-22 14:53:49 +02:00
sh4 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
sparc Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
tilegx hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
tricore hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
unicore32 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
xtensa Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00