summaryrefslogtreecommitdiffstats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorRalf-Philipp Weinmann <ralf+devel@comsecuris.com>2016-03-04 11:30:22 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:12 -0600
commit5a13faf64878a47d2aa502a2826f99b675b30bdd (patch)
tree44b02630a31d5295bfc6ea89bd50a4be340d5fe9 /scripts/qapi.py
parent7b3761c75c66f7cc76dda395a6d16f1a8ec6b41b (diff)
downloadhqemu-5a13faf64878a47d2aa502a2826f99b675b30bdd.zip
hqemu-5a13faf64878a47d2aa502a2826f99b675b30bdd.tar.gz
target-arm: Only trap SRS from S-EL1 if specified mode is MON
Commit cbc0326b6fb9 caused SRS instructions executed from Secure EL1 to trap to EL3 even if the specified mode was not monitor mode. According to the ARMv8 Architecture reference manual [F6.1.203], ALL of the following conditions need to be met for SRS to trap to EL3: * It is executed at Secure PL1. * The specified mode is monitor mode. * EL3 is using AArch64. Correct the condition governing the trap to EL3 to check the specified mode. Signed-off-by: Ralf-Philipp Weinmann <ralf+devel@comsecuris.com> Message-id: 20160222224251.GA11654@beta.comsecuris.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> [PMM: tweaked comment text to read 'specified mode'; edited commit message] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud