Re: [PATCH v3 37/42] target/arm: Remove loop from get_phys_addr_lpae

2022-10-07 Thread Peter Maydell
On Sat, 1 Oct 2022 at 18:02, Richard Henderson wrote: > > The unconditional loop was used both to iterate over levels > and to control parsing of attributes. Use an explicit goto > in both cases. > > While this appears less clean for iterating over levels, we > will need to jump back into the mid

[PATCH v3 37/42] target/arm: Remove loop from get_phys_addr_lpae

2022-10-01 Thread Richard Henderson
The unconditional loop was used both to iterate over levels and to control parsing of attributes. Use an explicit goto in both cases. While this appears less clean for iterating over levels, we will need to jump back into the middle of this loop for atomic updates, which is even uglier. Signed-o