From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5B90EA0548; Mon, 19 Apr 2021 22:40:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3783841471; Mon, 19 Apr 2021 22:40:20 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id B921741448 for ; Mon, 19 Apr 2021 22:40:18 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13JKUZsX011560; Mon, 19 Apr 2021 13:40:11 -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-transfer-encoding : content-type; s=pfpt0220; bh=nvperTFTFf5ZRLhOCL8Soc3rgSa6cV8DX11L6CSdECE=; b=EHUF/qtWP+oMFgfZtiJgvc6njhWzJyl4+2aP+0wVwqhXBvDPighhv9lmHfiDL4VOfAHT lkfpQNOsT2sJokg1qTie9V46zKArMukJ2hNGRLHSHYlIckfmQ9xjwVUEAVVnUmHyzaJ2 E82GskcCNyPFtsKG+wOtrCf2eW8sFhvVygCI5OAaQ1f4h44K67bZuWd3s/7AyCRbJgqi 8gxAXBEqDu8/0NGQjATk0wpwBx417k2IuYhY2gqXj299PX6cUkX/JC8KV/21kV3Bq+XE 1+SToH0y/367MxGyfYpXl17yTwch/uvw7DcLyhhKCY7chx5ykdOto64fynCsKy/7ukdF og== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 380yv9as7h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 19 Apr 2021 13:40:10 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 19 Apr 2021 13:40:09 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 19 Apr 2021 13:40:09 -0700 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id BD5483F704C; Mon, 19 Apr 2021 13:40:06 -0700 (PDT) From: To: , Jan Viktorin , Ruifeng Wang , Bruce Richardson CC: , Pavan Nikhilesh , "Nithin Dabilpuram" Date: Tue, 20 Apr 2021 02:09:47 +0530 Message-ID: <20210419203948.1375-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210331172320.29130-1-ndabilpuram@marvell.com> References: <20210331172320.29130-1-ndabilpuram@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: swtgpxDLfHQEaLl9IgWL6JycMZkA08Ii X-Proofpoint-ORIG-GUID: swtgpxDLfHQEaLl9IgWL6JycMZkA08Ii X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-19_11:2021-04-19, 2021-04-19 signatures=0 Subject: [dpdk-dev] [PATCH v2] config/arm: add support for Marvell CN10K X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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: Pavan Nikhilesh Add config support to cross compile for Marvell CN10K SoC. Marvell CN10K SoC is based on ARM Neoverse N2 cores. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- v2 Changes: - Rebase with ToT. config/arm/arm64_cn10k_linux_gcc | 16 ++++++++++++++++ config/arm/meson.build | 12 ++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 config/arm/arm64_cn10k_linux_gcc diff --git a/config/arm/arm64_cn10k_linux_gcc b/config/arm/arm64_cn10k_linux_gcc new file mode 100644 index 000000000..a3578c03a --- /dev/null +++ b/config/arm/arm64_cn10k_linux_gcc @@ -0,0 +1,16 @@ +[binaries] +c = 'aarch64-linux-gnu-gcc' +cpp = 'aarch64-linux-gnu-cpp' +ar = 'aarch64-linux-gnu-gcc-ar' +strip = 'aarch64-linux-gnu-strip' +pkgconfig = 'aarch64-linux-gnu-pkg-config' +pcap-config = '' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8.6-a' +endian = 'little' + +[properties] +platform = 'cn10k' diff --git a/config/arm/meson.build b/config/arm/meson.build index 86cdb9b53..3368cac85 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -316,10 +316,22 @@ soc_thunderxt88 = { 'part_number': '0xa1' } +soc_cn10k = { + 'description' : 'Marvell OCTEON 10', + 'implementer' : '0x41', + 'flags': [ + ['RTE_MAX_LCORE', 24], + ['RTE_MAX_NUMA_NODES', 1] + ], + 'part_number': '0xd49', + 'numa': false +} + socs = { 'generic': soc_generic, 'armada': soc_armada, 'bluefield': soc_bluefield, + 'cn10k' : soc_cn10k, 'dpaa': soc_dpaa, 'emag': soc_emag, 'graviton2': soc_graviton2, -- 2.17.1