Re: [Qemu-devel] [PATCHv3 3/5] RISC-V: Check PMP during Page Table Walks

2019-05-30 Thread Hesham Almatary
On Thu, 30 May 2019 at 05:07, Alistair Francis wrote: > > On Wed, May 22, 2019 at 2:27 AM Hesham Almatary > wrote: > > > > On Tue, 21 May 2019 at 23:40, Alistair Francis wrote: > > > > > > On Tue, May 21, 2019 at 3:44 AM Hesham Almatary > > > wrote: > > > > > > > > The PMP should be checked

Re: [Qemu-devel] [PATCHv3 3/5] RISC-V: Check PMP during Page Table Walks

2019-05-29 Thread Alistair Francis
On Wed, May 22, 2019 at 2:27 AM Hesham Almatary wrote: > > On Tue, 21 May 2019 at 23:40, Alistair Francis wrote: > > > > On Tue, May 21, 2019 at 3:44 AM Hesham Almatary > > wrote: > > > > > > The PMP should be checked when doing a page table walk, and report access > > > fault exception if the

Re: [Qemu-devel] [PATCHv3 3/5] RISC-V: Check PMP during Page Table Walks

2019-05-29 Thread Hesham Almatary
ping On Wed, 22 May 2019 at 11:26, Hesham Almatary wrote: > > On Tue, 21 May 2019 at 23:40, Alistair Francis wrote: > > > > On Tue, May 21, 2019 at 3:44 AM Hesham Almatary > > wrote: > > > > > > The PMP should be checked when doing a page table walk, and report access > > > fault exception if

Re: [Qemu-devel] [PATCHv3 3/5] RISC-V: Check PMP during Page Table Walks

2019-05-22 Thread Hesham Almatary
On Tue, 21 May 2019 at 23:40, Alistair Francis wrote: > > On Tue, May 21, 2019 at 3:44 AM Hesham Almatary > wrote: > > > > The PMP should be checked when doing a page table walk, and report access > > fault exception if the to-be-read PTE failed the PMP check. > > > > Suggested-by: Jonathan

Re: [Qemu-devel] [PATCHv3 3/5] RISC-V: Check PMP during Page Table Walks

2019-05-21 Thread Alistair Francis
On Tue, May 21, 2019 at 3:44 AM Hesham Almatary wrote: > > The PMP should be checked when doing a page table walk, and report access > fault exception if the to-be-read PTE failed the PMP check. > > Suggested-by: Jonathan Behrens > Signed-off-by: Hesham Almatary > --- > target/riscv/cpu.h

[Qemu-devel] [PATCHv3 3/5] RISC-V: Check PMP during Page Table Walks

2019-05-21 Thread Hesham Almatary
The PMP should be checked when doing a page table walk, and report access fault exception if the to-be-read PTE failed the PMP check. Suggested-by: Jonathan Behrens Signed-off-by: Hesham Almatary --- target/riscv/cpu.h| 1 + target/riscv/cpu_helper.c | 10 +- 2 files changed,