Skip to content

Commit 82a32ea

Browse files
Zenghui Yu (Huawei)Marc Zyngier
authored andcommitted
KVM: arm64: Fix various comments
Use tab instead of whitespaces, as well as 2 minor typo fixes. Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev> Link: https://patch.msgid.link/20260128075208.23024-1-zenghui.yu@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent 9d46e83 commit 82a32ea

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

arch/arm64/include/asm/kvm_host.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ struct kvm_s2_mmu {
201201
* host to parse the guest S2.
202202
* This either contains:
203203
* - the virtual VTTBR programmed by the guest hypervisor with
204-
* CnP cleared
204+
* CnP cleared
205205
* - The value 1 (VMID=0, BADDR=0, CnP=1) if invalid
206206
*
207207
* We also cache the full VTCR which gets used for TLB invalidation,

arch/arm64/kvm/hyp/vhe/sysreg-sr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ void __vcpu_load_switch_sysregs(struct kvm_vcpu *vcpu)
205205

206206
/*
207207
* When running a normal EL1 guest, we only load a new vcpu
208-
* after a context switch, which imvolves a DSB, so all
208+
* after a context switch, which involves a DSB, so all
209209
* speculative EL1&0 walks will have already completed.
210210
* If running NV, the vcpu may transition between vEL1 and
211211
* vEL2 without a context switch, so make sure we complete

arch/arm64/kvm/vgic/vgic-v3-nested.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static int lr_map_idx_to_shadow_idx(struct shadow_if *shadow_if, int idx)
5757
* as the L1 guest is in charge of provisioning the interrupts via its own
5858
* view of the ICH_LR*_EL2 registers, which conveniently live in the VNCR
5959
* page. This means that the flow described above does work (there is no
60-
* state to rebuild in the L0 hypervisor), and that most things happed on L2
60+
* state to rebuild in the L0 hypervisor), and that most things happen on L2
6161
* load/put:
6262
*
6363
* - on L2 load: move the in-memory L1 vGIC configuration into a shadow,

0 commit comments

Comments
 (0)