[PATCH 07/27] RISC-V: KVM: Add hideleg to struct kvm_vcpu_config
Radim Krčmář
radim.krcmar at oss.qualcomm.com
Fri Mar 13 06:49:51 PDT 2026
2026-01-20T13:29:53+05:30, Anup Patel <anup.patel at oss.qualcomm.com>:
> The hideleg CSR state when VCPU is running in guest VS/VU-mode will
> be different from when it is running in guest HS-mode. To achieve
> this, add hideleg to struct kvm_vcpu_config and re-program hideleg
> CSR upon every kvm_arch_vcpu_load().
>
> Signed-off-by: Anup Patel <anup.patel at oss.qualcomm.com>
> ---
Reviewed-by: Radim Krčmář <radim.krcmar at oss.qualcomm.com>
More information about the linux-riscv
mailing list