From patchwork Sun Dec 4 18:26:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghavendra K T X-Patchwork-Id: 129186 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 73CCD1007D5 for ; Mon, 5 Dec 2011 05:26:54 +1100 (EST) Received: from localhost ([::1]:34036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXGm2-0000QE-Qg for incoming@patchwork.ozlabs.org; Sun, 04 Dec 2011 13:26:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXGlY-0007X9-8Y for qemu-devel@nongnu.org; Sun, 04 Dec 2011 13:26:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXGlX-0006dm-0A for qemu-devel@nongnu.org; Sun, 04 Dec 2011 13:26:20 -0500 Received: from e28smtp09.in.ibm.com ([122.248.162.9]:41101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXGlW-0006dW-6t for qemu-devel@nongnu.org; Sun, 04 Dec 2011 13:26:18 -0500 Received: from /spool/local by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 4 Dec 2011 23:56:15 +0530 Received: from d28relay01.in.ibm.com (9.184.220.58) by e28smtp09.in.ibm.com (192.168.1.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sun, 4 Dec 2011 23:56:14 +0530 Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB4IQDdR4198510 for ; Sun, 4 Dec 2011 23:56:13 +0530 Received: from d28av02.in.ibm.com (loopback [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB4IQDoU010264 for ; Mon, 5 Dec 2011 05:26:13 +1100 Received: from oc5400248562.ibm.com ([9.79.238.83]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id pB4IQA5X010226; Mon, 5 Dec 2011 05:26:12 +1100 From: Raghavendra K T To: Alexander Graf , kvm@vger.kernel.org, qemu-devel@nongnu.org, Marcelo Tosatti , Avi Kivity , Jan Kiszka Date: Sun, 04 Dec 2011 23:56:10 +0530 Message-Id: <20111204182609.28487.50046.sendpatchset@oc5400248562.ibm.com> In-Reply-To: <20111204182541.28487.68163.sendpatchset@oc5400248562.ibm.com> References: <20111204182541.28487.68163.sendpatchset@oc5400248562.ibm.com> x-cbid: 11120418-2674-0000-0000-00000285B85B X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 122.248.162.9 Cc: Raghavendra K T , Suzuki Poulose , Srivatsa Vaddagiri Subject: [Qemu-devel] [PATCH 2/3] QEMU kvm: Syncing linux headers to support KICK_VCPU capability X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Update the kernel header that adds a hypercall to support pv-ticketlocks. Signed-off-by: Raghavendra K T diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86/kvm_para.h index f2ac46a..03d3a36 100644 --- a/linux-headers/asm-x86/kvm_para.h +++ b/linux-headers/asm-x86/kvm_para.h @@ -16,12 +16,14 @@ #define KVM_FEATURE_CLOCKSOURCE 0 #define KVM_FEATURE_NOP_IO_DELAY 1 #define KVM_FEATURE_MMU_OP 2 + /* This indicates that the new set of kvmclock msrs * are available. The use of 0x11 and 0x12 is deprecated */ #define KVM_FEATURE_CLOCKSOURCE2 3 #define KVM_FEATURE_ASYNC_PF 4 #define KVM_FEATURE_STEAL_TIME 5 +#define KVM_FEATURE_KICK_VCPU 6 /* The last 8 bits are used to indicate how to interpret the flags field * in pvclock structure. If no bits are set, all flags are ignored. diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 07bd557..47ab6ff 100644 --- a/linux-headers/linux/kvm.h +++ b/linux-headers/linux/kvm.h @@ -558,6 +558,7 @@ struct kvm_ppc_pvinfo { #define KVM_CAP_PPC_HIOR 67 #define KVM_CAP_PPC_PAPR 68 #define KVM_CAP_S390_GMAP 71 +#define KVM_CAP_KICK_VCPU 72 #ifdef KVM_CAP_IRQ_ROUTING diff --git a/linux-headers/linux/kvm_para.h b/linux-headers/linux/kvm_para.h index b315e27..e4a0e3e 100644 --- a/linux-headers/linux/kvm_para.h +++ b/linux-headers/linux/kvm_para.h @@ -19,6 +19,7 @@ #define KVM_HC_MMU_OP 2 #define KVM_HC_FEATURES 3 #define KVM_HC_PPC_MAP_MAGIC_PAGE 4 +#define KVM_HC_KICK_CPU 5 /* * hypercalls use architecture specific