summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorMarc Zyngier2019-12-01 13:20:14 +0100
committerPeter Maydell2019-12-16 11:46:34 +0100
commit630fcd4d2ba37050329e0adafdc552d656ebe2f3 (patch)
tree2c7aefdd2a0ded36ca85739c776be9f0ed25baf1 /include/exec
parentaspeed: Change the "nic" property definition (diff)
downloadqemu-630fcd4d2ba37050329e0adafdc552d656ebe2f3.tar.gz
qemu-630fcd4d2ba37050329e0adafdc552d656ebe2f3.tar.xz
qemu-630fcd4d2ba37050329e0adafdc552d656ebe2f3.zip
target/arm: Honor HCR_EL2.TID2 trapping requirements
HCR_EL2.TID2 mandates that access from EL1 to CTR_EL0, CCSIDR_EL1, CCSIDR2_EL1, CLIDR_EL1, CSSELR_EL1 are trapped to EL2, and QEMU completely ignores it, making it impossible for hypervisors to virtualize the cache hierarchy. Do the right thing by trapping to EL2 if HCR_EL2.TID2 is set. Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20191201122018.25808-2-maz@kernel.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions