diff options
author | Richard Henderson | 2022-10-24 07:18:39 +0200 |
---|---|---|
committer | Peter Maydell | 2022-10-27 11:27:23 +0200 |
commit | 48da29e485af5c92e284fbb6ef279b2a98eea7c4 (patch) | |
tree | 8750a1481bf34ffa986e9a3feb9abcd97536ed2a /.gitlab-ci.yml | |
parent | target/arm: Introduce regime_is_stage2 (diff) | |
download | qemu-48da29e485af5c92e284fbb6ef279b2a98eea7c4.tar.gz qemu-48da29e485af5c92e284fbb6ef279b2a98eea7c4.tar.xz qemu-48da29e485af5c92e284fbb6ef279b2a98eea7c4.zip |
target/arm: Add ptw_idx to S1Translate
Hoist the computation of the mmu_idx for the ptw up to
get_phys_addr_with_struct and get_phys_addr_twostage.
This removes the duplicate check for stage2 disabled
from the middle of the walk, performing it only once.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20221024051851.3074715-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions