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

2023-09-06 Thread Alistair Francis
On Tue, Sep 5, 2023 at 2:30 AM Alvin Chang wrote: > > Current checks on writing pmpcfg for ePMP follows ePMP version 0.9.1. > However, ePMP 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

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

2023-09-04 Thread Alvin Chang
Current checks on writing pmpcfg for ePMP follows ePMP version 0.9.1. However, ePMP 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 ePMP version 1.0. When mseccfg.MML is set, the