Re: [Qemu-devel] [PATCH v1 1/2] RISC-V: Handle bus errors in the page table walker

2019-09-21 Thread Philippe Mathieu-Daudé
On 9/18/19 1:22 AM, Alistair Francis wrote: > From: Palmer Dabbelt > > We directly access physical memory while walking the page tables on > RISC-V, but while doing so we were using cpu_ld*() which does not report > bus errors. This patch converts the page table walker over to use > address_spac

[Qemu-devel] [PATCH v1 1/2] RISC-V: Handle bus errors in the page table walker

2019-09-17 Thread Alistair Francis
From: Palmer Dabbelt We directly access physical memory while walking the page tables on RISC-V, but while doing so we were using cpu_ld*() which does not report bus errors. This patch converts the page table walker over to use address_space_ld*(), which allows bus errors to be detected. Signed