Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1325801
| From | Marc Zyngier <marc.zyngier@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 01/23] arm/arm64: KVM: Add hook for C-based stage2 init |
| Date | 2016-02-03 19:20 +0100 |
| Message-ID | <qYac3-5uj-51@gated-at.bofh.it> (permalink) |
| References | <qYa2m-5r0-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
---
arch/arm/include/asm/kvm_host.h | 4 ++++
arch/arm/kvm/arm.c | 1 +
arch/arm64/include/asm/kvm_host.h | 4 ++++
3 files changed, 9 insertions(+)
diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h
index f9f2779..f1e86f1 100644
--- a/arch/arm/include/asm/kvm_host.h
+++ b/arch/arm/include/asm/kvm_host.h
@@ -220,6 +220,10 @@ static inline void __cpu_init_hyp_mode(phys_addr_t boot_pgd_ptr,
kvm_call_hyp((void*)hyp_stack_ptr, vector_ptr, pgd_ptr);
}
+static inline void __cpu_init_stage2(void)
+{
+}
+
static inline int kvm_arch_dev_ioctl_check_extension(long ext)
{
return 0;
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index dda1959..6b76e01 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -985,6 +985,7 @@ static void cpu_init_hyp_mode(void *dummy)
vector_ptr = (unsigned long)__kvm_hyp_vector;
__cpu_init_hyp_mode(boot_pgd_ptr, pgd_ptr, hyp_stack_ptr, vector_ptr);
+ __cpu_init_stage2();
kvm_arm_init_debug();
}
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h
index 689d4c9..fe86cf9 100644
--- a/arch/arm64/include/asm/kvm_host.h
+++ b/arch/arm64/include/asm/kvm_host.h
@@ -332,6 +332,10 @@ static inline void __cpu_init_hyp_mode(phys_addr_t boot_pgd_ptr,
hyp_stack_ptr, vector_ptr);
}
+static inline void __cpu_init_stage2(void)
+{
+}
+
static inline void kvm_arch_hardware_disable(void) {}
static inline void kvm_arch_hardware_unsetup(void) {}
static inline void kvm_arch_sync_events(struct kvm *kvm) {}
--
2.1.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 00/23] arm64: Virtualization Host Extension support Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
[PATCH v3 14/23] arm64: KVM: VHE: Make __fpsimd_enabled VHE aware Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
[PATCH v3 22/23] arm64: VHE: Add support for running Linux in EL2 mode Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
Re: [PATCH v3 22/23] arm64: VHE: Add support for running Linux in EL2 mode Christoffer Dall <christoffer.dall@linaro.org> - 2016-02-04 20:30 +0100
Re: [PATCH v3 22/23] arm64: VHE: Add support for running Linux in EL2 mode Catalin Marinas <catalin.marinas@arm.com> - 2016-02-08 17:00 +0100
[PATCH v3 19/23] arm64: KVM: Move most of the fault decoding to C Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
Re: [PATCH v3 19/23] arm64: KVM: Move most of the fault decoding to C Christoffer Dall <christoffer.dall@linaro.org> - 2016-02-04 20:30 +0100
Re: [PATCH v3 19/23] arm64: KVM: Move most of the fault decoding to C Catalin Marinas <catalin.marinas@arm.com> - 2016-02-08 15:50 +0100
[PATCH v3 13/23] arm64: KVM: VHE: Enable minimal sysreg save/restore Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
[PATCH v3 16/23] arm64: KVM: VHE: Use unified sysreg accessors for timer Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
[PATCH v3 01/23] arm/arm64: KVM: Add hook for C-based stage2 init Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:20 +0100
Re: [PATCH v3 00/23] arm64: Virtualization Host Extension support Christoffer Dall <christoffer.dall@linaro.org> - 2016-02-04 20:30 +0100
Re: [PATCH v3 00/23] arm64: Virtualization Host Extension support Marc Zyngier <marc.zyngier@arm.com> - 2016-02-05 10:00 +0100
csiph-web