target/riscv: Remove check on RVH for riscv_cpu_set_virt_enabled
authorWeiwei Li <liweiwei@iscas.ac.cn>
Mon, 27 Mar 2023 08:08:52 +0000 (16:08 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 5 May 2023 00:49:50 +0000 (10:49 +1000)
commitc43732f505a8094449704db2bb5f08ee3fd60350
treed0c4adc8479decd61f71ce65369205eb3b060e48
parent286629216c72f76d8871e57c1abbd0252ebb29ba
target/riscv: Remove check on RVH for riscv_cpu_set_virt_enabled

In current implementation, riscv_cpu_set_virt_enabled is only called when
RVH is enabled.

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230327080858.39703-5-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu_helper.c