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 5C77D43DCA; Mon, 8 Apr 2024 10:28:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E745F40289; Mon, 8 Apr 2024 10:28:18 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2093.outbound.protection.outlook.com [40.107.243.93]) by mails.dpdk.org (Postfix) with ESMTP id 9C5B34029A for ; Sun, 7 Apr 2024 08:36:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kyo+x5DV9vNqcO4eGgwwzMvAdoCo1ywVUxZmIgOdHdRCjg/eDCOqnC/yjQizA0fhCBtBTI6jCIZ5LaD5r7k+rYWVyhcBWM37NnCIhGHVz+7pAhW1YAzBYABNog6UqSJwO5oiPZytkAV8lqVSCBvGXb0seBCYFJ1IGplun8qKyOchEja+w94G3kXttiidaTbpGWLWGNmitFbyyWH7EDOTdLuXFbgxK6OaVGwsruIiLbGeTNJ1odWBCYEZ4SOqHuFPwDUMDeA24cXGNJL0/2fZWy9uUgVRX+NQl0U9XWj/2H2orMbWXafB3ep+ExVKDZ+d23r1d6eT65AJl8MbZjKOsg== 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=h5Ebk5mxfeu9XiyleJo6hZ8yGqyQSNy68www1tjHuKc=; b=S3sDs5GKaSMK86IAPYNNwlzee6mrXmUcuIC5jdtSZwE+xiwEp81FnHU8UyQCtTw1XiJGMXNo7jNm/STis0t6YxVtFibG11EeUbmY9ArzhN3VtmM6vPXbQjZvjxjMe32uvHptqTD0fZqZxbEZwyOb+ZDItel6I8aivpp0as/rHGym8EvKmLyKeS0PLZmOS1tOHnEDa5Esh0hXcr2PcKL2/Dy17vo1ZgvABKWnQNo0AN55DFN4BWP6WgDEXEEECZYk1IDrRLz4UJAEACs6O/LOJQ9aYjsHfrbEdTswpkjHDaSQbd2edoIXx/0TviEwx9eDbUABNoY4mF8tFdGob3bavA== 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=h5Ebk5mxfeu9XiyleJo6hZ8yGqyQSNy68www1tjHuKc=; b=sb/QmUvrSBINGcnuSR0ehp4Ps82Pw/aFuIT7zZJM9b8patI5gf/TW7pOGXG602aDRxTs4Ml6iDNQTr8HvQ749f2oUsjvnVdrVmA/8VQ5IEYq8AmJSXWZMikTNwLbNLTx8zOHobYrlDcX8R/7iTUtcipESB4AUWTsAZtoG6SYLUI= Received: from SN6PR01MB4752.prod.exchangelabs.com (2603:10b6:805:d8::26) by CYYPR01MB8243.prod.exchangelabs.com (2603:10b6:930:ba::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Sun, 7 Apr 2024 06:36:21 +0000 Received: from SN6PR01MB4752.prod.exchangelabs.com ([fe80::9e81:a511:43a2:8af1]) by SN6PR01MB4752.prod.exchangelabs.com ([fe80::9e81:a511:43a2:8af1%4]) with mapi id 15.20.7409.046; Sun, 7 Apr 2024 06:36:21 +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 Subject: [PATCH] config/arm: add Ampere AmpereOneX platform Date: Sun, 7 Apr 2024 02:36:04 -0400 Message-ID: <20240407063604.79303-1-jiangyutang@os.amperecomputing.com> X-Mailer: git-send-email 2.43.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: CH0PR03CA0367.namprd03.prod.outlook.com (2603:10b6:610:119::24) To SN6PR01MB4752.prod.exchangelabs.com (2603:10b6:805:d8::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR01MB4752:EE_|CYYPR01MB8243:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VyBLsXq7LOeAd25NC2Xel51rqSaE7RlYvbs+5sggCsSElXi65dcx3Y9YZCxdr7KHtRp/LTlg72NDYSeG/0vR7RPKmTxD7PH61hkfXoVitivtYy3z/4BHEwPm3+KA0Cm+y7fsnpr0Pz9veXAl9xJLiMRNviLfZW8Qshnuk8LEMHOgGLmawi5Nu45gAtZ72xG+Y1rMzewkOgNKgIakZpGYObKxybPphWCjv0JzQE/Pqj2L32d1rnuR/bdTez9WxrL5PncStHbD4D9T1wtZQRcuaduZqkmMm6Zm5yU7iW75bGJD5igyGjkPHXdI3YsuV9oc64VzZ03pzM025dpCPgLuLVuU865uPTLbaXU2Wyo96FW3s1iT6oWRn1Q9ul9vmUpaD+MZ0yXMYQLoJc4Bkx6e/xSKGLw2NWV8KlopKMUpARJCVta33wAMrs/UNdOHeOouYNqY5tZFDuHF3UMDLkuUxEguDPI0y3nAnu+98Q3FMYIBB4JXT0esqZjSm6EUpGdyRZdpFzSk23CRK6QsTL/ACCzg4r+ELePYmymUz6/FTux5PMNJuit3UXvUU8r69vfns2ItoBQQFumE28aC3bGIOgF1H7kd4RlR4f1wtAG8hgpEp9Jwp76uNsB+NtSIn7vnEHHXzfZV6rnex6PhXLzH5rlcdLg8lYNL66y3c9aslxVpPPrZ5IAzJ6eYgkAxC3QTkZoLGJFOEfwWHB2PWr1cVg== 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?/QxqLjNpsgYxQkUKtuo4Y9WZBpC76Sa2yDW+/kOF6xwil8ctiFV/9crMiwyL?= =?us-ascii?Q?b+8vpruiWmP/rBf2slE/Yyir2NQV5I1NUtLTZea8XXrAWKs3oePhrYjA+5ut?= =?us-ascii?Q?+eyyP7UmWpu+poeuA/jl5X3QzJZLVkNBLCWSEr42b7ruqjMnLdo5bYzXdeHZ?= =?us-ascii?Q?M4UcVwlRgjhjhXl6M2+/J+bt3tWSUR3VBxXg3SKAVcX5/crsTj9Vw+Y5TbTM?= =?us-ascii?Q?58tTnHC6D3JrUJ1kMhVjH/pTqT1EBsYOZoI04RuSvbCA5tAtUjqBqTxaPrMI?= =?us-ascii?Q?YJoXTdg4gySe7f/izjO2kobO33S5fF9joN/OvwIDBO3CrUl+Cq6JoN1xUrh7?= =?us-ascii?Q?8480dGN6gh4P0uxK6d6laezfTQIRHozE+rRzvYs7UrxAfmDdoaPEwZvRFIaz?= =?us-ascii?Q?zHbG7HaI6vzUzqwguebOt1gFkfbsweo2oDW+GdTPtc3ENNhYyK3WU5eUbxjX?= =?us-ascii?Q?TcPeI/kWmF1/9T4IawHSjW/C2gTs1rXewVRzPvoHqfrl5kunxhVhpNNtfVrg?= =?us-ascii?Q?hprtzl+4lLdQjP5yIQU0NNYqhXqPhaq7dVUeupi/lp/S/9kWVj8wlYBOE6tC?= =?us-ascii?Q?dDr1zR15U0Ssz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ichy/7J6V?= =?us-ascii?Q?ZU5yBVnX6qyRmIiKHrd/eOQWAWhRSXxdwfWoUKAupogGejfhNuvk+ambXVkW?= =?us-ascii?Q?3sTmQyuVK56AFEY3Tw+wntvDCMiIhCsBTa41VZ9Y1MgEf/4mK7wc6SxaLJyV?= =?us-ascii?Q?IkJ2BqKnkdNORjghehxnEzrJG6U1TUl0lFH6/xQWuBBo?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa04321a-1c66-4a17-cf69-08dc56cd0987 X-MS-Exchange-CrossTenant-AuthSource: SN6PR01MB4752.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2024 06:36:21.2273 (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: 4Z4ow9k3QuQK8nMhRk1Dr9kHoArGn0/ixfaldu2JXBm8d1ECP9MybrTooyIUFSkvgxJqlw+/tRwpTRii+4wHdbSFl8E9rYv2C+08K90ml03atSFbQfXbR/FU8piDK02F X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR01MB8243 X-Mailman-Approved-At: Mon, 08 Apr 2024 10:28:17 +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 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