|
@@ -48,6 +48,9 @@ void __hyp_text __tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa)
|
|
|
write_sysreg(0, vttbr_el2);
|
|
|
}
|
|
|
|
|
|
+__alias(__tlb_flush_vmid_ipa)
|
|
|
+void __weak __kvm_tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa);
|
|
|
+
|
|
|
void __hyp_text __tlb_flush_vmid(struct kvm *kvm)
|
|
|
{
|
|
|
dsb(ishst);
|
|
@@ -64,6 +67,9 @@ void __hyp_text __tlb_flush_vmid(struct kvm *kvm)
|
|
|
write_sysreg(0, vttbr_el2);
|
|
|
}
|
|
|
|
|
|
+__alias(__tlb_flush_vmid)
|
|
|
+void __weak __kvm_tlb_flush_vmid(struct kvm *kvm);
|
|
|
+
|
|
|
void __hyp_text __tlb_flush_vm_context(void)
|
|
|
{
|
|
|
dsb(ishst);
|
|
@@ -71,3 +77,6 @@ void __hyp_text __tlb_flush_vm_context(void)
|
|
|
"ic ialluis ": : );
|
|
|
dsb(ish);
|
|
|
}
|
|
|
+
|
|
|
+__alias(__tlb_flush_vm_context)
|
|
|
+void __weak __kvm_flush_vm_context(void);
|