mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Steven Price <steven.price@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
This commit is contained in:
parent
a35381e10d
commit
df3190e220
1 changed files with 1 additions and 2 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue