Skip to content

Commit 40458a6

Browse files
Fuad TabbaMarc Zyngier
authored andcommitted
KVM: arm64: Fix comment for __pkvm_vcpu_init_traps()
Fix the comment to clarify that __pkvm_vcpu_init_traps() initializes traps for all VMs in protected mode, and not only for protected VMs. Signed-off-by: Fuad Tabba <tabba@google.com> Acked-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20240423150538.2103045-14-tabba@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent 06cacc9 commit 40458a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/kvm/hyp/nvhe/pkvm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static void pvm_init_trap_regs(struct kvm_vcpu *vcpu)
200200
}
201201

202202
/*
203-
* Initialize trap register values for protected VMs.
203+
* Initialize trap register values in protected mode.
204204
*/
205205
void __pkvm_vcpu_init_traps(struct kvm_vcpu *vcpu)
206206
{

0 commit comments

Comments
 (0)