[Top] [All Lists]

[PATCH v3 0/5] mips/kvm: Fix ABI for compatibility with 64-bit guests.

To:,,, Sanjay Lal <>
Subject: [PATCH v3 0/5] mips/kvm: Fix ABI for compatibility with 64-bit guests.
From: David Daney <>
Date: Mon, 20 May 2013 14:01:21 -0700
Cc:, David Daney <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=RXGefvT2OfAtygtTZtkJ/7bVIHIChZtM41kPWlYWiKc=; b=XZaxeUfNAKVi5SiRECKZuMNEq5EnwOzkdYSPXYoSQRPYAPb/DJqEkmb4CbrmcclBYh c6NbCSxkQC3eFsZeIaxhmUTT8pnPWef+06eua/pXDmi8M/4d4blMzbbp1JOuByNspK5G ixbkKrNiuUqe9admgSwMgff43HMO8AkJ2/Vtv20d1Lkt3njc1cfqEfPcwQxDal2I82gu 3nqfBedHmH5agVZG5oVoumyHcJIu9uBDS0O5MKWM/RHQwZio/QoSnmqiMkI+M0rTu942 chRFVq7PXXvPerzzCavZYpFu5cQjtpOe7f62/I8gmQofQ8/Yg1PuQZPtq4qtjpLsOsJi XAMA==
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
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.

Changes from v2:  Split into five parts, no code change.

David Daney (5):
  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
  mips/kvm: Fix ABI by moving manipulation of CP0 registers to

 arch/mips/include/asm/kvm.h      | 111 ++++++++++---
 arch/mips/include/asm/kvm_host.h |   4 -
 arch/mips/kvm/kvm_mips.c         | 102 +-----------
 arch/mips/kvm/kvm_trap_emul.c    | 330 ++++++++++++++++++++++++++++++++++-----
 4 files changed, 386 insertions(+), 161 deletions(-)


<Prev in Thread] Current Thread [Next in Thread>