From patchwork Thu Jun 28 05:39:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bharat Bhushan X-Patchwork-Id: 167791 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 633D4100919 for ; Thu, 28 Jun 2012 15:35:37 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392Ab2F1Ffb (ORCPT ); Thu, 28 Jun 2012 01:35:31 -0400 Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14]:23071 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751152Ab2F1Ffa (ORCPT ); Thu, 28 Jun 2012 01:35:30 -0400 Received: from mail126-tx2-R.bigfish.com (10.9.14.243) by TX2EHSOBE006.bigfish.com (10.9.40.26) with Microsoft SMTP Server id 14.1.225.23; Thu, 28 Jun 2012 05:33:44 +0000 Received: from mail126-tx2 (localhost [127.0.0.1]) by mail126-tx2-R.bigfish.com (Postfix) with ESMTP id 65C7BC0366; Thu, 28 Jun 2012 05:33:44 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 3 X-BigFish: VS3(zzzz1202h1082kzz8275bhz2dh2a8h668h839he5bhf0ah) Received: from mail126-tx2 (localhost.localdomain [127.0.0.1]) by mail126-tx2 (MessageSwitch) id 1340861622900682_2528; Thu, 28 Jun 2012 05:33:42 +0000 (UTC) Received: from TX2EHSMHS029.bigfish.com (unknown [10.9.14.238]) by mail126-tx2.bigfish.com (Postfix) with ESMTP id D83DF220044; Thu, 28 Jun 2012 05:33:42 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS029.bigfish.com (10.9.99.129) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 28 Jun 2012 05:33:42 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.2.298.5; Thu, 28 Jun 2012 00:35:27 -0500 Received: from freescale.com ([10.232.15.72]) by az84smr01.freescale.net (8.14.3/8.14.0) with SMTP id q5S5ZMv1028153; Wed, 27 Jun 2012 22:35:24 -0700 Received: by freescale.com (sSMTP sendmail emulation); Thu, 28 Jun 2012 11:10:00 +0530 From: Bharat Bhushan To: , , CC: Bharat Bhushan Subject: [PATCH 1/4] Synchronize the linux-headers Date: Thu, 28 Jun 2012 11:09:56 +0530 Message-ID: <1340861999-31281-1-git-send-email-Bharat.Bhushan@freescale.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: kvm-ppc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm-ppc@vger.kernel.org From: Bharat Bhushan Qemu and KVM linux/kvm.h were not in sync. Signed-off-by: Bharat Bhushan --- linux-headers/linux/kvm.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 5a9d4e3..4b9e575 100644 --- a/linux-headers/linux/kvm.h +++ b/linux-headers/linux/kvm.h @@ -617,6 +617,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_SIGNAL_MSI 77 #define KVM_CAP_PPC_GET_SMMU_INFO 78 #define KVM_CAP_S390_COW 79 +#define KVM_CAP_PPC_ALLOC_HTAB 80 #ifdef KVM_CAP_IRQ_ROUTING @@ -828,6 +829,8 @@ struct kvm_s390_ucas_mapping { #define KVM_SIGNAL_MSI _IOW(KVMIO, 0xa5, struct kvm_msi) /* Available with KVM_CAP_PPC_GET_SMMU_INFO */ #define KVM_PPC_GET_SMMU_INFO _IOR(KVMIO, 0xa6, struct kvm_ppc_smmu_info) +/* Available with KVM_CAP_PPC_ALLOC_HTAB */ +#define KVM_PPC_ALLOCATE_HTAB _IOWR(KVMIO, 0xa7, __u32) /* * ioctls for vcpu fds