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

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
...@@ -61,8 +61,7 @@ struct kvm_arch { ...@@ -61,8 +61,7 @@ struct kvm_arch {
u64 vmid_gen; u64 vmid_gen;
u32 vmid; u32 vmid;
/* 1-level 2nd stage table and lock */ /* 1-level 2nd stage table, protected by kvm->mmu_lock */
spinlock_t pgd_lock;
pgd_t *pgd; pgd_t *pgd;
/* VTTBR value associated with above pgd and vmid */ /* VTTBR value associated with above pgd and vmid */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment