qemu-patch-raspberry4/target/hppa
Sven Schnelle 0b49c33988 target/hppa: fix TLB handling for page 0
Assume the following sequence:

pitlbe r0(sr0,r0)
iitlba r4,(sr0,r0)
ldil L%3000000,r5
iitlbp r5,(sr0,r0)

This will purge the whole TLB and add an entry for page 0. However
the current TLB implementation in helper_iitlba() will store to
the last empty TLB entry, while helper_iitlbp() will write to the
first empty entry. That is because an empty entry will match address
0 in helper_iitlba()

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Message-Id: <20190311191602.25796-3-svens@stackframe.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-03-12 09:13:43 -07:00
..
cpu-qom.h target-hppa: Add framework and enable compilation 2017-01-23 09:52:40 -08:00
cpu.c fpu/softfloat: Specialize on snan_bit_is_one 2018-05-17 15:27:15 -07:00
cpu.h target/hppa: Include priv level in user-only iaoq 2018-03-26 22:56:57 +08:00
gdbstub.c target/hppa: fix setting registers via gdb 2019-02-06 10:49:21 +00:00
helper.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
helper.h target/hppa: Implement PROBE for system mode 2018-01-31 05:30:50 -08:00
insns.decode target/hppa: Convert fp operate insns 2019-02-12 08:59:21 -08:00
int_helper.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
machine.c vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
Makefile.objs target/hppa: Begin using scripts/decodetree.py 2019-02-12 08:48:27 -08:00
mem_helper.c target/hppa: fix TLB handling for page 0 2019-03-12 09:13:43 -07:00
op_helper.c target/hppa: move GETPC to HELPER() functions 2019-02-12 08:59:21 -08:00
translate.c target/hppa: fix overwriting source reg in addb 2019-03-12 09:13:43 -07:00