Re: [PULL 08/30] target/arm: Add ptw_idx to S1Translate

2022-11-01 Thread Philippe Mathieu-Daudé
On 1/11/22 11:10, Philippe Mathieu-Daudé wrote: On 1/11/22 00:14, Philippe Mathieu-Daudé wrote: On 25/10/22 18:39, Peter Maydell wrote: From: Richard Henderson 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

Re: [PULL 08/30] target/arm: Add ptw_idx to S1Translate

2022-11-01 Thread Philippe Mathieu-Daudé
On 1/11/22 00:14, Philippe Mathieu-Daudé wrote: On 25/10/22 18:39, Peter Maydell wrote: From: Richard Henderson 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

Re: [PULL 08/30] target/arm: Add ptw_idx to S1Translate

2022-10-31 Thread Philippe Mathieu-Daudé
On 25/10/22 18:39, Peter Maydell wrote: From: Richard Henderson 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.

[PULL 08/30] target/arm: Add ptw_idx to S1Translate

2022-10-25 Thread Peter Maydell
From: Richard Henderson 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 Reviewed-by: Alex