qemu/target
Peter Maydell 4f02a06d50 target/mips: Switch to do_transaction_failed() hook
Switch the MIPS target from the old unassigned_access hook to the new
do_transaction_failed hook.

Unlike the old hook, do_transaction_failed is only ever called from
the TCG memory access paths, so there is no need for the "ignore this
if we're using KVM" hack that we were previously using to work around
the way unassigned_access was called for all kinds of memory accesses
to unassigned physical addresses.

The MIPS target does not ever do direct memory reads by physical
address (via either ldl_phys etc or address_space_ldl etc), so the
only memory accesses this affects are the 'normal' guest loads and
stores, which will be handled by the new hook; their behaviour is
unchanged.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Hervé Poussineau <hpoussin@reactos.org>
Message-Id: <20190802160458.25681-3-peter.maydell@linaro.org>
2019-09-12 18:25:34 +02:00
..
alpha tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
arm target/arm: Inline gen_bx_im into callers 2019-09-05 13:23:04 +01:00
cris Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
hppa hppa/tcg: Call probe_write() also for CONFIG_USER_ONLY 2019-09-03 08:34:18 -07:00
i386 tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
lm32 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
m68k tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
microblaze tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
mips target/mips: Switch to do_transaction_failed() hook 2019-09-12 18:25:34 +02: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 target/openrisc: Update cpu "any" to v1.3 2019-09-04 13:01:56 -07:00
ppc Allow page table bit to swap endianness. 2019-09-04 16:29:18 +01:00
riscv tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
s390x s390x/tcg: Pass a size to probe_write() in do_csst() 2019-09-03 08:34:18 -07:00
sh4 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
sparc target/sparc: sun4u Invert Endian TTE bit 2019-09-03 08:30:39 -07:00
tilegx tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07:00
tricore tcg: TCGMemOp is now accelerator independent MemOp 2019-09-03 08:30:38 -07: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