Re: [PATCH v2 5/8] target/riscv: Don't force update priv spec version to latest

2022-05-13 Thread Atish Patra
On Wed, May 11, 2022 at 7:46 AM Anup Patel wrote: > > The riscv_cpu_realize() sets priv spec verion to v1.12 when it is > when "env->priv_ver == 0" (i.e. default v1.10) because the enum > value of priv spec v1.10 is zero. > > Due to above issue, the sifive_u machine will see priv spec v1.12 > inst

[PATCH v2 5/8] target/riscv: Don't force update priv spec version to latest

2022-05-11 Thread Anup Patel
The riscv_cpu_realize() sets priv spec verion to v1.12 when it is when "env->priv_ver == 0" (i.e. default v1.10) because the enum value of priv spec v1.10 is zero. Due to above issue, the sifive_u machine will see priv spec v1.12 instead of priv spec v1.10. To fix this issue, we set latest priv s