qemu/target
David Hildenbrand 390191c6f6 s390x/mmu_helper: move address validation into mmu_translate*()
Let's move address validation into mmu_translate() and
mmu_translate_real(). This allows for checking whether an absolute
address is valid before looking up the storage key. We can now get rid of
the ram_size check.

Interestingly, we're already handling LOAD REAL ADDRESS wrong, because
a) We're not supposed to touch storage keys
b) We're not supposed to convert to an absolute address

Let's use a fake, negative MMUAccessType to teach mmu_translate() to
fix that handling and to not perform address validation.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210903155514.44772-8-david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2021-09-06 16:24:05 +02:00
..
alpha
arm target-arm: Add support for Fujitsu A64FX 2021-09-01 11:08:18 +01:00
avr
cris
hexagon
hppa
i386 migration: Unify failure check for migrate_add_blocker() 2021-08-26 17:15:28 +02:00
m68k
microblaze
mips
nios2
openrisc
ppc target/ppc: fix vector registers access in gdbstub for little-endian 2021-08-27 12:43:13 +10:00
riscv target/riscv: Use {get,dest}_gpr for RVV 2021-09-01 11:59:12 +10:00
rx
s390x s390x/mmu_helper: move address validation into mmu_translate*() 2021-09-06 16:24:05 +02:00
sh4
sparc
tricore
xtensa
Kconfig
meson.build