From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailapp01.imgtec.com ([195.59.15.196]:47111 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753687AbcFIJvF (ORCPT ); Thu, 9 Jun 2016 05:51:05 -0400 From: James Hogan To: Paolo Bonzini CC: James Hogan , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Ralf Baechle , , , Subject: [PATCH 0/4] MIPS: KVM: Module + non dynamic translating fixes Date: Thu, 9 Jun 2016 10:50:42 +0100 Message-ID: <1465465846-31918-1-git-send-email-james.hogan@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: These patches fix a couple of issues I recently spotted when running KVM under QEMU (i.e. the host MIPS kernel is running under QEMU on a PC). Patches 1-2: Fix modular KVM broken by QEMU TLB optimisation (Patch 1 marked for stable). Patches 3-4: Fix cache instruction emulation, exposed by having dynamic translation of emulated instructions accidentally turned off. James Hogan (4): MIPS: KVM: Fix modular KVM under QEMU MIPS: KVM: Include bit 31 in segment matches MIPS: KVM: Don't unwind PC when emulating CACHE MIPS: KVM: Fix CACHE triggered exception emulation arch/mips/include/asm/kvm_host.h | 3 ++- arch/mips/kvm/emulate.c | 21 ++++++++++++++------- arch/mips/kvm/interrupt.h | 1 + arch/mips/kvm/locore.S | 1 + arch/mips/kvm/mips.c | 11 ++++++++++- 5 files changed, 28 insertions(+), 9 deletions(-) Cc: Paolo Bonzini Cc: Radim Krčmář Cc: Ralf Baechle Cc: kvm@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: stable@vger.kernel.org -- 2.4.10