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 AE33E4550E; Fri, 28 Jun 2024 10:56:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9936440EE7; Fri, 28 Jun 2024 10:56:20 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2117.outbound.protection.outlook.com [40.107.237.117]) by mails.dpdk.org (Postfix) with ESMTP id CB9654029B for ; Fri, 28 Jun 2024 05:23:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Krm0dcUUx0wcYQQ+yVp1CyXnkBWuMdT+kEzCNFzDXSglmyxwoMZ0fzy+gWkamCN143pNRe22d94g9TMtfpWFaJO9eB91/cZPGup1xYoU5SOCOKVXrM1eeNO6YKIeNIFO1jFtMmpdz3Yto67aCqQApO/TOpN8ax72NhgaSJohq+yFwmWiqYDp2Q7s9MBEb13ThdY0tFN/wcPAeJlS1R2hQHAczLMoRAIUxMxGBpESeIYGJXfgIOo2Ix+tiTlCu1OHvIpJPY4PU9grBTjPKud+TLiUSZSTeeOKwy55KYJJyMz4kLl1hcF1M+wFKoNSGg9ZqBa5D97DFcUaZCbaKnDVFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P2uT+gvl6P+Ydd8XFPqEJz/Anfj+Kq+9J8dTPBty1RE=; b=csxZ7Dz0E4fJ5t1eD9xwlscgLf0H+Sk3GHbfHful9bFNeqImwlgEdaVJRzxNN0Al08OcqUPDE/BTkyIVILxxANpBJW74a51jKR8mCrlA/Zl23q5ATWHiGpd+D4H7ElJ7eugkjN7gTAIq9GkrQ/GTxNb/+P9wqbdBnbkGtbJtu5k0QTsMwecu26FTxw50il8xi92rlmfu3KBMDgB0mX+F8QCPH4HJoTwJZx25JpYhIBMpbDPgqnDs+Y93sv8O+wMChfFHSLHqrRSPxzNR8IsQCrdM+2Qsk+mzKI8Al5HPmq4EM65DONTb3dGte9ryG4hWI3pd/g5nhTzzIS2k2wOydg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P2uT+gvl6P+Ydd8XFPqEJz/Anfj+Kq+9J8dTPBty1RE=; b=v6A+MbgCZSjGmPJFkIshDjgYHWMEsKyPeDPbd66SkwWrnH/Bv1EEsWG6uDse7qkTJHGra64ndhT5s4gI+7tX7KlB4miqKMrjkotbaDr4V5uglUBC6uV4K/yPPzeVqqGOwyZ4ul/X1dr2Ig1ltGttrRYk+h4LwMyHAmv7gBzp9f0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL0PR01MB4177.prod.exchangelabs.com (2603:10b6:208:48::22) by CO1PR01MB6712.prod.exchangelabs.com (2603:10b6:303:f1::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.35; Fri, 28 Jun 2024 03:23:09 +0000 Received: from BL0PR01MB4177.prod.exchangelabs.com ([fe80::b08e:282e:4e93:1c0a]) by BL0PR01MB4177.prod.exchangelabs.com ([fe80::b08e:282e:4e93:1c0a%4]) with mapi id 15.20.7698.032; Fri, 28 Jun 2024 03:23:08 +0000 From: Yutang Jiang To: dev@dpdk.org Cc: patches@amperecomputing.com, yutang.jiang@amperecomputing.com, jiangyutang@os.amperecomputing.com, ruifeng.wang@arm.com, nd@arm.com, juraj.linkes@pantheon.tech, wathsala.vithanage@arm.com, thomas@monjalon.net, honnappa.nagarahalli@arm.com Subject: [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04 platform Date: Thu, 27 Jun 2024 23:22:47 -0400 Message-ID: <20240628032247.10414-1-jiangyutang@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: CY5PR15CA0070.namprd15.prod.outlook.com (2603:10b6:930:18::6) To BL0PR01MB4177.prod.exchangelabs.com (2603:10b6:208:48::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL0PR01MB4177:EE_|CO1PR01MB6712:EE_ X-MS-Office365-Filtering-Correlation-Id: 076259a9-cce1-4d37-83a0-08dc9721a1c8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?jdpGdsGYsVKZt4OlHAtTxaLv66c4tGhiyMgzAhGS8yiPU5YIHGWsp83wBBUr?= =?us-ascii?Q?lZDXPRpGmgEXwwvrc5EDVWRgrcIDg25frPgfSyAs0VUCZIUiocWNsRrO/7up?= =?us-ascii?Q?aBEf0e/HdwIm/J1sxLQ6aDLGIciExAXxJTYS0TqzCoFBtaqig2XmN+7E8X0N?= =?us-ascii?Q?jywtIC4+jsAy/zFkEjDTHN6LQmtDZQ6wyDVS5vtj9F6wv4vlVWvy9YPsagdy?= =?us-ascii?Q?AQg6H9P2SWbNuue4+1bxL5szBm0k3AmJJBkymrja9yLI6l8AAZiaeuuBw+q3?= =?us-ascii?Q?B4JR9mKfLkdkAwXD3Jvi81cBFRn0XZGtReWTLIqGNcvJUW7Uqto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KBN4cCObtwS2oMY1NVO4x9hKEmFzA2KWiI5BRYAwNVtGJ8?= =?us-ascii?Q?1rnlvc+43hYiCkRifU2AKpZ+DPfqjby6cZwhXoY5cDMxLP85X6T4MTmdz/K3?= =?us-ascii?Q?2+ZJ1a536pJS5yG9NjJlMkZ8r/MNHWVJ64JdgZY7CYwKshrt+ruFotxBk0CX?= =?us-ascii?Q?FgKzN4wAs6ajWYZ7rbUnpZY2EvLCVqcslBLuYZx5hKl46ig4bg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR01MB4177.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?F5g1YzZ2ggREckNVQrdoN6HKibRWD9tlLjJH1bOxruxZ+DugXY89JINr1GNx?= =?us-ascii?Q?kwuOjc5MiRAdFJGOCZNk5pCXHa5TDB18qgVHZpSaKo6iQqnRUmzC9+VHufsg?= =?us-ascii?Q?ETNb099S00v+92LLNgU2CiGQWOmLKLaDkLYQaXwfZFeLQVFJyBuEpbG+0cVc?= =?us-ascii?Q?XUeniHOzbUie4aMPobKkpKsOiJoBZWNbFqrDOMdrpk9b4oc0epRRKjNhh+Be?= =?us-ascii?Q?/0wlQ7uXd9UJxRw0RPLHT3a704fTayNYrZAEWAIO6xte+H3rtCEazCeLYi49?= =?us-ascii?Q?fFfgNClEXKA569SrzSi8mQqqwDo5JfHxYFEtf5Bi4RPAYhrWNWuiLAiUgHMy?= =?us-ascii?Q?I2fZ2I0onXcCJ4D+gNks48Gs0oM7gLJeNEOhELtH1M6e6HN5CHRiSg27F9iI?= =?us-ascii?Q?SNkjwGIw5ET6VKX3675wVpslHJjW7lY3y4PeE1xwLbdBdlizrRmO4PtFosjk?= =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oqbPH9y4PEGL2as2Ei2?= =?us-ascii?Q?JcNo46lbfCIW2TGW0q3lXEsN/XEizgeMSy8+w15sJJOFARl5cKav+fUSfxZe?= =?us-ascii?Q?eVyb2bGa5vNy13ddOc4x6Dt2QFudtBYEIYzGBr/xmSKNdmk80U850lyUHZXU?= =?us-ascii?Q?dRCvu8R+GJi0XX07gZ8PYM64adXfnECWY+R74ndRU4CqK6hHcMsOt2tOWh9t?= =?us-ascii?Q?DGCevXsxyfi+TkpRr0ZqHVwFt2MtMGDjy69b085k4dlcNpCZECJjesMFJfmr?= =?us-ascii?Q?Kh21iEg2ZytTXfQMkemr8/eznRmW6eaF5fSvBfyLG8Ih?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 076259a9-cce1-4d37-83a0-08dc9721a1c8 X-MS-Exchange-CrossTenant-AuthSource: BL0PR01MB4177.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2024 03:23:08.8926 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lXhiXt4wmEQwPI8g16zoUI+RAMT9Bgd/LQNF+xhX+ruKt9dXyvAgnbU+IsSIr+VZYZXYsGloT4udBJ9TXh2NwzPNTogmOUBdD+K2gm76Vtb0Y37dPdm9edt/bEWmkgMM X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR01MB6712 X-Mailman-Approved-At: Fri, 28 Jun 2024 10:56:19 +0200 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 The AmpereOneAC04 is efficient Cloud Native CPU: Up to 192 Cores 2MB Private L2 Cache per Core 8 channel DDR5 128 lanes PCIe Gen5 Signed-off-by: Yutang Jiang --- config/arm/arm64_ampereoneac04_linux_gcc | 17 +++++++++++++++++ config/arm/meson.build | 19 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 config/arm/arm64_ampereoneac04_linux_gcc diff --git a/config/arm/arm64_ampereoneac04_linux_gcc b/config/arm/arm64_ampereoneac04_linux_gcc new file mode 100644 index 0000000000..a8dfd6551f --- /dev/null +++ b/config/arm/arm64_ampereoneac04_linux_gcc @@ -0,0 +1,17 @@ +[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' +pkg-config = 'aarch64-linux-gnu-pkg-config' +pcap-config = '' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8.6-a' +endian = 'little' + +[properties] +platform = 'ampereoneac04' diff --git a/config/arm/meson.build b/config/arm/meson.build index a45aa9e466..012935d5d7 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -210,6 +210,16 @@ implementer_ampere = { ['RTE_MAX_LCORE', 320], ['RTE_MAX_NUMA_NODES', 8] ] + }, + '0xac4': { + 'march': 'armv8.6-a', + 'march_features': ['crc', 'crypto'], + 'mcpu': 'ampere1a', + 'flags': [ + ['RTE_MACHINE', '"AmpereOneAC04"'], + ['RTE_MAX_LCORE', 384], + ['RTE_MAX_NUMA_NODES', 8] + ] } } } @@ -371,6 +381,13 @@ soc_ampereone = { 'numa': true } +soc_ampereoneac04 = { + 'description': 'Ampere AmpereOne AC04', + 'implementer': '0xc0', + 'part_number': '0xac4', + 'numa': true +} + soc_armada = { 'description': 'Marvell ARMADA', 'implementer': '0x41', @@ -621,6 +638,7 @@ generic: Generic un-optimized build for armv8 aarch64 execution mode. generic_aarch32: Generic un-optimized build for armv8 aarch32 execution mode. altra: Ampere Altra/AltraMax ampereone: Ampere AmpereOne +ampereoneac04: Ampere AmpereOneAC04 armada: Marvell ARMADA bluefield: NVIDIA BlueField bluefield3: NVIDIA BlueField-3 @@ -658,6 +676,7 @@ socs = { 'generic_aarch32': soc_generic_aarch32, 'altra': soc_altra, 'ampereone': soc_ampereone, + 'ampereoneac04': soc_ampereoneac04, 'armada': soc_armada, 'bluefield': soc_bluefield, 'bluefield3': soc_bluefield3, -- 2.43.0