Commit b3f263a9 authored by Chao Du's avatar Chao Du Committed by Anup Patel
Browse files

RISC-V: KVM: Optimize comments in kvm_riscv_vcpu_isa_disable_allowed



The comments for EXT_SVADE are a bit confusing. Clarify it.

Signed-off-by: default avatarChao Du <duchao@eswincomputing.com>
Reviewed-by: default avatarAndrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20250221025929.31678-1-duchao@eswincomputing.com


Signed-off-by: default avatarAnup Patel <anup@brainfault.org>
parent 2d117e67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ static bool kvm_riscv_vcpu_isa_disable_allowed(unsigned long ext)
	case KVM_RISCV_ISA_EXT_SVADE:
		/*
		 * The henvcfg.ADUE is read-only zero if menvcfg.ADUE is zero.
		 * Svade is not allowed to disable when the platform use Svade.
		 * Svade can't be disabled unless we support Svadu.
		 */
		return arch_has_hw_pte_young();
	default: