From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0061.outbound.protection.outlook.com [157.56.110.61]) by dpdk.org (Postfix) with ESMTP id A585868D9 for ; Mon, 9 May 2016 14:11:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OibOM5+8Csz0hUIbidij6S2taEL6NinDpGLCcQHjIyM=; b=ed9UTGOqsa7YO8e7o3kANB4sWa9tWEcM7wqM0bPb5r2TEMthCW+5/eA8qpcIwRb8ciAMFoV2mB1aWYSkoMzXC453yE1V21gDjQ/Z6fPqbOioKYNOXJu+JwKRA1OOAwgx1VXagLID1GHNRtdCa4grHK6YMFW5MCtP2AFEns4qA1k= Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (111.93.218.67) by CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) with Microsoft SMTP Server (TLS) id 15.1.492.11; Mon, 9 May 2016 12:11:46 +0000 Date: Mon, 9 May 2016 17:41:19 +0530 From: Jerin Jacob To: Jianbo Liu CC: Hemant Agrawal , Message-ID: <20160509121118.GA8689@localhost.localdomain> References: <1462801702-30918-1-git-send-email-hemant.agrawal@nxp.com> <20160509090621.GA4631@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MA1PR01CA0021.INDPRD01.PROD.OUTLOOK.COM (10.164.117.28) To CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) X-MS-Office365-Filtering-Correlation-Id: aa317963-bf48-477e-17d9-08d37803186c X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726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MpNpfX2Fy6qOEivGUP6aWa1of+1AiUH1+d9H59jjDONnJJpXPV3LzQ3Y9QXkePnTOCyx2ODwli14JfhkN4F/L5ERfapDcA0KkBT1PPycTGj5KrNAzFYc/Aw6V7mnHeeZwlYo62fGKzhqyG4foRiWi867M1i6w9hJKjZCHnjZtFuwUD7vx59fxeTo+bJzAfAuc2HEnVhtkhjXGNADsxbg/fccAnBrbPNWLckn7xd6oD0= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 20:bipE7Rt25iGwR2WF4cQ+ov5X/OzQ3iOfXWR9y2p9TGxJO6N9I+1Fm36xF+4NuLauJ6fyfDPvMxAbs/FV7lqXIbKwa7NO25RnECAwYf1S/iVXvCEpxwT9TkaBP+E2Xyt8juaXqSFmZrUpwrkSNhTQQ4VqM03JIJ1ZRmMhIynzAbpozKMrvXnuIcyCAv1pswzqr1lh1ZUxRvhjieBXDF+QjfdWxko6jbyx5MPQSXEy3DxITY3i/4XlFddwl1KmeoxLWHQSN4nnkZQIBUFH3KG6vHSGnW1wZOk+eDn6vvQw4ZDufgAV20FHaPCyw4xjFm6AgtZDJtzTqz+nGeg4L5Orchm6Xm42bFApVn0vRgUI5IkXtDMp4l0qZhUU6YQlPq9XsKp6fHVyq32h3wo4Jigz0+Pz5XYajbuBSxCpwDIEP9/yt/38SXDEAmoRKDQp12Bo4bScntHS2c2cyV7mpZVBesmDg8RcoGCdXFdYKDToJyZN9WNvWwZk8NWfjF76tdr0d6p78RyAONjn7SQdAkJEcu/aRqMunWJUN3PNXv93k99pacTJFYwA0GVKR6i0LYb8VaDZNYYikZzAylMy/NzPY1UKGMUIGwT+uqJ0K1nd+Hg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:CY1PR0701MB1726; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 4:BkdAz4lVIa2SzvJ5LwxsfFZnUSY4P0EXCflgpvEk6orLWkowo0Vb7ufaZi89djqOVD7NaCcvNbSmM7rh+HilTfgKvVOBTmbwR8KHOGsNEUvCJLjw+rO3K4XcxQuDrG7WSDGo69XFsCJaYn4aMpe6DTRtKt18rhQH9oENfdRS1eyfRjMt+N0i49ObkY3xUo+/WmBtR5ncc3vlJl6G6LEUbTdwZOV66UKUg3TIc37IbiR/2z0Uy/ypAm3RuPSEOoYOrPZ0ehBBn2NwKMS9nXKc0cnZbUUQZWIo7wt0gJwUmQPtu+4QsMfRM8mavnP/Zc4NWVu4ZCNMYY2vfIxho0YGqq8UfYa+hz+E/b7xq6LqWLM5rDRMxzNTDQMa4NBOW7/S X-Forefront-PRVS: 0937FB07C5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(24454002)(9170700001)(5009440100003)(92566002)(47776003)(50986999)(54356999)(76176999)(66066001)(3846002)(6116002)(50466002)(81166005)(4326007)(9686002)(2906002)(2950100001)(5008740100001)(5004730100002)(77096005)(19580405001)(61506002)(15975445007)(19580395003)(189998001)(97756001)(4001350100001)(23726003)(1076002)(15395725005)(110136002)(42186005)(33656002)(586003)(7099028)(533714002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1726; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1726; 23:gU296gsYiLGHx8z1r9tQEUwsJHBLDg8tmXwcGot?= =?us-ascii?Q?b7VKR3Hn3kSv6ZB4vUsv5Yh/yMI0wYk6pCYjqqX0OHrux9sJdN+wjKhp2/8F?= =?us-ascii?Q?xqMUzcriJgpPClIb7/RQ9pxejjeu/CFHgfj8WyHOCaaMiQx3bMJpmCJj3H3M?= =?us-ascii?Q?o2vo4eixGVPGREDi2pPRb1jXX0att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0WetfVXagbE/Ny4Rlh+yPz?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 5:xhyyC9bOyn2bCM98oDHFYNIHm1x0xukoexMR/w/Kz2rIJ3OKIlEnUkLzQnfPYs8+Lhf3PjSaydNd9InwnyO7IoUUh1tByLkoFfxJF3BTI1s0c7/Cqzy/COdLPC3SQTu08arDaEI6F9G/UyxtIagAYA==; 24:S3v+qV1lTLhRva76K4qP9cltUE0wpGe9d7Pq0WLMW+WDHgHFB7PIWLX4urTr8s8/fBbMMaP6tBr+XVJ3raZqRYwkPS2dG29epnHutconaQU=; 7:SubreLWZXxtTlCSOF9xkfxt/7oj5MSmOorXCxLNGVEf5h93XqOwNF/8Gjdd8QMcICYmbjbWE2BmrLYUg60S/eQWiTYtIY/V1T19iXit8k2ecbpvkZLZd0/FLAK5OFOwWWWZ/thmFNwRmvGaWxILNz8MiEukViKqk8MfiBPc5C/OQRADdOgIIPZqm0LSBomnr SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 May 2016 12:11:46.7312 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1726 Subject: Re: [dpdk-dev] [PATCH] mk: Introduce NXP dpaa2 architecture based on armv8-a X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 12:11:54 -0000 On Mon, May 09, 2016 at 07:02:36PM +0800, Jianbo Liu wrote: > On 9 May 2016 at 17:06, Jerin Jacob wrote: > > On Mon, May 09, 2016 at 07:18:22PM +0530, Hemant Agrawal wrote: > >> This patch introduces dpaa2 machine target to address difference > >> in cpu parameter, number of core to 8 and no numa support > >> w.r.t default armv8-a machine > >> > >> Signed-off-by: Hemant Agrawal > >> --- > >> config/defconfig_arm64-dpaa2-linuxapp-gcc | 44 +++++++++++++++++++++++ > >> mk/machine/dpaa2/rte.vars.mk | 60 +++++++++++++++++++++++++++++++ > >> mk/rte.module.mk | 5 +++ > >> 3 files changed, 109 insertions(+) > >> create mode 100644 config/defconfig_arm64-dpaa2-linuxapp-gcc > >> create mode 100644 mk/machine/dpaa2/rte.vars.mk > >> > >> diff --git a/config/defconfig_arm64-dpaa2-linuxapp-gcc b/config/defconfig_arm64-dpaa2-linuxapp-gcc > >> new file mode 100644 > >> index 0000000..80bda26 > >> --- /dev/null > >> +++ b/config/defconfig_arm64-dpaa2-linuxapp-gcc > >> @@ -0,0 +1,44 @@ > >> +# BSD LICENSE > >> +# > >> +# Copyright(c) 2016 Freescale Semiconductor, Inc. All rights reserved. > >> +# > >> +# Redistribution and use in source and binary forms, with or without > >> +# modification, are permitted provided that the following conditions > >> +# are met: > >> +# > >> +# * Redistributions of source code must retain the above copyright > >> +# notice, this list of conditions and the following disclaimer. > >> +# * Redistributions in binary form must reproduce the above copyright > >> +# notice, this list of conditions and the following disclaimer in > >> +# the documentation and/or other materials provided with the > >> +# distribution. > >> +# * Neither the name of Freescale Semiconductor nor the names of its > >> +# contributors may be used to endorse or promote products derived > >> +# from this software without specific prior written permission. > >> +# > >> +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > >> +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > >> +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR > >> +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT > >> +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > >> +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT > >> +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, > >> +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY > >> +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT > >> +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE > >> +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > >> +# > >> + > >> +#include "defconfig_arm64-armv8a-linuxapp-gcc" > >> + > >> +# NXP (Freescale) - Soc Architecture with WRIOP and QBMAN support > >> +CONFIG_RTE_MACHINE="dpaa2" > >> +CONFIG_RTE_ARCH_ARM_TUNE="cortex-a57+fp+simd" > >> + > >> +# > >> +# Compile Environment Abstraction Layer > >> +# > >> +CONFIG_RTE_MAX_LCORE=8 > >> +CONFIG_RTE_MAX_NUMA_NODES=1 > >> +CONFIG_RTE_EAL_IGB_UIO=n > > > > I think it makes sense to move this option to generic arm64 config > > as upstream arm64 kernel does not have support for sysfs based PCI mmap > > resource file,(/sys/bus/pci/devices/B:D:F/resource[_wc]X) need for > > CONFIG_RTE_EAL_IGB_UIO to work) and use VFIO for all cases. > > > > Any objections? > > > Is there any conflict to keep both? I would like to avoid the case like below in dpdk.org ml. http://dpdk.org/ml/archives/dev/2016-January/031313.html