Re: [Qemu-devel] [PATCH 4/7] target/sparc: Correctly handle bus errors in page table walks

2019-08-01 Thread Richard Henderson
On 8/1/19 11:30 AM, Peter Maydell wrote: > Currently we use the ldl_phys() function to read page table entries. > With the unassigned_access hook in place, if these hit an unassigned > area of memory then the hook will cause us to wrongly generate > an exception with a fault address matching the

[Qemu-devel] [PATCH 4/7] target/sparc: Correctly handle bus errors in page table walks

2019-08-01 Thread Peter Maydell
Currently we use the ldl_phys() function to read page table entries. With the unassigned_access hook in place, if these hit an unassigned area of memory then the hook will cause us to wrongly generate an exception with a fault address matching the address of the page table entry. Change to using