diff options
| author | Marc Zyngier | 2019-12-01 13:20:15 +0100 |
|---|---|---|
| committer | Peter Maydell | 2019-12-16 11:46:34 +0100 |
| commit | 93fbc983b29a2eb84e2f6065929caf14f99c3681 (patch) | |
| tree | d92702ce78c823872b4fd6cea0b0f1fc82749927 /include | |
| parent | target/arm: Honor HCR_EL2.TID2 trapping requirements (diff) | |
| download | qemu-93fbc983b29a2eb84e2f6065929caf14f99c3681.tar.gz qemu-93fbc983b29a2eb84e2f6065929caf14f99c3681.tar.xz qemu-93fbc983b29a2eb84e2f6065929caf14f99c3681.zip | |
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 <edgar.iglesias@xilinx.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191201122018.25808-3-maz@kernel.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
