|
@@ -221,6 +221,18 @@ static inline void __cpu_init_hyp_mode(phys_addr_t boot_pgd_ptr,
|
|
kvm_call_hyp((void*)hyp_stack_ptr, vector_ptr, pgd_ptr);
|
|
kvm_call_hyp((void*)hyp_stack_ptr, vector_ptr, pgd_ptr);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * kvm_flush_remote_tlbs() - flush all VM TLB entries
|
|
|
|
+ * @kvm: pointer to kvm structure.
|
|
|
|
+ *
|
|
|
|
+ * Interface to HYP function to flush all VM TLB entries without address
|
|
|
|
+ * parameter.
|
|
|
|
+ */
|
|
|
|
+static inline void kvm_flush_remote_tlbs(struct kvm *kvm)
|
|
|
|
+{
|
|
|
|
+ kvm_call_hyp(__kvm_tlb_flush_vmid, kvm);
|
|
|
|
+}
|
|
|
|
+
|
|
static inline int kvm_arch_dev_ioctl_check_extension(long ext)
|
|
static inline int kvm_arch_dev_ioctl_check_extension(long ext)
|
|
{
|
|
{
|
|
return 0;
|
|
return 0;
|