Re: [PATCH] target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes

2023-09-01 Thread mchitale
On Tue, 2023-08-29 at 17:50 -0400, leon@is.currently.online wrote: > From: Leon Schuermann > > When the rule-lock bypass (RLB) bit is set in the mseccfg CSR, the > PMP > configuration lock bits must not apply. While this behavior is > implemented for the pmpcfgX CSRs, this bit is not respected

Re: [PATCH v10 4/5] target/riscv: smstateen check for fcsr

2022-10-06 Thread mchitale
On Tue, 2022-10-04 at 21:23 +0800, weiwei wrote: > > > > > On 2022/10/4 14:51, > mchit...@ventanamicro.com wrote: > > > > > > On Mon, 2022-10-03 at 21:02 +0800, weiwei wrote: > > > > > On 2022/10/3 19:47, Mayuresh Chitale wrote: > > >

Re: [PATCH v10 4/5] target/riscv: smstateen check for fcsr

2022-10-04 Thread mchitale
On Mon, 2022-10-03 at 21:02 +0800, weiwei wrote: > On 2022/10/3 19:47, Mayuresh Chitale wrote: > > If smstateen is implemented and sstateen0.fcsr is clear then the > > floating point > > operations must return illegal instruction exception or virtual > > instruction > > trap, if relevant. > > > >

Re: [PATCH v9 3/4] target/riscv: smstateen check for fcsr

2022-10-01 Thread mchitale
On Thu, 2022-09-29 at 09:09 +0800, weiwei wrote: > On 2022/9/19 14:29, Mayuresh Chitale wrote: > > If smstateen is implemented and sstateen0.fcsr is clear then the > > floating point > > operations must return illegal instruction exception or virtual > > instruction > > trap, if relevant. > > > >

Re: [PATCH v9 1/4] target/riscv: Add smstateen support

2022-10-01 Thread mchitale
On Thu, 2022-09-29 at 11:43 +1000, Alistair Francis wrote: > On Thu, Sep 29, 2022 at 10:58 AM weiwei wrote: > > > > On 2022/9/19 14:29, Mayuresh Chitale wrote: > > > Smstateen extension specifies a mechanism to close > > > the potential covert channels that could cause security issues. > > > >