diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-09-16 15:14:09 +0300 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2016-09-29 14:40:12 +0300 |
commit | bf18db4e7bd99f3a65bcc43225790b16af733321 (patch) | |
tree | db35036476c169d02aa95fa891b79b1863e4a382 /include/dt-bindings/clock/pistachio-clk.h | |
parent | 25b08c7fb0e410bdf7c42ea1faff816eb0451bbc (diff) | |
download | linux-bf18db4e7bd99f3a65bcc43225790b16af733321.tar.xz |
KVM: MIPS: Drop dubious EntryHi optimisation
There exists a slightly dubious optimisation in the implementation of
the MIPS KVM EntryHi emulation which skips TLB invalidation if the
EntryHi points to an address in the guest KSeg0 region, intended to
catch guest TLB invalidations where the ASID is almost immediately
restored to the previous value.
Now that we perform lazy host ASID regeneration for guest user mode when
the guest ASID changes we should be able to drop the optimisation
without a significant impact (only the extra TLB refills for the small
amount of code while the TLB is being invalidated).
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Diffstat (limited to 'include/dt-bindings/clock/pistachio-clk.h')
0 files changed, 0 insertions, 0 deletions