]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target-arm: Enable the AArch32 ATS12NSO ops
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Aug 2015 14:45:08 +0000 (15:45 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Aug 2015 14:45:08 +0000 (15:45 +0100)
commit87562e4f4a2bdd028eef3549ce9cb4e7c83cb0bf
treeaebf3ed6d13aaa79073fbc34a51dfc917693d54c
parente76157264da20b85698b09fa5eb8e02e515e232c
target-arm: Enable the AArch32 ATS12NSO ops

Apply the correct conditions in the ats_access() function for
the ATS12NSO* address translation operations:
 * succeed at EL2 or EL3
 * normal UNDEF trap from NS EL1
 * trap to EL3 from S EL1 (only possible if EL3 is AArch64)

(This change means they're now available in our EL3-supporting
CPUs when they would previously always UNDEF.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1437751263-21913-5-git-send-email-peter.maydell@linaro.org
target-arm/helper.c