Re: [PATCH v2 03/10] target/riscv: Remove check on RVH for riscv_cpu_virt_enabled

2023-04-04 Thread Alistair Francis
On Mon, Mar 27, 2023 at 6:12 PM Weiwei Li wrote: > > Since env->virt.VIRT_ONOFF is initialized as false, and will not be set > to true when RVH is disabled, so we can just return this bit(false) when > RVH is not disabled. > > Signed-off-by: Weiwei Li > Signed-off-by: Junqiang Wang > Reviewed-by

[PATCH v2 03/10] target/riscv: Remove check on RVH for riscv_cpu_virt_enabled

2023-03-27 Thread Weiwei Li
Since env->virt.VIRT_ONOFF is initialized as false, and will not be set to true when RVH is disabled, so we can just return this bit(false) when RVH is not disabled. Signed-off-by: Weiwei Li Signed-off-by: Junqiang Wang Reviewed-by: Richard Henderson Reviewed-by: LIU Zhiwei --- target/riscv/c