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 9396043B51; Tue, 20 Feb 2024 02:46:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D84C406B8; Tue, 20 Feb 2024 02:45:51 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id D407740685 for ; Tue, 20 Feb 2024 02:45:48 +0100 (CET) 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 95FEEFEC; Mon, 19 Feb 2024 17:46:27 -0800 (PST) Received: from ampere-altra-2-1.usa.Arm.com (ampere-altra-2-1.usa.arm.com [10.118.91.158]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 570D93F766; Mon, 19 Feb 2024 17:45:48 -0800 (PST) From: Honnappa Nagarahalli To: dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, wathsala.vithanage@arm.com, dhruv.tripathi@arm.com, nd@arm.com, Honnappa Nagarahalli Subject: [PATCH v2 4/4] config/arm: add AWS Graviton4 CPU Date: Tue, 20 Feb 2024 01:45:33 +0000 Message-Id: <20240220014533.1483934-4-honnappa.nagarahalli@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240220014533.1483934-1-honnappa.nagarahalli@arm.com> References: <20240118023204.2138662-1-honnappa.nagarahalli@arm.com> <20240220014533.1483934-1-honnappa.nagarahalli@arm.com> 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 AWS Graviton4 platform with 64-bit Arm Neoverse V2 cores. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Wathsala Vithanage --- config/arm/arm64_graviton4_linux_gcc | 16 ++++++++++++++++ config/arm/meson.build | 14 ++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 config/arm/arm64_graviton4_linux_gcc diff --git a/config/arm/arm64_graviton4_linux_gcc b/config/arm/arm64_graviton4_linux_gcc new file mode 100644 index 0000000000..839224bca7 --- /dev/null +++ b/config/arm/arm64_graviton4_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 = 'armv9-a' +endian = 'little' + +[properties] +platform = 'graviton4' diff --git a/config/arm/meson.build b/config/arm/meson.build index 606d8942ca..075d6d8e88 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -447,6 +447,18 @@ soc_graviton3 = { 'numa': false } +soc_graviton4 = { + 'description': 'AWS Graviton4', + 'implementer': '0x41', + 'part_number': '0xd4f', + 'extra_march_features': ['crypto'], + 'flags': [ + ['RTE_MAX_LCORE', 96], + ['RTE_MAX_NUMA_NODES', 1] + ], + 'numa': false +} + soc_hip10 = { 'description': 'HiSilicon HIP10', 'implementer': '0x48', @@ -562,6 +574,7 @@ tys2500: Phytium TengYun S2500 grace: NVIDIA Grace graviton2: AWS Graviton2 graviton3: AWS Graviton3 +graviton4: AWS Graviton4 hip10: HiSilicon HIP10 kunpeng920: HiSilicon Kunpeng 920 kunpeng930: HiSilicon Kunpeng 930 @@ -595,6 +608,7 @@ socs = { 'grace': soc_grace, 'graviton2': soc_graviton2, 'graviton3': soc_graviton3, + 'graviton4': soc_graviton4, 'hip10': soc_hip10, 'kunpeng920': soc_kunpeng920, 'kunpeng930': soc_kunpeng930, -- 2.34.1