Re: [PATCH v3] target/riscv: update checks on writing pmpcfg for Smepmp

2023-09-19 Thread Alistair Francis
From: Alistair Francis > >> > >>> Sent: Tuesday, September 19, 2023 12:42 PM > >> > >>> To: Alvin Che-Chia Chang(張哲嘉) > >> > >>> Cc: qemu-ri...@nongnu.org; qemu-devel@nongnu.org; > >> > >>> alistair.fran.

Re: [PATCH v3] target/riscv: update checks on writing pmpcfg for Smepmp

2023-09-18 Thread Himanshu Chauhan
> >>> To: Alvin Che-Chia Chang(張哲嘉) >> >>> Cc: qemu-ri...@nongnu.org; qemu-devel@nongnu.org; >> >>> alistair.fran...@wdc.com; ajo...@ventanamicro.com >> >>> Subject: Re: [PATCH v3] target/riscv: update checks on writing pmpcfg for >> &

Re: [PATCH v3] target/riscv: update checks on writing pmpcfg for Smepmp

2023-09-18 Thread Alistair Francis
ngnu.org; > > > alistair.fran...@wdc.com; ajo...@ventanamicro.com > > > Subject: Re: [PATCH v3] target/riscv: update checks on writing pmpcfg for > > > Smepmp to version 1.0 > > > > > > On Fri, Sep 15, 2023 at 6:32 PM Alvin Chang wrote: > > >

Re: [PATCH v3] target/riscv: update checks on writing pmpcfg for Smepmp

2023-09-18 Thread Chang Alvin
> -Original Message- > From: Alistair Francis > Sent: Tuesday, September 19, 2023 12:42 PM > To: Alvin Che-Chia Chang(張哲嘉) > Cc: qemu-ri...@nongnu.org; qemu-devel@nongnu.org; > alistair.fran...@wdc.com; ajo...@ventanamicro.com > Subject: Re: [PATCH v3] target

Re: [PATCH v3] target/riscv: update checks on writing pmpcfg for Smepmp to version 1.0

2023-09-18 Thread Alistair Francis
On Fri, Sep 15, 2023 at 6:32 PM Alvin Chang wrote: > > Current checks on writing pmpcfg for Smepmp follows Smepmp version > 0.9.1. However, Smepmp specification has already been ratified, and > there are some differences between version 0.9.1 and 1.0. In this > commit we update the checks of

[PATCH v3] target/riscv: update checks on writing pmpcfg for Smepmp to version 1.0

2023-09-15 Thread Alvin Chang
Current checks on writing pmpcfg for Smepmp follows Smepmp version 0.9.1. However, Smepmp specification has already been ratified, and there are some differences between version 0.9.1 and 1.0. In this commit we update the checks of writing pmpcfg to follow Smepmp version 1.0. When mseccfg.MML is