From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0078.outbound.protection.outlook.com [157.56.110.78]) by dpdk.org (Postfix) with ESMTP id 9961E803B for ; Tue, 10 May 2016 08:21:30 +0200 (CEST) Received: from BLUPR0301CA0011.namprd03.prod.outlook.com (10.162.113.149) by CY1PR0301MB0604.namprd03.prod.outlook.com (10.160.142.23) with Microsoft SMTP Server (TLS) id 15.1.485.9; Tue, 10 May 2016 06:21:29 +0000 Received: from BL2FFO11FD041.protection.gbl (2a01:111:f400:7c09::174) by BLUPR0301CA0011.outlook.office365.com (2a01:111:e400:5259::21) with Microsoft SMTP Server (TLS) id 15.1.492.11 via Frontend Transport; Tue, 10 May 2016 06:21:28 +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 BL2FFO11FD041.mail.protection.outlook.com (10.173.161.137) with Microsoft SMTP Server (TLS) id 15.1.492.8 via Frontend Transport; Tue, 10 May 2016 06:21:28 +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 u4A6LKsL001097; Mon, 9 May 2016 23:21:25 -0700 From: Hemant Agrawal To: CC: , , , Date: Tue, 10 May 2016 17:25:34 +0530 Message-ID: <1462881334-21247-2-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1462881334-21247-1-git-send-email-hemant.agrawal@nxp.com> References: <1462881334-21247-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131073348887597461; (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)(1110001)(1109001)(339900001)(189002)(199003)(9170700002)(85426001)(86362001)(2351001)(11100500001)(229853001)(33646002)(104016004)(5008740100001)(87936001)(76176999)(50986999)(48376002)(50466002)(2906002)(105606002)(5003940100001)(6806005)(47776003)(106466001)(1220700001)(36756003)(92566002)(50226002)(4326007)(77096005)(81166005)(19580405001)(19580395003)(110136002)(8936002)(586003)(2950100001)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0604; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD041; 1:lHY6L+vHRyBpXWdLs0HK+9HIpnJUerhacOIkCwLaB985xbjbzrktSMbmOVQXD9T/sPDTnDwmGcgD6wRwvWaaRta/RaZYCTc1u7nqteij4wcMH1uyzystcBj5UjQr4i0krLm/k4IZdzPYL0XJQQZKeCxx2sR041g2CLFhoZEAsBmJSrJrOhZO9vLlhFgL7ZSKcBlU48my8Jg1k37zvr30Rf3O99nhPs0OIUBDVgmP3bxWMzSylIxn4ZHEXLxJzRVBcEQXl/fzwMIEytEWjmg7PvGVQ8z9YqZITeGJd9oYksFtqI72Wi9zAFV/SL9F9AkcM0fdD/YXc8PtwF4/q5ae3Z20AZgUsyAZGbBRw7hrLqhDJBAafHUPp9amMKFBsmrEXaE0U4HOThkD5Dn7NPQNH72PBBisuaz8O3geTFJ8TYz5ixQobWsc4MSHAqeuXWyj6gXpT6rQ1mf0HZMaaifZWjKNviM9pMrs4Bh5YGOITZ4evlU0BZH9P7EIDhwK4oG6IlkhbX/p/kJuspT5TY/Ncub5DxxOfHFPBPjvd4tgZrDzBcsHUyuYpQ5M57Jk/Ebc9Ws5Yiqr5eYSHvqWJZsCJYAx7L37n/8iKJRQxzhiBgyfh8hU1dn8p9O8yI9xwHVJ MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 66e32d8d-1a9b-4a3a-f034-08d3789b526b X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0604; 2:S8Trtn/8nXqosBYPK/X4cZHEVTnDn24ibyNmHXuIB0QHxp3rfnCrLoX9YT9LxxXy8nrLIlPOosC2uXTCZodaRLfzEpdH6wBaUcc+8CTH7/xJd0UQ52BvP4DQgndNU+lTOQY5aV0dzj6JfaePMFgGj3vmboBMaWyNq3T3oRcShJ6/T/zF9Tb0rHXAMHI3yiZv; 3:lQNkvUfRgv0WK9mVNS0P8kvZH/R2LCIbAnci5JkQ3uywkVQWpN9142Ob2yQq7eV/K6QfWD8hpVbyh/80PGpZeYxmU9cmRWUdmuP/otNrOPvmJL0fOAVkoJMylTLnTQQMHL42m4daEEvq8bWtiPlL1/2+OJ0j5yzwOnG+1OMLThMjdp1tEvQwA895V2zP8SyHNJdmzc6SExXbtLgm26vuc8n73aB1f7tuKNR3SWtUzZU=; 25:lqjOf0VNxOezwl+k6gO67gZNGnLZbAPahI6qo0QEkF/0reFp1RdLYxo3hEYUWC0RDrvDSmdZHnNhlTq3V8qQ2U81Tp+i8fQi0aJjL6htQJaFeQHLl8bw4EQeUhzaQ2XNgoKslt4r5Kl4UsJh7RqYQsFcZ5aHdcaDCOI6oO5mOPCXEH9QNdZ73w+6xHcl5JjWB/V7JKsRxtNJvGgUI4YwEzmPf1QgObF+OUQ20QwOXDkYazYXpzUByTd9ZfteqLIOX0X6siRAhdY/ehF7ETlbGUt5rgagHDhXyP8lyCBvDqLsgDhRka7AZRtddpogg4b3rH5DEtQcIFL6hMT/GTQhnERmiD5PgMHnB1uYgQLtP7efKMs+KMm7a/QxxzsRnVIN+L2V3ht7ZwJxUbHch8bvkY6yYQ+mxEOc9fsovk8sPj33O6+uA8zkBrizFxRIA3g/ X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0604; 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)(13018025)(13017025)(13015025)(13023025)(13024025)(10201501046)(3002001)(6055026); SRVR:CY1PR0301MB0604; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0604; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0604; 4:NTMGZe78fRpFUNtLGY0GG1FZIHV15qTTSSBaryRI+uK4cz/XI0ATZabcdKV4pfmKfwlrkFOPJ2u95uTWNP6lXW/Z9NEpOGyADEo11T342H8roZ2/Vlb6RewJqBYnzrXRkzVS9enTTrSP6Ee0cwBpF/jP8SxocVqjoCatltE5lG2WP0bcinvmXFUr3Mpb9nV/wxK7mU3hPNF1MpcPGQI+zAAeX5/CS7lWYlWLBvkqB98r2BopTF7s4BxB2xvBqVhX2GN5tFCGxiU3I6HwDNr9ChuLwVDAMcDnlFu5514ZOL3mKyqLOo3uhn9WG/MdYoCtZ2J2VWI2UbKpZlCSXUJ497THz8xBhq8ecOgSIqqcQ2utte8tpTNFY1JeDLajWnTzM4Jr2dJhfjzmcrmtZ0g4XeAXaJCOhNv0xwBpgncLWN0JRTpw4CKDzFU3reW6CDXTWznYwh4KAUnLfbmjfhx7tWOOabEmwmnoP3t/vCDODQ0= X-Forefront-PRVS: 0938781D02 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0604; 23:5wjHgkHhcQvfs1VAuzC3NTf0UWEBjskQQabFdU5?= =?us-ascii?Q?xipRLbXgciv9fRGkxg27c8VlAiR6JofTpLS0TtDDj2hNQEOjkiRtP2wW8wO0?= =?us-ascii?Q?ekXQBNEE+qI4egQwGk2WaQAIuiHZM8BElH4OJjaCUwyOK4n8X8+8GroKNub1?= =?us-ascii?Q?C9owPPlUD5NjgJmJtutvjZbIhOnUlr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lmPKb8H3VTGy1Bzsi3Le?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0604; 5:U9rK4hIXZSZg17yRfoPJ00GHQP5nNUaRLHCgLRT8tV80Jshr83iC/kSBzwiHq4mZ1x8/QUkl9vwLrbn0mmprfkaCDVHNAUro1bWQ3kGp8vSQiveR5OXrUi2bgOHdbwmlmFDOz01I9FuaKx0YuTxUnAXBeMlI/52oi92fEdE9/18=; 24:6LWQKeLzNXe2yIAcOhKKsB7FsZ9WRHlMKvu4IO2zwfG8++MyS4seOsFSVGIbqn9xrtLyzd8QOfo4S+vAyNYci7jX9et/8qw6nW25ICPlQ7w=; 7:bseHae0UM4d65htAzajXY1svoYYXiU2ujTrVpbLKDIQfLtNmLGg8w+fSk2a6mefyATVQdz0MWGgynW9631EvB4MmuC4RyWPkxe+puq1b1b09RG6EoeOEkYDO1ikCiZl2n4Wj49hAunrBtm9EZq9jIf5XwHNikROWa0vAfZJjSujECgCuPeTPiLytz4BlIZ5Z SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2016 06:21:28.5257 (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: CY1PR0301MB0604 Subject: [dpdk-dev] [PATCHv2 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: Tue, 10 May 2016 06:21:31 -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