summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorPalmer Dabbelt2019-10-08 22:51:50 +0200
committerPalmer Dabbelt2019-10-28 15:47:27 +0100
commitaacb578fad214383e6803cba35d6e1bce71f4a3f (patch)
tree3244f44dccddb88576e4ea72003b92124baf17ba /include/exec/user
parentriscv: Skip checking CSR privilege level in debugger mode (diff)
downloadqemu-aacb578fad214383e6803cba35d6e1bce71f4a3f.tar.gz
qemu-aacb578fad214383e6803cba35d6e1bce71f4a3f.tar.xz
qemu-aacb578fad214383e6803cba35d6e1bce71f4a3f.zip
RISC-V: Handle bus errors in the page table walker
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-off-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions