diff options
author | Richard Henderson | 2022-10-01 18:22:46 +0200 |
---|---|---|
committer | Peter Maydell | 2022-10-10 15:52:24 +0200 |
commit | d902ae7558690a8442bf3560d5707167e485ab92 (patch) | |
tree | 1f8f1914030d23dee47cf796563e41dab77b8f51 /scsi | |
parent | target/arm: Add is_secure parameter to do_ats_write (diff) | |
download | qemu-d902ae7558690a8442bf3560d5707167e485ab92.tar.gz qemu-d902ae7558690a8442bf3560d5707167e485ab92.tar.xz qemu-d902ae7558690a8442bf3560d5707167e485ab92.zip |
target/arm: Fold secure and non-secure a-profile mmu indexes
For a-profile aarch64, which does not bank system registers, it takes
quite a lot of code to switch between security states. In the process,
registers such as TCR_EL{1,2} must be swapped, which in itself requires
the flushing of softmmu tlbs. Therefore it doesn't buy us anything to
separate tlbs by security state.
Retain the distinction between Stage2 and Stage2_S.
This will be important as we implement FEAT_RME, and do not wish to
add a third set of mmu indexes for Realm state.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20221001162318.153420-11-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scsi')
0 files changed, 0 insertions, 0 deletions