Re: [PATCH v4 13/24] target/arm: Add ptw_idx to S1Translate

2022-10-19 Thread Richard Henderson
On 10/17/22 20:01, Peter Maydell wrote: On Tue, 11 Oct 2022 at 04:30, Richard Henderson wrote: 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, performi

Re: [PATCH v4 13/24] target/arm: Add ptw_idx to S1Translate

2022-10-17 Thread Peter Maydell
On Tue, 11 Oct 2022 at 04:30, Richard Henderson wrote: > > 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