qemu/target
Richard Henderson d102058e79 target/arm: Fix offsets for TTBCR
The functions vmsa_ttbcr_write and vmsa_ttbcr_raw_write expect
the offset to be for the complete TCR structure, not the offset
to the low 32-bits of a uint64_t.  Using offsetoflow32 in this
case breaks big-endian hosts.

For TTBCR2, we do want the high 32-bits of a uint64_t.
Use cp15.tcr_el[*].raw_tcr as the offsetofhigh32 argument to
clarify this.

Buglink: https://gitlab.com/qemu-project/qemu/-/issues/187
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210709230621.938821-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-07-18 10:59:46 +01:00
..
alpha target/alpha: Use tcg_constant_* elsewhere 2021-07-13 08:13:19 -07:00
arm target/arm: Fix offsets for TTBCR 2021-07-18 10:59:46 +01:00
avr Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
cris Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
hexagon Hexagon (target/hexagon) remove unused TCG variables 2021-06-29 11:32:50 -05:00
hppa target/hppa: Clean up DisasCond 2021-07-13 08:13:19 -07:00
i386 Cleanup alpha, hppa, or1k wrt tcg_constant_tl. 2021-07-14 14:12:08 +01:00
m68k Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
microblaze Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
mips MIPS patches queue 2021-07-12 15:58:17 +01:00
nios2 Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
openrisc target/openrisc: Use dc->zero in gen_add, gen_addc 2021-07-13 08:13:19 -07:00
ppc Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
riscv target/riscv: hardwire bits in hideleg and hedeleg 2021-07-15 08:56:00 +10:00
rx Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
s390x s390x updates: 2021-07-12 19:15:11 +01:00
sh4 Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
sparc Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
tricore Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
xtensa Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
meson.build Drop the deprecated unicore32 target 2021-05-12 18:20:52 +02:00