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 3C2C343E4E; Fri, 12 Apr 2024 09:58:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E808B40299; Fri, 12 Apr 2024 09:58:36 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2090.outbound.protection.outlook.com [40.107.95.90]) by mails.dpdk.org (Postfix) with ESMTP id 26ED1402A8 for ; Thu, 11 Apr 2024 11:23:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fhg2uPYBZwddmFibWcRlqF5Z7gvrmb54Doy3kj9y/rXssCHJWP2Ikl/hzKW4gYVjkuerxg5QzGuwEVD8p8DHd/vfCiAJQGb4X5/gGyngEJf0lNYQ8PKqrnyPHT3K9lZgo7lnyujBxaKI56KDBZ3l6q+nDklwmqeO+mV7FrLP2KBFS53vaZUpfviqLtTKoz9I8wmUKgzk5lEz8SAli0f6szX3oUPdljcRyyycVu45isZxqA7T04Zaw4IZIyPx51Yjhof4qeyMZgSFxszeupOR4FnrXRL3xljVOuRYYxHhfw3GcelSIIFpk39a0eCTRAfH3lh9VOSmfviJE3nYwut/wQ== 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=aAwEWT68VLktJAmNUVFQNG1G43PigRoInrtufG7fzI0=; b=nOP6YpeEf1fNZfgP/T/HpjYQiNfOc4KSzTNZiZYq823+285k9bGePdFDUdanVVpk7qOTSxeSLaW1hDqT6SDbLWkoETHX/v5Uh8HXQS2hkwn7Cxt8iO9atCSB+hUp9jq65lJv9WB6/ycJ8TUc3ramS3pFyW91Mi5YmKfiZ48eULJfqAjHccaQ1kGYCWaODR3L2nW+zeUXwsHTmPJICWDrrNA74Yk4saHXe7f1ylteDVzcud/aVkajy9i6kSHPNMYh2JQfJ+LsjG4Gz6ghpNJ+yHIiPRHCp3zrgJf4z1bQGLVp2lHdHH4koGPe5tyuubKki1iE/pDncHFXgY8BdjQQVA== 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=aAwEWT68VLktJAmNUVFQNG1G43PigRoInrtufG7fzI0=; b=KV0wfTOTHuu+emoR3rb+O2BH2db7JNnWa8C9uMS3hNvzsvXrzVCMFpDDMrMROyPkKm2LGLcTDSPzSy/e2J6D2iTs8VebVA9zAr/d+KQ8vEcDqcDVoAjTJo5U1eKkdcBD1VBT8um3BTgcmsTh4pBEbC7PofIOF6nZKJbMDf6FoOw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SN6PR01MB4752.prod.exchangelabs.com (2603:10b6:805:d8::26) by SA0PR01MB6234.prod.exchangelabs.com (2603:10b6:806:da::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.55; Thu, 11 Apr 2024 09:23:51 +0000 Received: from SN6PR01MB4752.prod.exchangelabs.com ([fe80::fc6c:a30f:a646:41dc]) by SN6PR01MB4752.prod.exchangelabs.com ([fe80::fc6c:a30f:a646:41dc%3]) with mapi id 15.20.7409.053; Thu, 11 Apr 2024 09:23:51 +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 Subject: [PATCH v2] config/arm: add Ampere AmpereOneX platform Date: Thu, 11 Apr 2024 05:23:32 -0400 Message-ID: <20240411092332.237904-1-jiangyutang@os.amperecomputing.com> X-Mailer: git-send-email 2.43.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: CH0PR03CA0009.namprd03.prod.outlook.com (2603:10b6:610:b0::14) To SN6PR01MB4752.prod.exchangelabs.com (2603:10b6:805:d8::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR01MB4752:EE_|SA0PR01MB6234:EE_ X-MS-Office365-Filtering-Correlation-Id: 6da4214c-a963-4c29-13fb-08dc5a091935 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RnzGVyVLGFfAXwrltSwxYx74ltSMwRSP/bX4HSAicZ0YL3cjZ7gT3D/8UQ7fgNDOsb93rYChnej3cmhxEvkKOgT6QXVaUgrS2RNNdy7QO67gDvCWieaMiCQkCGlfp5fLESA8BOdztiASszixi80C/IUMuv0L4ADVFcMn2owCjzaCtr4BJN0oCU+y1/vu9mRD0KMJ2L4H5deoOkItkOyNg65k1XmKLeokpmC6AsqBWKkg3Gtv+TwPYzjGUB/yjMuZ4Y/dBEnV+FFxDcAls7nmHpwYY6txbmI7vX1JFhqVOk11ORb/D+ZAjZoMRTet15uoP3XXY2bC1UaYxPWMoUN4HzMKOyOZh+uHJ9nqaQuSY5GMzCmbzxfSRfKKbKZWjLyYgobz7swQaknL/gDQsIE0aEyeahBoqTGullmAQccSSmbnyFy3qJItnbriEJYaGuAOrtGVUemkiF7dZB9w2IXHcVsdCPxEFijNDX1e36+ouGnwXNrbP8jmSOM+I/busRW96a5FhtLhzxj8ea17uHVHvF0Zyg60KemD1sTU3Q5ZKPxFISksCxoNRCJW4lrlN0NAU56LtbYw1GCsBI1jevPZbD4jQqOwp100XFNhuJCGEYWv8qCvh25ZlGTtwgm0ABXDAOBYWXsrkkCGCTXHhS5dOWVpcaGtEiFIImkdBVcDmG2ycpvD3VhxECQ8CHfgGJl03lD1DrzzHsl5rwgPV63CCw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR01MB4752.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005)(52116005)(366007)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ZtF6Fq6VDOTm+M/bbczCRr5SNWIjY/A7/KopO1ZmMXxjVixv1zKNpVvaWuqU?= =?us-ascii?Q?iaIsvB0XFMAMyH75bQYeWpvqMYaAezTqiceTjkPx6jKOjCUg7fCDBrEBNl+g?= =?us-ascii?Q?V/V1nFk3EXxHyWpYDJ7ub96hPo5aE67+H45GTVuMwf8766ahHJf01myBK2OS?= =?us-ascii?Q?o6GyGNfk68W1D9JBDRBxtwWcrLF2VdDCWVQKfy7o3xH5wLjcs/G0nITk1KUf?= =?us-ascii?Q?eNwRqPY+L6Y9OMk3VQACne2w88FMxMgTRz8mjlnbvcotCSqlviKeQGrtd7Ar?= =?us-ascii?Q?wy1H5tn5a4rEDpGPmTVE6XLCBFZWA8QMe44vExDaGaC15SCt+T23eAwmLDwn?= =?us-ascii?Q?rk/EXQtk+Mhd1zdqBXj/NoqfzOOrfK7LS1moLpPiFXe4ksL9BwVZPfrXzYVV?= =?us-ascii?Q?7EX0/0iAyFtSYDDSgDghoCLB9KUq1RkdtwZUTuBakRmpnzsXWGI1WdFjN85Z?= =?us-ascii?Q?MftTT7e6aOGJQBwpaHW7fqvHQ07XBIDkySX1lG2jOctGsD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ar2b4eajKE+CFB3R/62Fs4kZpq6VQ6k87+L0pzqeUD?= =?us-ascii?Q?et67NVEu2aj9uCl8cSwbKWqaX273hb/yssSGXqTK15h+ANP1au/8JCP1/SLg?= =?us-ascii?Q?y3Cd3dlA13H9Qyt6w1BZ+JuHEW6Usahs7gtEa6d1gmPqIs8IVcxUHRwyWJBW?= =?us-ascii?Q?MQ23DhCJAGll5HDCGo/Td4kECqXEr990KSfwKOHXpco2R28BVIOe9Tfxb9V2?= =?us-ascii?Q?23SEkBzEMUGGOwyyvbcYMxaUvFbTAvSWYmNClHoGg1z+?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6da4214c-a963-4c29-13fb-08dc5a091935 X-MS-Exchange-CrossTenant-AuthSource: SN6PR01MB4752.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2024 09:23:50.9912 (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: bc2gGEFM2WrRSPJ9ByE5xMPzb4X/5P7YXYqP6dDs+VxzIjB17UrHqli4mQZI+gk6Q336+vG97Y6euyxOW/qngMrceVbTmYrCkEFufqMfgKJcy1lm8WX0C02FJKxZjl25 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR01MB6234 X-Mailman-Approved-At: Fri, 12 Apr 2024 09:58:35 +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 Signed-off-by: Yutang Jiang --- config/arm/arm64_ampereonex_linux_gcc | 16 ++++++++++++++++ config/arm/meson.build | 19 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 config/arm/arm64_ampereonex_linux_gcc diff --git a/config/arm/arm64_ampereonex_linux_gcc b/config/arm/arm64_ampereonex_linux_gcc new file mode 100644 index 0000000000..c5c334fdb7 --- /dev/null +++ b/config/arm/arm64_ampereonex_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.6-a' +endian = 'little' + +[properties] +platform = 'ampereonex' diff --git a/config/arm/meson.build b/config/arm/meson.build index a45aa9e466..40d63b5e4b 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', '"AmpereOneX"'], + ['RTE_MAX_LCORE', 384], + ['RTE_MAX_NUMA_NODES', 8] + ] } } } @@ -371,6 +381,13 @@ soc_ampereone = { 'numa': true } +soc_ampereonex = { + 'description': 'Ampere AmpereOneX', + '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 +ampereonex: Ampere AmpereOneX 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, + 'ampereonex': soc_ampereonex, 'armada': soc_armada, 'bluefield': soc_bluefield, 'bluefield3': soc_bluefield3, -- 2.43.2