[PATCH 0/5] MIPS: KVM: A few misc fixes

James Hogan
2016-04-22T09:39:31Z

Here are a few misc fixes for KVM on MIPS, including 2 guest timer race
fixes, 2 preemption fixes, and missing hazard barriers after disabling
FPU.

James Hogan (5):
MIPS: KVM: Fix timer IRQ race when freezing timer
MIPS: KVM: Fix timer IRQ race when writing CP0_Compare
MIPS: KVM: Fix preemptable kvm_mips_get_*_asid() calls
MIPS: KVM: Fix preemption warning reading FPU capability
MIPS: KVM: Add missing disable FPU hazard barriers

arch/mips/include/asm/kvm_host.h | 2 +-
arch/mips/kvm/emulate.c | 89 ++++++++++++++++++++++------------------
arch/mips/kvm/mips.c | 8 +++-
arch/mips/kvm/tlb.c | 32 ++++++++++-----
arch/mips/kvm/trap_emul.c | 2 +-
5 files changed, 79 insertions(+), 54 deletions(-)

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
Cc: <stable@vger.kernel.org>
--
2.4.10