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 writi

[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 s