diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2024-01-09 14:43:49 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-01-09 14:43:49 +0000 |
commit | 29eda9cd1987d69b089ed5413c8e39aecd618e17 (patch) | |
tree | f3f066163cfb19a13b12ecbf5d7fcfcc282a7cda /scripts/qapi | |
parent | b7ecc3da6c87f8a57805acfc46922684f8a26eea (diff) | |
download | qemu-29eda9cd1987d69b089ed5413c8e39aecd618e17.zip qemu-29eda9cd1987d69b089ed5413c8e39aecd618e17.tar.gz qemu-29eda9cd1987d69b089ed5413c8e39aecd618e17.tar.bz2 |
target/arm: Set SPSR_EL1.M correctly when nested virt is enabled
FEAT_NV requires that when HCR_EL2.{NV,NV1} == {1,0} and an exception
is taken from EL1 to EL1 then the reported EL in SPSR_EL1.M should be
EL2, not EL1. Implement this behaviour.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Miguel Luis <miguel.luis@oracle.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions