diff options
| author | Hesham Almatary | 2019-06-14 14:17:28 +0200 |
|---|---|---|
| committer | Palmer Dabbelt | 2019-06-24 08:44:41 +0200 |
| commit | 635b0b0ea39a13d1a3df932452e5728aebbb3f6e (patch) | |
| tree | 386206485471e69ad53acf76aac7bacb6fd2377c /include/exec/user | |
| parent | RISC-V: Only Check PMP if MMU translation succeeds (diff) | |
| download | qemu-635b0b0ea39a13d1a3df932452e5728aebbb3f6e.tar.gz qemu-635b0b0ea39a13d1a3df932452e5728aebbb3f6e.tar.xz qemu-635b0b0ea39a13d1a3df932452e5728aebbb3f6e.zip | |
RISC-V: Raise access fault exceptions on PMP violations
Section 3.6 in RISC-V v1.10 privilege specification states that PMP violations
report "access exceptions." The current PMP implementation has
a bug which wrongly reports "page exceptions" on PMP violations.
This patch fixes this bug by reporting the correct PMP access exceptions
trap values.
Signed-off-by: Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
