From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Kardashevskiy Date: Tue, 09 Jul 2013 23:35:14 +0000 Subject: Re: [PATCH 2/8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO Message-Id: <51DC9E32.8040109@ozlabs.ru> List-Id: References: <1372309356-28320-1-git-send-email-aik@ozlabs.ru> <1372309356-28320-3-git-send-email-aik@ozlabs.ru> <51DC2DDA.6040408@suse.de> In-Reply-To: <51DC2DDA.6040408@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexander Graf Cc: linuxppc-dev@lists.ozlabs.org, David Gibson , Benjamin Herrenschmidt , Paul Mackerras , Alex Williamson , "Paul E . McKenney" , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org On 07/10/2013 01:35 AM, Alexander Graf wrote: > On 06/27/2013 07:02 AM, Alexey Kardashevskiy wrote: >> Signed-off-by: Alexey Kardashevskiy >> --- >> include/uapi/linux/kvm.h | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h >> index 970b1f5..0865c01 100644 >> --- a/include/uapi/linux/kvm.h >> +++ b/include/uapi/linux/kvm.h >> @@ -667,6 +667,7 @@ struct kvm_ppc_smmu_info { >> #define KVM_CAP_PPC_RTAS 91 >> #define KVM_CAP_IRQ_XICS 92 >> #define KVM_CAP_SPAPR_MULTITCE 93 >> +#define KVM_CAP_SPAPR_TCE_IOMMU 94 >> >> #ifdef KVM_CAP_IRQ_ROUTING >> >> @@ -923,6 +924,7 @@ struct kvm_s390_ucas_mapping { >> /* Available with KVM_CAP_PPC_ALLOC_HTAB */ >> #define KVM_PPC_ALLOCATE_HTAB _IOWR(KVMIO, 0xa7, __u32) >> #define KVM_CREATE_SPAPR_TCE _IOW(KVMIO, 0xa8, struct >> kvm_create_spapr_tce) >> +#define KVM_CREATE_SPAPR_TCE_IOMMU _IOW(KVMIO, 0xaf, struct >> kvm_create_spapr_tce_iommu) > > Please order them by number. Oh. Again :( We have had this discussion with Scott Wood here already. Where _exactly_ do you want me to put it? Many sections, not really ordered. Thank you. -- Alexey From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 8F0672C01FC for ; Wed, 10 Jul 2013 09:35:23 +1000 (EST) Received: by mail-pd0-f182.google.com with SMTP id r10so5751390pdi.41 for ; Tue, 09 Jul 2013 16:35:22 -0700 (PDT) Message-ID: <51DC9E32.8040109@ozlabs.ru> Date: Wed, 10 Jul 2013 09:35:14 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 To: Alexander Graf Subject: Re: [PATCH 2/8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO References: <1372309356-28320-1-git-send-email-aik@ozlabs.ru> <1372309356-28320-3-git-send-email-aik@ozlabs.ru> <51DC2DDA.6040408@suse.de> In-Reply-To: <51DC2DDA.6040408@suse.de> Content-Type: text/plain; charset=KOI8-R Cc: kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org, Alex Williamson , Paul Mackerras , "Paul E . McKenney" , linuxppc-dev@lists.ozlabs.org, David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 07/10/2013 01:35 AM, Alexander Graf wrote: > On 06/27/2013 07:02 AM, Alexey Kardashevskiy wrote: >> Signed-off-by: Alexey Kardashevskiy >> --- >> include/uapi/linux/kvm.h | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h >> index 970b1f5..0865c01 100644 >> --- a/include/uapi/linux/kvm.h >> +++ b/include/uapi/linux/kvm.h >> @@ -667,6 +667,7 @@ struct kvm_ppc_smmu_info { >> #define KVM_CAP_PPC_RTAS 91 >> #define KVM_CAP_IRQ_XICS 92 >> #define KVM_CAP_SPAPR_MULTITCE 93 >> +#define KVM_CAP_SPAPR_TCE_IOMMU 94 >> >> #ifdef KVM_CAP_IRQ_ROUTING >> >> @@ -923,6 +924,7 @@ struct kvm_s390_ucas_mapping { >> /* Available with KVM_CAP_PPC_ALLOC_HTAB */ >> #define KVM_PPC_ALLOCATE_HTAB _IOWR(KVMIO, 0xa7, __u32) >> #define KVM_CREATE_SPAPR_TCE _IOW(KVMIO, 0xa8, struct >> kvm_create_spapr_tce) >> +#define KVM_CREATE_SPAPR_TCE_IOMMU _IOW(KVMIO, 0xaf, struct >> kvm_create_spapr_tce_iommu) > > Please order them by number. Oh. Again :( We have had this discussion with Scott Wood here already. Where _exactly_ do you want me to put it? Many sections, not really ordered. Thank you. -- Alexey From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Kardashevskiy Subject: Re: [PATCH 2/8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO Date: Wed, 10 Jul 2013 09:35:14 +1000 Message-ID: <51DC9E32.8040109@ozlabs.ru> References: <1372309356-28320-1-git-send-email-aik@ozlabs.ru> <1372309356-28320-3-git-send-email-aik@ozlabs.ru> <51DC2DDA.6040408@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: linuxppc-dev@lists.ozlabs.org, David Gibson , Benjamin Herrenschmidt , Paul Mackerras , Alex Williamson , "Paul E . McKenney" , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org To: Alexander Graf Return-path: In-Reply-To: <51DC2DDA.6040408@suse.de> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 07/10/2013 01:35 AM, Alexander Graf wrote: > On 06/27/2013 07:02 AM, Alexey Kardashevskiy wrote: >> Signed-off-by: Alexey Kardashevskiy >> --- >> include/uapi/linux/kvm.h | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h >> index 970b1f5..0865c01 100644 >> --- a/include/uapi/linux/kvm.h >> +++ b/include/uapi/linux/kvm.h >> @@ -667,6 +667,7 @@ struct kvm_ppc_smmu_info { >> #define KVM_CAP_PPC_RTAS 91 >> #define KVM_CAP_IRQ_XICS 92 >> #define KVM_CAP_SPAPR_MULTITCE 93 >> +#define KVM_CAP_SPAPR_TCE_IOMMU 94 >> >> #ifdef KVM_CAP_IRQ_ROUTING >> >> @@ -923,6 +924,7 @@ struct kvm_s390_ucas_mapping { >> /* Available with KVM_CAP_PPC_ALLOC_HTAB */ >> #define KVM_PPC_ALLOCATE_HTAB _IOWR(KVMIO, 0xa7, __u32) >> #define KVM_CREATE_SPAPR_TCE _IOW(KVMIO, 0xa8, struct >> kvm_create_spapr_tce) >> +#define KVM_CREATE_SPAPR_TCE_IOMMU _IOW(KVMIO, 0xaf, struct >> kvm_create_spapr_tce_iommu) > > Please order them by number. Oh. Again :( We have had this discussion with Scott Wood here already. Where _exactly_ do you want me to put it? Many sections, not really ordered. Thank you. -- Alexey