From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0089.outbound.protection.outlook.com [207.46.100.89]) by dpdk.org (Postfix) with ESMTP id B15E1C37C for ; Wed, 11 May 2016 10:13:56 +0200 (CEST) Received: from BN3PR0301CA0064.namprd03.prod.outlook.com (10.160.152.160) by BY2PR03MB474.namprd03.prod.outlook.com (10.141.141.149) with Microsoft SMTP Server (TLS) id 15.1.492.11; Wed, 11 May 2016 08:13:53 +0000 Received: from BL2FFO11FD028.protection.gbl (2a01:111:f400:7c09::156) by BN3PR0301CA0064.outlook.office365.com (2a01:111:e400:401e::32) with Microsoft SMTP Server (TLS) id 15.1.492.11 via Frontend Transport; Wed, 11 May 2016 08:13:53 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD028.mail.protection.outlook.com (10.173.161.107) with Microsoft SMTP Server (TLS) id 15.1.492.8 via Frontend Transport; Wed, 11 May 2016 08:13:53 +0000 Received: from netperf1-OptiPlex-3020.ap.freescale.net (netperf1-OptiPlex-3020.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u4B8Dhvs028757; Wed, 11 May 2016 01:13:50 -0700 From: Hemant Agrawal To: CC: , , , Date: Wed, 11 May 2016 19:17:59 +0530 Message-ID: <1462974479-26180-2-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1462974479-26180-1-git-send-email-hemant.agrawal@nxp.com> References: <1462974479-26180-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131074280333177673; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(50466002)(586003)(85426001)(110136002)(47776003)(19580395003)(19580405001)(2950100001)(50986999)(104016004)(1220700001)(76176999)(50226002)(86362001)(77096005)(189998001)(8936002)(48376002)(4326007)(105606002)(6806005)(106466001)(33646002)(11100500001)(5008740100001)(92566002)(229853001)(36756003)(2906002)(87936001)(5003940100001)(2351001)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB474; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD028; 1:znzUc0nra61RHF0/7PEkOSwEmdlDwp/+TE5ULtGQMVPjHBsg26WEtNDd+SQ2UtJ8AkPjXwD/6XdP1vohto43dKld3hZuQpV2esy2wfXy4iA6W7MmpmLhAuBQjctMZwtgSEZh0GeoLIUoFsBLaCkdoDrhnesamZ9rKsAV0RDPq5aKyDxuk6Di+Li/WcusnqzOmkcCxsHu/9Run4LdoKwf6tXNPIzPXg1BcSeGQDhgET5QOROIdaKRcz5+erfa/tWxZY5PALEpiauoDPoM7p/hSd7iSguLWXAADX3IvOo+JvoroHPMi5P9N0D2hvVjJl07WFJZbDE4sBKXSapqtOnsVv6X7/9KwevdgZ+5j4UgJy9t4dmui/UDRKO5L/YFn0jCtF8CACuw024LdHLA1P+vNSimIoXZ2X/YJ1t0olSgsGdr277PFQuqe/dOFgNBo4bsr2AKj+fegv5r3uS6prvezM2QFT5vC5HTAjrRAABztHqYOGGogaV7vv+eOdqvMeVdp8UgqWUvSdACQ7DKRNRNqkIVsEq3vEwJi+4cBpAYkglIDXVl/0CST5uCx/FcSTmQcI+VW2VwR8K0jBXSeTOfPABN7j4axvKY1yxwgGFnxm8DdfNKtb8+OMn7qZDEYGbm MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: e406bc3d-a76a-4078-3087-08d3797430e5 X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB474; 2:h7DYuByAi3YooP3LpyS1nvrCaGvnbfA6egOVJ1ZmCdLOONMCDhZREkQAiwxBxsK1l19LP7W9pilTBKa+etx3S6LNUSB3In3RF0lmzUAHhx+PGd/wC1N6HaSyU1+UGWGZ51Zn1wzkP/xGHb1dIkF3hDv7BS69/v0JfyUbA+fDx0Q3MFkddYl0UqPzZMhPa9+Y; 3:2AxsPubD0y22uPgzoVYxp1RFadlFMd790xBtJBOqHDK+9ZaBNTEMCRZ52FgJDnx3dfk1FScqbsV35IYzTwNQE+osuS9DX6AKtPYuy9LWvsxpG3/p9lykWU6XblnbKwM1za4O5+HdwiU6FgGC2GfFsqwyqSdvHJUYDaNZAhhPiFEpK+G5pb5ZHPfbzXcQYnYZsSUPTiaDE2JLb2IxyV0mxfN6nK7UsN6pewopGGWQBGU= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB474; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB474; 25:bw313rBLIwhcu5VPhasCdc8weAU97O5c0DZ4uiRiexehXFjF31t2DtlBBMVKo8Yfs8nzuUfVDy3z8vhhYxzaQJZRifq7nbqWDgPqDLaQmcL9Lp2khl/3+NcAIVYqF2b1BiYikPSNmO5R8lbNgqQ0JbeMLuH9J9VekgUkrv08XEeZppYwNWfNHncV+A8U8H1/HpWsi5iVCG6WJic6cQXc/bdudp+TjVNIRp1aHt+aFvW/iNHj8uku5dL80ScSDdJa6Q5toM9cubuDFaiy9VU7iybQFWTEUy0uqGNvPj11AbM58DoMa2PDDVcbugHL65XbCGLqQZduP5H5jvbhgrmCaQqp/ICIuJYCxfM/2tJEt5U11Lmg30za24bgCO9SA/c/jnMRl3kJy7L3Qdu8TCDVavMN03hK5WXfMQZO4qRGnCwb5UrM5d/bmlJP1LrdGCrcagwxOeYiSr4d/KAoII1lEK+KyIYqYWeMOk3/1ZLnY7rRwu6pd7ZO+peB+V60dkC/60s+PqiFwdSvbej6wazh1/A1BG/Msj5i2Ccw12r/ZMyIqC3OtEWsGaWLDiaXDbPXzy5DGcdhp9i88tmJuOrSAem9iwh2nMbWSRFdhMfH93XDKCMr6nrtXAlKNAhfRASaIYV+3//xStEODiBarPdspGUDPtz/MNX7ZNtxxXLTuIzrNmQWhUPBP80CtIju9CFbB95oGESwVi6hXJRGk2HJBp6J/1Rx9eyXPDPaD5o6R0Kq9r1jBmZFuyirwAgm6LRG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13017025)(13018025)(13015025)(13023025)(13024025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BY2PR03MB474; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB474; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB474; 4:/3meX5Aa1fgkWZ4jtDneyT25eQRKqGgUuDb3j+E2kFcLMuKOZ41AHqpU3NRFctn/Py7VNa2rUH1LkBux+2Ddd0w9duB8h1EfQrfzVJU1Vy3MIGAylLN9Wj0+X00vHK4XOlulgpS1SurYJML5xF1NpIiEE4x9yjzm5Jex15/U+hCO80S1EhShec6+ZRraarSjXlPNr0aLq2+K2vEOjdvrYyIgT5XBnmv9JM3rzZStxzZ/pa7Tg+Fjl3bTkeVtJt/mGaf+fQ6T/E8Zo/blaPUVA5TD8wK4TOePI7I3/EpvRjQrjOQRKLj8EpzAQZEHKZOxLeYtcfdAAhwo6ZPmq7/Te9JYXPbi18pwVG1y280tw1ShntbQW/FRRG94CMidl2nxBUUuUaL96/EzheaHovm3q/LFiBfmA+rU175j0/mP+1D9Yc3Up026aaOna5GZ49XcwU0yW4XNFWPqpOw17AFcQOQYoYu4bOX6+WjaGxgK85M= X-Forefront-PRVS: 0939529DE2 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB474; 23:27UZkqxqttxtMOuw/yRpytbPjKp/uSbAkBjxWZac38?= =?us-ascii?Q?rHpWWPYdBL57CGI2bJKjgvzzNq8OAYbndq7/GLNDvRJf+bDLAlejIjUIvvZF?= =?us-ascii?Q?Ug4BYVes/ppI06kYvCpiGSbmsIcDFFHZW2x5AoezpPqoGJrL7oQzIMxMGaal?= =?us-ascii?Q?n4SCk75rZsPzRlsFBVn8o93Df4ZzxJheZclaTU/Q1J9FPHqZENRLqq13HQhE?= =?us-ascii?Q?igkL20jMXOXp7ZCNNGvcmudsoTtODS5+qkIxHIDzPJW2nhyikENQK8pqcfio?= =?us-ascii?Q?v0AagW28m6SVKdqNMKjc9deYd3G/06umNKfBokt93kuhnvlD4phQdoltbAzu?= =?us-ascii?Q?6s+aiBbcKQaaEa//ba117tNf91BVYE3IPo8rAe7LLA0rC6Z07izuMxnuVuXy?= =?us-ascii?Q?68uL2fejkOBVemvjL4SXNOy5lvuq5YIF9wOtxnEKXfki0n93rdjKdaZ3EyQp?= =?us-ascii?Q?ONZS1Lj1XHM1dwl+nqDKKURVkdCKJT5ZNwFni4/qbQXZOy9S7sl8DSWt0NyS?= =?us-ascii?Q?MedbKv9f2fzQ4Tpx48HoKDn9j/GdFMxvF60K2Rnrumi1nJFHy1ULHpbbRjij?= =?us-ascii?Q?1RCFqRFByDfgJZx+W0xYvDU4x5AkCJ9snef58jNTqWW5v1T067f8HLvX8KVC?= =?us-ascii?Q?XSgPlWcb459rmazEZu61zQExpON7xqaHYMNdTeSjEgqKhI5jSSPajjEL+wl1?= =?us-ascii?Q?tRQaG8gY9CYge66oGLW0PBdz+IzEzjQuHKmFL5l49bAXAjuuL1bEpuD5eyo4?= =?us-ascii?Q?l6MCfTlvhnoBqN/qWuP4uyjaQHYdIKrRpL2RQaDM/Z6nRE5nzGyJ3Ti3I/Kx?= =?us-ascii?Q?MHIrmR3x81zgeq9EA7R742ARXqT6EuXSgmUS9Ye1c41bWeTQfQOQWD/Vei/k?= =?us-ascii?Q?EQrIrALsSLxs7qir991eKvdBCYgEoD8aCNwx+2YyToI/RYmoLf4kN8hViq6q?= =?us-ascii?Q?XxJcxr7ZtqK0K1jj4Qoi5WNPWmFQWCkNhUFMJYcdi1TLOiqj6zCuqQxznnLT?= =?us-ascii?Q?k6pB2tH8c26laDM9Hj2rf6gmldpfi/Ud66YwGM1kREJR4L3k8A9cO8emWxic?= =?us-ascii?Q?5YuuEtVtuDa6ZYWlDpmREtFks/?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB474; 5:plrNZv7URyjuHNafLpds+1hnDIqqnkE5OhUjCoImPq4plcQgDMxAT8R/yVmBDudyDnfXZQAnNalOfBPoK3x03MAX6BEBH9CbkRQoOgxKNsEps/xwLSvU0Z1fpk1DlFODnGL85w08eZ+m6LNH6Za+FHFuLHyCds8/uJuDLYmbPp4=; 24:qZR1ucSPL3tmW5jouDHUy3pPWTRJN5Xg65zlJphjdeu1o3jvq15aULsv9hFMLm9h/Uv4tOkvfPEmFhx5/zozxufPSG+T5AeWryIyDVgjV+A=; 7:vygVGx/gIbAjv4c+jcH3E/x/lhBmzTrZZ7Tk5ePGRr4JlTSg6FPglDkL4VY+TS7rhGHIZhh+8UQJhApSO6jHl0Ekb9erV92MX5U/w5hp3KlIOv+1PbE3gE6qiPzksGwLVp51/71he8iyEdQKw8XCxW9Qi0x5tK0oT429dSZ4x2TKLDhGrNWgnHa5vstlYdSX SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2016 08:13:53.0681 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB474 Subject: [dpdk-dev] [PATCHv3 2/2] 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: Wed, 11 May 2016 08:13:57 -0000 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 | 42 ++++++++++++++++++++++ mk/machine/dpaa2/rte.vars.mk | 60 +++++++++++++++++++++++++++++++ 2 files changed, 102 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..66df54c --- /dev/null +++ b/config/defconfig_arm64-dpaa2-linuxapp-gcc @@ -0,0 +1,42 @@ +# 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 diff --git a/mk/machine/dpaa2/rte.vars.mk b/mk/machine/dpaa2/rte.vars.mk new file mode 100644 index 0000000..8541633 --- /dev/null +++ b/mk/machine/dpaa2/rte.vars.mk @@ -0,0 +1,60 @@ +# 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. + +# +# machine: +# +# - can define ARCH variable (overridden by cmdline value) +# - can define CROSS variable (overridden by cmdline value) +# - define MACHINE_CFLAGS variable (overridden by cmdline value) +# - define MACHINE_LDFLAGS variable (overridden by cmdline value) +# - define MACHINE_ASFLAGS variable (overridden by cmdline value) +# - can define CPU_CFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_LDFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_ASFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - may override any previously defined variable +# + +# ARCH = +# CROSS = +# MACHINE_CFLAGS = +# MACHINE_LDFLAGS = +# MACHINE_ASFLAGS = +# CPU_CFLAGS = +# CPU_LDFLAGS = +# CPU_ASFLAGS = +MACHINE_CFLAGS += -march=armv8-a + +ifdef CONFIG_RTE_ARCH_ARM_TUNE +MACHINE_CFLAGS += -mcpu=$(CONFIG_RTE_ARCH_ARM_TUNE) +endif -- 1.9.1