linux-mips
[Top] [All Lists]

[PATCH 1/2] kvm: Add definition of KVM_REG_MIPS

To: linux-mips@linux-mips.org, ralf@linux-mips.org, kvm@vger.kernel.org, Sanjay Lal <sanjayl@kymasys.com>, Gleb Natapov <gleb@redhat.com>
Subject: [PATCH 1/2] kvm: Add definition of KVM_REG_MIPS
From: David Daney <ddaney.cavm@gmail.com>
Date: Mon, 10 Jun 2013 12:33:47 -0700
Cc: linux-kernel@vger.kernel.org, David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=lX5DAPcJxrGdQ+4RI6QQg0K62Vmbrpy8Bn1RoJI9a8w=; b=tdOVkpAZWYhIdd6Ja+zopz4uVjlv+Cc1TVynN7D+xP2jl8XB7tei6iMCTfTVRLvcQ/ XCVcT6VhD3rMXoTwP2SSoQ3m6tni2SVNZOYvacXUxp7JDurn5aaOyU9WnBCEouXspbsz 5FcXLErEAldFLW3ZaP32bEarffa67nm4PDasMZCtGtJynWKoA6KNyJLWo0uyRkt2JyBr /jTp4nwfbLZcsmiEBB5rIr5VH8Rj4zgxF16xq72qKWoXgZsx2X/oQasWAzA3fcSadZun OkJJZZ4K7peuArjCyRpNiSzexTYwIQazNmU59ZypiRcEy6mn0KiXrh6JA0zs2hO1GN+N IojQ==
In-reply-to: <1370892828-21676-1-git-send-email-ddaney.cavm@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1370892828-21676-1-git-send-email-ddaney.cavm@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

We use 0x7000000000000000ULL as 0x6000000000000000ULL is reserved for
ARM64.

Signed-off-by: David Daney <david.daney@cavium.com>
---
 include/uapi/linux/kvm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index a5c86fc..d88c8ee 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -783,6 +783,7 @@ struct kvm_dirty_tlb {
 #define KVM_REG_IA64           0x3000000000000000ULL
 #define KVM_REG_ARM            0x4000000000000000ULL
 #define KVM_REG_S390           0x5000000000000000ULL
+#define KVM_REG_MIPS           0x7000000000000000ULL
 
 #define KVM_REG_SIZE_SHIFT     52
 #define KVM_REG_SIZE_MASK      0x00f0000000000000ULL
-- 
1.7.11.7


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