From patchwork Tue Jul 10 07:03:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bharat Bhushan X-Patchwork-Id: 170064 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 5B6CC2C007F for ; Tue, 10 Jul 2012 17:00:28 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754028Ab2GJHA1 (ORCPT ); Tue, 10 Jul 2012 03:00:27 -0400 Received: from co1ehsobe002.messaging.microsoft.com ([216.32.180.185]:10873 "EHLO co1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752152Ab2GJHA0 (ORCPT ); Tue, 10 Jul 2012 03:00:26 -0400 Received: from mail8-co1-R.bigfish.com (10.243.78.245) by CO1EHSOBE009.bigfish.com (10.243.66.72) with Microsoft SMTP Server id 14.1.225.23; Tue, 10 Jul 2012 06:58:08 +0000 Received: from mail8-co1 (localhost [127.0.0.1]) by mail8-co1-R.bigfish.com (Postfix) with ESMTP id A91C3B40339; Tue, 10 Jul 2012 06:58:07 +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 mail8-co1 (localhost.localdomain [127.0.0.1]) by mail8-co1 (MessageSwitch) id 1341903485472977_7606; Tue, 10 Jul 2012 06:58:05 +0000 (UTC) Received: from CO1EHSMHS030.bigfish.com (unknown [10.243.78.232]) by mail8-co1.bigfish.com (Postfix) with ESMTP id 713C188004A; Tue, 10 Jul 2012 06:58:05 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO1EHSMHS030.bigfish.com (10.243.66.40) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 10 Jul 2012 06:58:04 +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; Tue, 10 Jul 2012 02:00:20 -0500 Received: from freescale.com ([10.232.15.72]) by az84smr01.freescale.net (8.14.3/8.14.0) with SMTP id q6A70FCL010485; Tue, 10 Jul 2012 00:00:17 -0700 Received: by freescale.com (sSMTP sendmail emulation); Tue, 10 Jul 2012 12:33:30 +0530 From: Bharat Bhushan To: , , , CC: Bharat Bhushan Subject: [PATCH 1/3 v2] Synchronize the linux-headers Date: Tue, 10 Jul 2012 12:33:26 +0530 Message-ID: <1341903808-2120-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 --- v2: - No change (same as [PATCH 1/4] Synchronize the linux-headers) 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