From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailapp01.imgtec.com ([195.59.15.196]:37368 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23993939AbdCNRAUTr52E (ORCPT ); Tue, 14 Mar 2017 18:00:20 +0100 From: James Hogan Subject: [PATCH 0/2] KVM: MIPS/Emulate: TLBWR & TLBR fixes for T&E Date: Tue, 14 Mar 2017 17:00:06 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: linux-mips@linux-mips.org Cc: James Hogan , Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Ralf Baechle , kvm@vger.kernel.org, stable@vger.kernel.org Message-ID: <20170314170006.fjYp-JiM9weUn-UpHWUjiy_I7vGSS9dfMr20k9CGNBU@z> 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 Cc: "Radim Krčmář" Cc: Ralf Baechle Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org Cc: stable@vger.kernel.org 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