Re: [Qemu-devel] [Qemu-riscv] [PATCH 1/2] RISC-V: Raise access fault exceptions on PMP violations

2019-05-18 Thread Hesham Almatary
Hi Jonathan, Thanks for your feedback. On Sat, 18 May 2019 at 22:51, Jonathan Behrens wrote: > > This patch assumes that translation failure should always raise a paging > fault, but it should be possible for it to raise an access fault as well > (since according to the spec "PMP checks are

Re: [Qemu-devel] [Qemu-riscv] [PATCH 1/2] RISC-V: Raise access fault exceptions on PMP violations

2019-05-18 Thread Jonathan Behrens
This patch assumes that translation failure should always raise a paging fault, but it should be possible for it to raise an access fault as well (since according to the spec "PMP checks are also applied to page-table accesses for virtual-address translation, for which the effective privile