projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a35381e
)
arm64: KVM: Remove pgd_lock
author
Steven Price
<
[email protected]
>
Mon, 13 Aug 2018 16:04:53 +0000
(17:04 +0100)
committer
Christoffer Dall
<
[email protected]
>
Fri, 7 Sep 2018 13:06:03 +0000
(15:06 +0200)
The lock has never been used and the page tables are protected by
mmu_lock in struct kvm.
Reviewed-by: Suzuki K Poulose <
[email protected]
>
Signed-off-by: Steven Price <
[email protected]
>
Signed-off-by: Marc Zyngier <
[email protected]
>
Signed-off-by: Christoffer Dall <
[email protected]
>
arch/arm64/include/asm/kvm_host.h
patch
|
blob
|
history
diff --git
a/arch/arm64/include/asm/kvm_host.h
b/arch/arm64/include/asm/kvm_host.h
index 8e6d46df38aa0b1c05cdbcded6159d1d6b15d5e2..3d6d7336f871221fd29bcc3bc4faa2cee0a7765f 100644
(file)
--- a/
arch/arm64/include/asm/kvm_host.h
+++ b/
arch/arm64/include/asm/kvm_host.h
@@
-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 */