Re: [RESEND PATCH v2 3/5] target/riscv: Add 'P1P13' bit in SMSTATEEN0

2024-06-03 Thread Fea Wang
Thank you for correcting me. I will fix it in the next version of the patch series. Sincerely, Fea On Tue, Jun 4, 2024 at 8:54 AM Alistair Francis wrote: > On Wed, May 15, 2024 at 6:01 PM Fea.Wang wrote: > > > > Based on privilege 1.13 spec, there should be a bit56 for 'P1P13' in > > SMSTATEEN

Re: [RESEND PATCH v2 3/5] target/riscv: Add 'P1P13' bit in SMSTATEEN0

2024-06-03 Thread Alistair Francis
On Wed, May 15, 2024 at 6:01 PM Fea.Wang wrote: > > Based on privilege 1.13 spec, there should be a bit56 for 'P1P13' in > SMSTATEEN0 that controls access to the hedeleg. I don't see this in the spec. I only see P1P13 in mstateen0 Alistair > > Signed-off-by: Fea.Wang > Reviewed-by: Frank Chang

Re: [RESEND PATCH v2 3/5] target/riscv: Add 'P1P13' bit in SMSTATEEN0

2024-05-20 Thread LIU Zhiwei
On 2024/5/15 16:06, Fea.Wang wrote: Based on privilege 1.13 spec, there should be a bit56 for 'P1P13' in SMSTATEEN0 that controls access to the hedeleg. Signed-off-by: Fea.Wang Reviewed-by: Frank Chang Reviewed-by: Weiwei Li --- target/riscv/cpu_bits.h | 1 + target/riscv/csr.c | 8

[RESEND PATCH v2 3/5] target/riscv: Add 'P1P13' bit in SMSTATEEN0

2024-05-15 Thread Fea.Wang
Based on privilege 1.13 spec, there should be a bit56 for 'P1P13' in SMSTATEEN0 that controls access to the hedeleg. Signed-off-by: Fea.Wang Reviewed-by: Frank Chang Reviewed-by: Weiwei Li --- target/riscv/cpu_bits.h | 1 + target/riscv/csr.c | 8 2 files changed, 9 insertions(+