Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df3190e2 authored by Steven Price's avatar Steven Price Committed by Christoffer Dall
Browse files

arm64: KVM: Remove pgd_lock



The lock has never been used and the page tables are protected by
mmu_lock in struct kvm.

Reviewed-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: default avatarSteven Price <steven.price@arm.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Signed-off-by: default avatarChristoffer Dall <christoffer.dall@arm.com>
parent a35381e1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -61,8 +61,7 @@ struct kvm_arch {
	u64    vmid_gen;
	u32    vmid;

	/* 1-level 2nd stage table and lock */
	spinlock_t pgd_lock;
	/* 1-level 2nd stage table, protected by kvm->mmu_lock */
	pgd_t *pgd;

	/* VTTBR value associated with above pgd and vmid */