From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id B0B67A00E6 for ; Fri, 17 May 2019 21:17:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2930B5F27; Fri, 17 May 2019 21:16:57 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 0124A5F19 for ; Fri, 17 May 2019 21:16:52 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4HJB1qO016857; Fri, 17 May 2019 12:16:51 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0818; bh=KYqM8GODWzHGRq+GCdx8nrxKreL1xKxqG3mpEA3RyO8=; b=w8Pr9AiIScuL5wBNMIiZDar8kXpbngsrrDV2xbPSUjaWNWpIz1PgXZG7RUiDQTSUgW/X 1F00lBYZdD8gFuONUAtdITT+UAr4PzK05F5eJWHUv1oMN4t9ejCqHUT1MbobAaVqUS4k SDTFf4dGYhBGNHaD+ENmDGmhgt+HuUtr06JGntZan+XPrCVDxJmMxsdTixulrO5AsVEu VlhczpmHH1okOsBH0Ba9yYjOc6LbbyYVPhTWzdeGMyI8/nilmW09A1rQaokAIZk0ocnq A1asrc0+0v39qkIuouAjjf5G2HbolhRO5AKSZc5hK0YAW78YezjKJC+wHKXju45kAuXQ XQ== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2shu8uj7a6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 17 May 2019 12:16:51 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 17 May 2019 12:16:51 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Fri, 17 May 2019 12:16:51 -0700 Received: from pt-lxl0023.marvell.com (pt-lxl0023.marvell.com [10.5.213.12]) by maili.marvell.com (Postfix) with ESMTP id 4E6053F703F; Fri, 17 May 2019 12:16:50 -0700 (PDT) From: To: CC: , Liron Himi Date: Sat, 18 May 2019 00:27:20 +0300 Message-ID: <1558128440-15776-3-git-send-email-lironh@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1558128440-15776-1-git-send-email-lironh@marvell.com> References: <1558128440-15776-1-git-send-email-lironh@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-17_11:, , signatures=0 Subject: [dpdk-dev] [PATCH 2/2] meson: add Marvell ARMADA architecture based on armv8-a 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Liron Himi Change-Id: If210dbfeed447df3beffd53339a40e4a9069b6dc Signed-off-by: Liron Himi Reviewed-by: Jerin Jacob Kollanukkaran --- config/arm/arm64_armada_linux_gcc | 16 ++++++++++++++++ config/arm/meson.build | 8 +++++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 config/arm/arm64_armada_linux_gcc diff --git a/config/arm/arm64_armada_linux_gcc b/config/arm/arm64_armada_linux_gcc new file mode 100644 index 0000000..6e6d56f --- /dev/null +++ b/config/arm/arm64_armada_linux_gcc @@ -0,0 +1,16 @@ +[binaries] +c = 'aarch64-linux-gnu-gcc' +cpp = 'aarch64-linux-gnu-cpp' +ar = 'aarch64-linux-gnu-ar' +as = 'aarch64-linux-gnu-as' +strip = 'aarch64-linux-gnu-strip' +pcap-config = '' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8-a' +endian = 'little' + +[properties] +implementor_id = '0x56' diff --git a/config/arm/meson.build b/config/arm/meson.build index 7fa6ed3..32decba 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -56,6 +56,12 @@ flags_dpaa2 = [ ['RTE_MAX_NUMA_NODES', 1], ['RTE_MAX_LCORE', 16], ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', false]] +flags_armada = [ + ['RTE_MACHINE', '"armv8a"'], + ['RTE_CACHE_LINE_SIZE', 64], + ['RTE_MAX_NUMA_NODES', 1], + ['RTE_MAX_LCORE', 16]] + flags_default_extra = [] flags_thunderx_extra = [ ['RTE_MACHINE', '"thunderx"'], @@ -104,7 +110,7 @@ impl_0x4e = ['NVIDIA', flags_generic, machine_args_generic] impl_0x50 = ['AppliedMicro', flags_generic, machine_args_generic] impl_0x51 = ['Qualcomm', flags_generic, machine_args_generic] impl_0x53 = ['Samsung', flags_generic, machine_args_generic] -impl_0x56 = ['Marvell', flags_generic, machine_args_generic] +impl_0x56 = ['Marvell ARMADA', flags_armada, machine_args_generic] impl_0x69 = ['Intel', flags_generic, machine_args_generic] impl_dpaa = ['NXP DPAA', flags_dpaa, machine_args_generic] impl_dpaa2 = ['NXP DPAA2', flags_dpaa2, machine_args_generic] -- 2.7.4