arch/riscv: Delegate the page fault exceptions
commit61864143d42b0c506fd78e181d87c743266c6494
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 16 Feb 2018 12:36:46 +0000 (16 13:36 +0100)
committerMartin Roth <martinroth@google.com>
Tue, 20 Feb 2018 20:46:53 +0000 (20 20:46 +0000)
tree01af87b7818752fc708efcf247cae1ffc92b2b70
parenta5c49b8d434d4a99e86c3e79c2b7f1c461aad577
arch/riscv: Delegate the page fault exceptions

These exceptions were new in the Privileged Architecture spec 1.10.
We need to delegate them to S-mode.

Change-Id: Iec15afe9656107b9aeea1677c5b8dc7d654fa746
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/23774
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
src/arch/riscv/virtual_memory.c