Re: [PATCH v2 21/21] target/arm: Fix alignment fault priority in get_phys_addr_lpae

2024-10-08 Thread Peter Maydell
On Sat, 5 Oct 2024 at 21:06, Richard Henderson wrote: > > Now that we have the MemOp for the access, we can order > the alignment fault caused by memory type before the > permission fault for the page. > > For subsequent page hits, permission and stage 2 checks > are known to pass, and so the TLB_

[PATCH v2 21/21] target/arm: Fix alignment fault priority in get_phys_addr_lpae

2024-10-05 Thread Richard Henderson
Now that we have the MemOp for the access, we can order the alignment fault caused by memory type before the permission fault for the page. For subsequent page hits, permission and stage 2 checks are known to pass, and so the TLB_CHECK_ALIGNED fault raised in generic code is not mis-ordered. Sign