These two patches fix TLBWR and TLBR instruction emulation for Trap & Emulate guests, so that wired entries are properly preserved and so that the entries can be read back by the guest itself. Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx> Cc: "Radim Krčmář" <rkrcmar@xxxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: linux-mips@xxxxxxxxxxxxxx Cc: kvm@xxxxxxxxxxxxxxx Cc: stable@xxxxxxxxxxxxxxx James Hogan (2): KVM: MIPS/Emulate: Fix TLBWR with wired for T&E KVM: MIPS/Emulate: Properly implement TLBR for T&E arch/mips/kvm/emulate.c | 103 ++++++++++++++++++++++------------------- 1 file changed, 56 insertions(+), 47 deletions(-) -- git-series 0.8.10