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 41200A0542; Tue, 5 Jul 2022 15:31:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5BB14021D; Tue, 5 Jul 2022 15:31:13 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 87B85400D7 for ; Tue, 5 Jul 2022 15:31:11 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 36D965C0102; Tue, 5 Jul 2022 09:31:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 05 Jul 2022 09:31:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1657027870; x=1657114270; bh=wG ExVy5qGlqHMsjzI2QlzgQXzej53qY86nRSGcle8SQ=; b=B4cLRbpiHGESHJIqDO y+95UvMetsa0bSQWZo9hhVyQTo7XaBHw4rvAj+Kj4NmNhlCW0BYDfC4Z988zaCDi BpkY4pXdqhI6WGtCw+DioDvvkY8me6JFd21LGMFrn0mGCchLJKNWIQTYjlePSdUq Kfp0L/Fj5tn7XldF1W06VRLA66GcqZt8M2c1Sg9oKfpNwhSZQurJCBH4/tja5/5W y6VmeCfWf0f7AO6lYzDIMiqveMMw8cND3m+1bd504h/9MQ4oHzItMErxYmQFofRU djJehT27nUOwRct9deA/61I7pteS6BFWC3LZ1tOyB1o32VdHFEo5SuVqvy8i/2vZ /uiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1657027870; x=1657114270; bh=wGExVy5qGlqHM sjzI2QlzgQXzej53qY86nRSGcle8SQ=; b=cXZG5qTTgOjEiblZo+1AOYPDFBi/W DcqhDHH+icY6rznhg/kv+nU1BU/eVA5EsiuXr489pKQwkvPSIRdMNpXS5arEswZT XfgoTXSsAT4i5RzKUFIYscv6MdfUHq3QqUB9HdW8OJep9WH8wIRNi/bhluF7VzwH UYoTOze7Z4nLsd+7yxjY74er+C42+yQF42I1VTyrZm60EYPamTfJeyPo8FJEDac+ JSWhety1S50dCIuXojeXkb7In1lCBX/HmXhnfMyLDUFuYiClq3YoOU+M0ubCxXZh CcTUF2NH1qX1D0HSmGI3pKkzY1drlEK0AqSXch7soaslbQAv0xKBcmUuQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeiuddgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvjefhudeghedvtdeijeeigeetuedugfejueekieeltdfhteev keehhfeilefhtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 09:31:08 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: luzhipeng , Ruifeng Wang , Jan Viktorin , Bruce Richardson Subject: [PATCH v3] config/arm: add Phytium FT-2000+ Date: Tue, 5 Jul 2022 15:30:57 +0200 Message-Id: <20220705133057.3821347-1-thomas@monjalon.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220621062437.525-1-luzhipeng@cestc.cn> References: <20220621062437.525-1-luzhipeng@cestc.cn> 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 From: luzhipeng Here adds configs for Phytium server. Signed-off-by: luzhipeng Reviewed-by: Thomas Monjalon --- I did some changes in this v3: - PHYTIUM -> Phytium (as on the website) - ft2000plus -> FT-2000+ (as found online) - alphabetical ordering - extra commas for future extensions - g++ as cpp Meson command Please tell how to write your name with spaces and capitals in the order [first name] [family name], thanks. --- config/arm/arm64_ft2000plus_linux_gcc | 16 +++++++++++++++ config/arm/meson.build | 28 +++++++++++++++++++++++++-- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 config/arm/arm64_ft2000plus_linux_gcc diff --git a/config/arm/arm64_ft2000plus_linux_gcc b/config/arm/arm64_ft2000plus_linux_gcc new file mode 100644 index 0000000000..ae9f779056 --- /dev/null +++ b/config/arm/arm64_ft2000plus_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 = 'ft2000plus' diff --git a/config/arm/meson.build b/config/arm/meson.build index aa12eb76f4..5291c036d6 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -197,6 +197,20 @@ implementer_hisilicon = { } } +implementer_phytium = { + 'description': 'Phytium', + 'flags': [ + ['RTE_MACHINE', '"armv8a"'], + ['RTE_USE_C11_MEM_MODEL', true], + ['RTE_CACHE_LINE_SIZE', 64], + ['RTE_MAX_LCORE', 64], + ['RTE_MAX_NUMA_NODES', 8] + ], + 'part_number_config': { + '0x662': {'machine_args': ['-march=armv8-a+crc']} + } +} + implementer_qualcomm = { 'description': 'Qualcomm', 'flags': [ @@ -214,7 +228,7 @@ implementer_qualcomm = { '0xc00': { 'march': 'armv8-a', 'march_features': ['crc'] - } + }, } } @@ -225,7 +239,8 @@ implementers = { '0x43': implementer_cavium, '0x48': implementer_hisilicon, '0x50': implementer_ampere, - '0x51': implementer_qualcomm + '0x51': implementer_qualcomm, + '0x70': implementer_phytium, } # SoC specific armv8 flags have the highest priority @@ -304,6 +319,13 @@ soc_emag = { 'part_number': '0x0' } +soc_ft2000plus = { + 'description': 'Phytium FT-2000+', + 'implementer': '0x70', + 'part_number': '0x662', + 'numa': true +} + soc_graviton2 = { 'description': 'AWS Graviton2', 'implementer': '0x41', @@ -389,6 +411,7 @@ cn9k: Marvell OCTEON 9 cn10k: Marvell OCTEON 10 dpaa: NXP DPAA emag: Ampere eMAG +ft2000plus: Phytium FT-2000+ graviton2: AWS Graviton2 kunpeng920: HiSilicon Kunpeng 920 kunpeng930: HiSilicon Kunpeng 930 @@ -412,6 +435,7 @@ socs = { 'cn10k' : soc_cn10k, 'dpaa': soc_dpaa, 'emag': soc_emag, + 'ft2000plus': soc_ft2000plus, 'graviton2': soc_graviton2, 'kunpeng920': soc_kunpeng920, 'kunpeng930': soc_kunpeng930, -- 2.36.1