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 0BC8FA00C4; Wed, 27 Jul 2022 08:33:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F54240A89; Wed, 27 Jul 2022 08:33:41 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 87DD9400D7 for ; Wed, 27 Jul 2022 08:33:40 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8BDA923A; Tue, 26 Jul 2022 23:33:40 -0700 (PDT) Received: from net-arm-n1amp-02.shanghai.arm.com (net-arm-n1amp-02.shanghai.arm.com [10.169.210.108]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5A50E3F73B; Tue, 26 Jul 2022 23:33:37 -0700 (PDT) From: Ruifeng Wang To: viktorin@rehivetech.com, bruce.richardson@intel.com, juraj.linkes@pantheon.tech, vcchunga@amazon.com Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, nd@arm.com, Ruifeng Wang Subject: [PATCH] config/arm: add Graviton3 Date: Wed, 27 Jul 2022 14:33:21 +0800 Message-Id: <20220727063321.1170042-1-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Add meson build configuration for Graviton3 platform with 64-bit Arm Neoverse N2 cores. It adds crypto feature to generic Neoverse N2 config. Signed-off-by: Ruifeng Wang --- config/arm/arm64_graviton3_linux_gcc | 16 ++++++++++++++++ config/arm/meson.build | 10 ++++++++++ 2 files changed, 26 insertions(+) create mode 100644 config/arm/arm64_graviton3_linux_gcc diff --git a/config/arm/arm64_graviton3_linux_gcc b/config/arm/arm64_graviton3_linux_gcc new file mode 100644 index 0000000000..19b422075d --- /dev/null +++ b/config/arm/arm64_graviton3_linux_gcc @@ -0,0 +1,16 @@ +[binaries] +c = ['ccache', 'aarch64-linux-gnu-gcc'] +cpp = ['ccache', 'aarch64-linux-gnu-g++'] +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-a' +endian = 'little' + +[properties] +platform = 'graviton3' diff --git a/config/arm/meson.build b/config/arm/meson.build index aa12eb76f4..272330ed44 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -311,6 +311,14 @@ soc_graviton2 = { 'numa': false } +soc_graviton3 = { + 'description': 'AWS Graviton3', + 'implementer': '0x41', + 'part_number': '0xd49', + 'extra_march_features': ['crypto'], + 'numa': false +} + soc_kunpeng920 = { 'description': 'HiSilicon Kunpeng 920', 'implementer': '0x48', @@ -390,6 +398,7 @@ cn10k: Marvell OCTEON 10 dpaa: NXP DPAA emag: Ampere eMAG graviton2: AWS Graviton2 +graviton3: AWS Graviton3 kunpeng920: HiSilicon Kunpeng 920 kunpeng930: HiSilicon Kunpeng 930 n1sdp: Arm Neoverse N1SDP @@ -413,6 +422,7 @@ socs = { 'dpaa': soc_dpaa, 'emag': soc_emag, 'graviton2': soc_graviton2, + 'graviton3': soc_graviton3, 'kunpeng920': soc_kunpeng920, 'kunpeng930': soc_kunpeng930, 'n1sdp': soc_n1sdp, -- 2.25.1