diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-05-10 12:03:57 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-06-13 15:14:03 +0100 |
commit | fc1120a7f5f2d4b601003205c598077d3eb11ad2 (patch) | |
tree | 4cbb5d4aea2f30badefb40b4ecb2ee16312bb433 /.gitmodules | |
parent | 3a7a2b4e5cf0d49cd8b14e8225af0310068b7d20 (diff) |
target/arm: Implement NSACR gating of floating point
The NSACR register allows secure code to configure the FPU
to be inaccessible to non-secure code. If the NSACR.CP10
bit is set then:
* NS accesses to the FPU trap as UNDEF (ie to NS EL1 or EL2)
* CPACR.{CP10,CP11} behave as if RAZ/WI
* HCPTR.{TCP11,TCP10} behave as if RAO/WI
Note that we do not implement the NSACR.NSASEDIS bit which
gates only access to Advanced SIMD, in the same way that
we don't implement the equivalent CPACR.ASEDIS and HCPTR.TASE.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20190510110357.18825-1-peter.maydell@linaro.org
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions