mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
KVM: arm64: Fix stale VGICv3 comments in the nVHE world switch
__hyp_vgic_save_state() and __hyp_vgic_restore_state() handle GICv5 as well as GICv3, but their comments name VGICv3 only. Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com> Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20261012161524.4016464-6-fuad.tabba@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
This commit is contained in:
parent
cd38c10e19
commit
7ad25ad110
|
|
@ -110,7 +110,7 @@ static void __deactivate_traps(struct kvm_vcpu *vcpu)
|
|||
write_sysreg(__kvm_hyp_host_vector, vbar_el2);
|
||||
}
|
||||
|
||||
/* Save VGICv3 state on non-VHE systems */
|
||||
/* Save vgic state on non-VHE systems */
|
||||
static void __hyp_vgic_save_state(struct kvm_vcpu *vcpu)
|
||||
{
|
||||
if (vgic_is_v5(kern_hyp_va(vcpu->kvm))) {
|
||||
|
|
@ -125,7 +125,7 @@ static void __hyp_vgic_save_state(struct kvm_vcpu *vcpu)
|
|||
}
|
||||
}
|
||||
|
||||
/* Restore VGICv3 state on non-VHE systems */
|
||||
/* Restore vgic state on non-VHE systems */
|
||||
static void __hyp_vgic_restore_state(struct kvm_vcpu *vcpu)
|
||||
{
|
||||
if (vgic_is_v5(kern_hyp_va(vcpu->kvm))) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user