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 471F943B51; Tue, 20 Feb 2024 02:45:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C3DF402E6; Tue, 20 Feb 2024 02:45:47 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 6D52C402DE for ; Tue, 20 Feb 2024 02:45:46 +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 2ABCD1007; Mon, 19 Feb 2024 17:46:25 -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 DFC543F766; Mon, 19 Feb 2024 17:45:45 -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 2/4] config/arm: add generic V2 SoC Date: Tue, 20 Feb 2024 01:45:31 +0000 Message-Id: <20240220014533.1483934-2-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 generic V2 CPU SoC. This will allow for compiling a binary that will run on any SoC that uses V2 CPU. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Wathsala Vithanage --- config/arm/arm64_v2_linux_gcc | 16 ++++++++++++++++ config/arm/meson.build | 9 +++++++++ 2 files changed, 25 insertions(+) create mode 100644 config/arm/arm64_v2_linux_gcc diff --git a/config/arm/arm64_v2_linux_gcc b/config/arm/arm64_v2_linux_gcc new file mode 100644 index 0000000000..50d9be3da3 --- /dev/null +++ b/config/arm/arm64_v2_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 = 'v2' diff --git a/config/arm/meson.build b/config/arm/meson.build index 18b595ead1..f096ed9ebf 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -527,6 +527,13 @@ soc_bluefield3 = { 'numa': false } +soc_v2 = { + 'description': 'Arm Neoverse V2', + 'implementer': '0x41', + 'part_number': '0xd4f', + 'numa': true +} + ''' Start of SoCs list generic: Generic un-optimized build for armv8 aarch64 execution mode. @@ -555,6 +562,7 @@ stingray: Broadcom Stingray thunderx2: Marvell ThunderX2 T99 thunderxt88: Marvell ThunderX T88 thunderxt83: Marvell ThunderX T83 +v2: Arm Neoverse V2 End of SoCs list ''' # The string above is included in the documentation, keep it in sync with the @@ -586,6 +594,7 @@ socs = { 'thunderx2': soc_thunderx2, 'thunderxt88': soc_thunderxt88, 'thunderxt83': soc_thunderxt83, + 'v2': soc_v2, } dpdk_conf.set('RTE_ARCH_ARM', 1) -- 2.34.1