Re: [PATCH for-6.0] target/arm: Set ARMMMUFaultInfo.level in user-only arm_cpu_tlb_fill

2021-03-23 Thread Peter Maydell
On Mon, 22 Mar 2021 at 14:10, Peter Maydell wrote: > > On Sat, 20 Mar 2021 at 00:06, Richard Henderson > wrote: > > > > Pretend the fault always happens at page table level 3. > > > > Failure to set this leaves level = 0, which is impossible for > > ARMFault_Permission, and produces an invalid sy

Re: [PATCH for-6.0] target/arm: Set ARMMMUFaultInfo.level in user-only arm_cpu_tlb_fill

2021-03-22 Thread Peter Maydell
On Sat, 20 Mar 2021 at 00:06, Richard Henderson wrote: > > Pretend the fault always happens at page table level 3. > > Failure to set this leaves level = 0, which is impossible for > ARMFault_Permission, and produces an invalid syndrome, which > reaches g_assert_not_reached in cpu_loop. > > Fixes:

[PATCH for-6.0] target/arm: Set ARMMMUFaultInfo.level in user-only arm_cpu_tlb_fill

2021-03-19 Thread Richard Henderson
Pretend the fault always happens at page table level 3. Failure to set this leaves level = 0, which is impossible for ARMFault_Permission, and produces an invalid syndrome, which reaches g_assert_not_reached in cpu_loop. Fixes: 8db94ab4e5db ("linux-user/aarch64: Pass syndrome to EXC_*_ABORT") Rep