]> Git Repo - qemu.git/commit
target/arm: Honor HCR_EL2.TID1 trapping requirements
authorMarc Zyngier <[email protected]>
Sun, 1 Dec 2019 12:20:15 +0000 (12:20 +0000)
committerPeter Maydell <[email protected]>
Mon, 16 Dec 2019 10:46:34 +0000 (10:46 +0000)
commit93fbc983b29a2eb84e2f6065929caf14f99c3681
treed92702ce78c823872b4fd6cea0b0f1fc82749927
parent630fcd4d2ba37050329e0adafdc552d656ebe2f3
target/arm: Honor HCR_EL2.TID1 trapping requirements

HCR_EL2.TID1 mandates that access from EL1 to REVIDR_EL1, AIDR_EL1
(and their 32bit equivalents) as well as TCMTR, TLBTR are trapped
to EL2. QEMU ignores it, making it harder for a hypervisor to
virtualize the HW (though to be fair, no known hypervisor actually
cares).

Do the right thing by trapping to EL2 if HCR_EL2.TID1 is set.

Reviewed-by: Edgar E. Iglesias <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: 20191201122018[email protected]
Signed-off-by: Peter Maydell <[email protected]>
target/arm/helper.c
This page took 0.024901 seconds and 4 git commands to generate.