Skip to content

Commit 8988a28

Browse files
committed
KVM: arm64: Do not re-initialize the KVM lock
jira LE-1907 Rebuild_History Non-Buildable kernel-5.14.0-427.28.1.el9_4 commit-author Fuad Tabba <tabba@google.com> commit 40099de The lock is already initialized in core KVM code at kvm_create_vm(). Fixes: 9d0c063 ("KVM: arm64: Instantiate pKVM hypervisor VM and vCPU structures from EL1") Signed-off-by: Fuad Tabba <tabba@google.com> Acked-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20240423150538.2103045-5-tabba@google.com Signed-off-by: Marc Zyngier <maz@kernel.org> (cherry picked from commit 40099de) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent c52fb3b commit 8988a28

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/kvm/pkvm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ void pkvm_destroy_hyp_vm(struct kvm *host_kvm)
215215

216216
int pkvm_init_host_vm(struct kvm *host_kvm)
217217
{
218-
mutex_init(&host_kvm->lock);
219218
return 0;
220219
}
221220

0 commit comments

Comments
 (0)