Lines Matching full:tlb
6 * KVM/MIPS TLB handling, this file is part of the Linux host kernel so that
7 * TLB handlers run from KSEG0
26 #include <asm/tlb.h>
92 * Sets the root GuestID to match the current guest GuestID, for TLB operation
93 * on the GPA->RPA mappings in the root TLB.
96 * possibly longer if TLB registers are modified.
121 /* Set root GuestID for root probe and write of guest TLB entry */ in kvm_vz_host_tlb_inv()
137 * We don't want to get reserved instruction exceptions for missing tlb in kvm_vz_host_tlb_inv()
153 * kvm_vz_guest_tlb_lookup() - Lookup a guest VZ TLB mapping.
155 * @gpa: Guest virtual address in a TLB mapped guest segment.
158 * Converts a guest virtual address in a guest TLB mapped segment to a guest
159 * physical address, by probing the guest TLB.
161 * Returns: 0 if guest TLB mapping exists for @gva. *@gpa will have been
163 * -EFAULT if no guest TLB mapping exists for @gva. *@gpa may not
175 /* Probe the guest TLB for a mapping */ in kvm_vz_guest_tlb_lookup()
177 /* Set root GuestID for root probe of guest TLB entry */ in kvm_vz_guest_tlb_lookup()
201 /* Match! read the TLB entry */ in kvm_vz_guest_tlb_lookup()
229 * TLB entry may have become invalid since TLB probe if physical FTLB in kvm_vz_guest_tlb_lookup()
248 * kvm_vz_local_flush_roottlb_all_guests() - Flush all root TLB entries for
251 * Invalidate all entries in root tlb which are GPA mappings.
271 * Invalidate guest entries in root TLB while leaving root entries in kvm_vz_local_flush_roottlb_all_guests()
280 /* Don't invalidate non-guest (RVA) mappings in the root TLB */ in kvm_vz_local_flush_roottlb_all_guests()
304 * kvm_vz_local_flush_guesttlb_all() - Flush all guest TLB entries.
306 * Invalidate all entries in guest tlb irrespective of guestid.
329 /* Inhibit machine check due to multiple matching TLB entries */ in kvm_vz_local_flush_guesttlb_all()
336 /* Invalidate guest entries in guest TLB */ in kvm_vz_local_flush_guesttlb_all()
365 * kvm_vz_save_guesttlb() - Save a range of guest TLB entries.
366 * @buf: Buffer to write TLB entries into.
370 * Save a range of guest TLB entries. The caller must ensure interrupts are
394 /* Read each entry from guest TLB */ in kvm_vz_save_guesttlb()
434 * kvm_vz_load_guesttlb() - Save a range of guest TLB entries.
435 * @buf: Buffer to read TLB entries from.
439 * Load a range of guest TLB entries. The caller must ensure interrupts are
460 /* Write each entry to guest TLB */ in kvm_vz_load_guesttlb()
492 /* Set root GuestID for root probe and write of guest TLB entry */ in kvm_loongson_clear_guest_vtlb()
509 /* Set root GuestID for root probe and write of guest TLB entry */ in kvm_loongson_clear_guest_ftlb()