summary refs log tree commit diff stats
path: root/hw/i2c/microbit_i2c.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-10-08 11:21:55 -0500
committerPeter Maydell <peter.maydell@linaro.org>2020-10-20 16:12:00 +0100
commit4301acd7d7d455792ea873ced75c0b5d653618b1 (patch)
tree34054da1f3a0b8f5008cb672259026763b183952 /hw/i2c/microbit_i2c.c
parent50244cc76abcac3296cff3d84826f5ff71808c80 (diff)
downloadfocaccia-qemu-4301acd7d7d455792ea873ced75c0b5d653618b1.tar.gz
focaccia-qemu-4301acd7d7d455792ea873ced75c0b5d653618b1.zip
target/arm: Ignore HCR_EL2.ATA when {E2H,TGE} != 11
Unlike many other bits in HCR_EL2, the description for this
bit does not contain the phrase "if ... this field behaves
as 0 for all purposes other than", so do not squash the bit
in arm_hcr_el2_eff.

Instead, replicate the E2H+TGE test in the two places that
require it.

Reported-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Message-id: 20201008162155.161886-4-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c/microbit_i2c.c')
0 files changed, 0 insertions, 0 deletions