Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754861Ab3EVMzJ (ORCPT ); Wed, 22 May 2013 08:55:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15421 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751769Ab3EVMzH (ORCPT ); Wed, 22 May 2013 08:55:07 -0400 Date: Wed, 22 May 2013 15:54:53 +0300 From: Gleb Natapov To: David Daney Cc: linux-mips@linux-mips.org, ralf@linux-mips.org, kvm@vger.kernel.org, Sanjay Lal , linux-kernel@vger.kernel.org, David Daney Subject: Re: [PATCH v4 0/6] mips/kvm: Fix ABI for compatibility with 64-bit guests. Message-ID: <20130522125453.GN14287@redhat.com> References: <1369169695-10444-1-git-send-email-ddaney.cavm@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1369169695-10444-1-git-send-email-ddaney.cavm@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1603 Lines: 43 On Tue, May 21, 2013 at 01:54:49PM -0700, David Daney wrote: > From: David Daney > > The initial patch set implementing MIPS KVM does not handle 64-bit > guests or use of the FPU. This patch set corrects these ABI issues, > and does some very minor clean up. > Sanjay, is this looks good to you. What userspace MIPS is using for machine emulation? Is there corresponding patches to the userspace? > Chandes from v3: Use KVM_SET_ONE_REG instead of KVM_SET_MSRS. Added > ENOIOCTLCMD patch. > > Changes from v2: Split into five parts, no code change. > > David Daney (6): > mips/kvm: Fix ABI for use of FPU. > mips/kvm: Fix ABI for use of 64-bit registers. > mips/kvm: Fix name of gpr field in struct kvm_regs. > mips/kvm: Use ARRAY_SIZE() instead of hardcoded constants in > kvm_arch_vcpu_ioctl_{s,g}et_regs > mips/kvm: Fix ABI by moving manipulation of CP0 registers to > KVM_{G,S}ET_ONE_REG > mips/kvm: Use ENOIOCTLCMD to indicate unimplemented ioctls. > > arch/mips/include/asm/kvm.h | 137 ++++++++++++---- > arch/mips/include/asm/kvm_host.h | 4 - > arch/mips/kvm/kvm_mips.c | 118 +++----------- > arch/mips/kvm/kvm_trap_emul.c | 338 ++++++++++++++++++++++++++++++++++----- > 4 files changed, 430 insertions(+), 167 deletions(-) > > -- > 1.7.11.7 -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/