diff options
-rw-r--r-- | arch/arm/include/asm/kvm_hyp.h | 1 | ||||
-rw-r--r-- | arch/arm/kvm/hyp/switch.c | 1 | ||||
-rw-r--r-- | arch/arm/kvm/hyp/tlb.c | 1 | ||||
-rw-r--r-- | arch/arm64/include/asm/kvm_hyp.h | 1 | ||||
-rw-r--r-- | arch/arm64/kvm/hyp/debug-sr.c | 1 | ||||
-rw-r--r-- | arch/arm64/kvm/hyp/switch.c | 1 | ||||
-rw-r--r-- | arch/arm64/kvm/hyp/tlb.c | 1 | ||||
-rw-r--r-- | virt/kvm/arm/hyp/vgic-v2-sr.c | 1 |
8 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/include/asm/kvm_hyp.h b/arch/arm/include/asm/kvm_hyp.h index ab20ffa8b9e7..76368de7237b 100644 --- a/arch/arm/include/asm/kvm_hyp.h +++ b/arch/arm/include/asm/kvm_hyp.h | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/compiler.h> | 21 | #include <linux/compiler.h> |
22 | #include <linux/kvm_host.h> | 22 | #include <linux/kvm_host.h> |
23 | #include <asm/cp15.h> | 23 | #include <asm/cp15.h> |
24 | #include <asm/kvm_mmu.h> | ||
25 | #include <asm/vfp.h> | 24 | #include <asm/vfp.h> |
26 | 25 | ||
27 | #define __hyp_text __section(.hyp.text) notrace | 26 | #define __hyp_text __section(.hyp.text) notrace |
diff --git a/arch/arm/kvm/hyp/switch.c b/arch/arm/kvm/hyp/switch.c index 330c9ce34ba5..ae45ae96aac2 100644 --- a/arch/arm/kvm/hyp/switch.c +++ b/arch/arm/kvm/hyp/switch.c | |||
@@ -18,6 +18,7 @@ | |||
18 | 18 | ||
19 | #include <asm/kvm_asm.h> | 19 | #include <asm/kvm_asm.h> |
20 | #include <asm/kvm_hyp.h> | 20 | #include <asm/kvm_hyp.h> |
21 | #include <asm/kvm_mmu.h> | ||
21 | 22 | ||
22 | __asm__(".arch_extension virt"); | 23 | __asm__(".arch_extension virt"); |
23 | 24 | ||
diff --git a/arch/arm/kvm/hyp/tlb.c b/arch/arm/kvm/hyp/tlb.c index 6d810af2d9fd..c0edd450e104 100644 --- a/arch/arm/kvm/hyp/tlb.c +++ b/arch/arm/kvm/hyp/tlb.c | |||
@@ -19,6 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <asm/kvm_hyp.h> | 21 | #include <asm/kvm_hyp.h> |
22 | #include <asm/kvm_mmu.h> | ||
22 | 23 | ||
23 | /** | 24 | /** |
24 | * Flush per-VMID TLBs | 25 | * Flush per-VMID TLBs |
diff --git a/arch/arm64/include/asm/kvm_hyp.h b/arch/arm64/include/asm/kvm_hyp.h index 08d3bb66c8b7..f26f9cd70c72 100644 --- a/arch/arm64/include/asm/kvm_hyp.h +++ b/arch/arm64/include/asm/kvm_hyp.h | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include <linux/compiler.h> | 21 | #include <linux/compiler.h> |
22 | #include <linux/kvm_host.h> | 22 | #include <linux/kvm_host.h> |
23 | #include <asm/kvm_mmu.h> | ||
24 | #include <asm/sysreg.h> | 23 | #include <asm/sysreg.h> |
25 | 24 | ||
26 | #define __hyp_text __section(.hyp.text) notrace | 25 | #define __hyp_text __section(.hyp.text) notrace |
diff --git a/arch/arm64/kvm/hyp/debug-sr.c b/arch/arm64/kvm/hyp/debug-sr.c index 321c9c05dd9e..360455f86346 100644 --- a/arch/arm64/kvm/hyp/debug-sr.c +++ b/arch/arm64/kvm/hyp/debug-sr.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <asm/debug-monitors.h> | 21 | #include <asm/debug-monitors.h> |
22 | #include <asm/kvm_asm.h> | 22 | #include <asm/kvm_asm.h> |
23 | #include <asm/kvm_hyp.h> | 23 | #include <asm/kvm_hyp.h> |
24 | #include <asm/kvm_mmu.h> | ||
24 | 25 | ||
25 | #define read_debug(r,n) read_sysreg(r##n##_el1) | 26 | #define read_debug(r,n) read_sysreg(r##n##_el1) |
26 | #define write_debug(v,r,n) write_sysreg(v, r##n##_el1) | 27 | #define write_debug(v,r,n) write_sysreg(v, r##n##_el1) |
diff --git a/arch/arm64/kvm/hyp/switch.c b/arch/arm64/kvm/hyp/switch.c index f7c651f3a8c0..f3d8bed096f5 100644 --- a/arch/arm64/kvm/hyp/switch.c +++ b/arch/arm64/kvm/hyp/switch.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <asm/kvm_asm.h> | 21 | #include <asm/kvm_asm.h> |
22 | #include <asm/kvm_emulate.h> | 22 | #include <asm/kvm_emulate.h> |
23 | #include <asm/kvm_hyp.h> | 23 | #include <asm/kvm_hyp.h> |
24 | #include <asm/kvm_mmu.h> | ||
24 | #include <asm/fpsimd.h> | 25 | #include <asm/fpsimd.h> |
25 | #include <asm/debug-monitors.h> | 26 | #include <asm/debug-monitors.h> |
26 | 27 | ||
diff --git a/arch/arm64/kvm/hyp/tlb.c b/arch/arm64/kvm/hyp/tlb.c index 73464a96c365..131c7772703c 100644 --- a/arch/arm64/kvm/hyp/tlb.c +++ b/arch/arm64/kvm/hyp/tlb.c | |||
@@ -16,6 +16,7 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <asm/kvm_hyp.h> | 18 | #include <asm/kvm_hyp.h> |
19 | #include <asm/kvm_mmu.h> | ||
19 | #include <asm/tlbflush.h> | 20 | #include <asm/tlbflush.h> |
20 | 21 | ||
21 | static void __hyp_text __tlb_switch_to_guest_vhe(struct kvm *kvm) | 22 | static void __hyp_text __tlb_switch_to_guest_vhe(struct kvm *kvm) |
diff --git a/virt/kvm/arm/hyp/vgic-v2-sr.c b/virt/kvm/arm/hyp/vgic-v2-sr.c index d7fd46fe9efb..4fe6e797e8b3 100644 --- a/virt/kvm/arm/hyp/vgic-v2-sr.c +++ b/virt/kvm/arm/hyp/vgic-v2-sr.c | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | #include <asm/kvm_emulate.h> | 22 | #include <asm/kvm_emulate.h> |
23 | #include <asm/kvm_hyp.h> | 23 | #include <asm/kvm_hyp.h> |
24 | #include <asm/kvm_mmu.h> | ||
24 | 25 | ||
25 | static void __hyp_text save_elrsr(struct kvm_vcpu *vcpu, void __iomem *base) | 26 | static void __hyp_text save_elrsr(struct kvm_vcpu *vcpu, void __iomem *base) |
26 | { | 27 | { |