From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 0560537B0 for ; Fri, 3 Mar 2017 13:32:47 +0100 (CET) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v23CT38M110798 for ; Fri, 3 Mar 2017 07:32:47 -0500 Received: from e23smtp04.au.ibm.com (e23smtp04.au.ibm.com [202.81.31.146]) by mx0a-001b2d01.pphosted.com with ESMTP id 28xs8env9e-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 03 Mar 2017 07:32:46 -0500 Received: from localhost by e23smtp04.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 3 Mar 2017 22:32:43 +1000 Received: from d23dlp02.au.ibm.com (202.81.31.213) by e23smtp04.au.ibm.com (202.81.31.210) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 3 Mar 2017 22:32:42 +1000 Received: from d23relay09.au.ibm.com (d23relay09.au.ibm.com [9.185.63.181]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 108B42BB0045 for ; Fri, 3 Mar 2017 23:32:42 +1100 (EST) Received: from d23av06.au.ibm.com (d23av06.au.ibm.com [9.190.235.151]) by d23relay09.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v23CWXnF45154542 for ; Fri, 3 Mar 2017 23:32:42 +1100 Received: from d23av06.au.ibm.com (localhost [127.0.0.1]) by d23av06.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v23CW9gB005308 for ; Fri, 3 Mar 2017 23:32:09 +1100 Received: from [9.193.81.194] (chozha.in.ibm.com [9.193.81.194]) by d23av06.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id v23CW8VB004993; Fri, 3 Mar 2017 23:32:08 +1100 To: "Burakov, Anatoly" , "dev@dpdk.org" References: <89825b7a9e0758dea19a01eb347c0753bf2c4134.1488480000.git.gowrishankar.m@linux.vnet.ibm.com> Cc: Chao Zhu , Thomas Monjalon , Pradeep From: gowrishankar muthukrishnan Date: Fri, 3 Mar 2017 18:01:43 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17030312-0012-0000-0000-000002196963 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17030312-0013-0000-0000-0000071C028F Message-Id: <71ab9f24-4e52-dff8-edde-9374eb8c8d81@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-03-03_10:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703030119 Subject: Re: [dpdk-dev] [PATCH v2] eal: sPAPR IOMMU support in pci probing for vfio-pci in ppc64le X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2017 12:32:48 -0000 Hi Anatoly, On Friday 03 March 2017 02:38 PM, Burakov, Anatoly wrote: > > Please correct me if I'm wrong here, but wouldn't all of these SPAPR-specific defines > and structures not be available for pre-4.2? So the kernel check should also > contain all the definitions and structs as well. Maybe it's better to just not compile > SPAPR support on older kernels, rather than duplicating all the VFIO code. > > Any opinions? > > Thanks for this check. As far as its trace in linux main stream, I see it was merged in 4.2. But, it depends on distro when we go back in older kernels. Some distros may have back-ported it too - eg. linux-3.10.0-514.6.2.el7 in RHEL 7.2 supports it. So, we might realise whether not supported, only in run time (atleast without autoconf sort of stuff in dpdk) IMO. any thoughts ?. Regards, Gowrishankar