From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.133]) by mx.groups.io with SMTP id smtpd.web10.16862.1680064582195773388 for ; Tue, 28 Mar 2023 21:36:22 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@os.amperecomputing.com header.s=selector2 header.b=avXEqwZw; spf=pass (domain: os.amperecomputing.com, ip: 40.107.237.133, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HI0RorNS3YNDSJwRvw3PN9YgPBH+JvdjJmHnhzHdGMjwOtGSQUwV1PHtFpM4F5leKRepBdI0/37VnfCjP4FDZN6MLXF42AvU3VHR5PopGytpRt919jKaomvTMod6v8LTHCJnb3iW2hl1oNPxefrpierykxGPn6afIttbYiVQRqFsPj6LfokvwVFmoGZ7B17VGp/4hM+4AH/0xuph9MqJbl4ckCfuZxJL6gWHFWY2TKgovlWpAP/a9VMXeUyVLmBSDWhczDMqV0OgmigqXQAMS1QHYyDJv2nBSvxjsQLc/x6lnF6eT80mOIDE4DH6kOF1h+pd1K+jm0N4SCHenmb6Sw== 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=r4o6F9VLJcxuB7/BhXEBQWocF1V1fR9UptUITKJD7F8=; b=oelZjinN8PJTngEqTMB6WGE6pGiJXyEjBi9+8c6nEDEL6kko2gJTJTjsstCHupFSBRucaUx3Z28YJcy3oxj/GDJUnK5tnKKsxg/XiqQ0x9a1c+v/ah8Wav9CYTmfbvuA3JoiaTNbI8s9Jh0G2c6Gx14H0Z8Y4qBg7ts7JvA8kSKPiwUEKsIPgZmSFIyZxa9KSM9RSsTWCPtdUuJ81JO6H3stbXZYMN2/3CP3CrVkTi+3fcW2TGprPXDZKvwN65Rpo/XLtIIk8am9TNl/Ih0jTAeo/Ai8ym9J3gjw5PYPcnFVYoeFH01xRVAOLfoLfEiBGs7An8CMZg8HAOuT+fVwYg== 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=r4o6F9VLJcxuB7/BhXEBQWocF1V1fR9UptUITKJD7F8=; b=avXEqwZwjtj9D+NF3JZG3HiiEzAwd2QqbuK8ynxN79r1qqBpeN5TG9OVvKGNlqgye6rvpGxBHYg8ovS5blBt+UaaAiLFvwnrceCYJwkD2dXvF8tYel3Y+0JYeS/St8OQ+N7t3mbuXhFhR9V7HVcxEfyEzUq2H7sGGBUoMHIjejg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by SN6PR01MB4446.prod.exchangelabs.com (2603:10b6:805:ea::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.18; Wed, 29 Mar 2023 04:36:20 +0000 Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::4904:fc7d:35e6:f99]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::4904:fc7d:35e6:f99%5]) with mapi id 15.20.6254.015; Wed, 29 Mar 2023 04:36:20 +0000 From: "Nhi Pham" To: devel@edk2.groups.io CC: patches@amperecomputing.com, quic_llindhol@quicinc.com, ardb+tianocore@kernel.org, Vu Nguyen , Nhi Pham Subject: [edk2-platforms][PATCH v2 5/9] AmpereAltraPkg: Update Ampere Core/Cluster profile Date: Wed, 29 Mar 2023 11:32:42 +0700 Message-ID: <20230329043246.495600-6-nhi@os.amperecomputing.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230329043246.495600-1-nhi@os.amperecomputing.com> References: <20230329043246.495600-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: TY2PR0101CA0042.apcprd01.prod.exchangelabs.com (2603:1096:404:8000::28) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) Return-Path: nhi@os.amperecomputing.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7287:EE_|SN6PR01MB4446:EE_ X-MS-Office365-Filtering-Correlation-Id: 11f3702a-a3b3-4372-cc5b-08db300f24cc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m7OgHFisj54dS+2pCMEcX+wn4CR0Tj5PM4koIzlIxeYacGq+zuoFPDWBw2DzjrXo1LCNuCWjrrBIdno1FMcvB7LqIDcMLxToG1dsPaVzUHXhFZ2F1jyMG8TQKLXymwTfFk67r70bdMPf36C7p2w7xlUcxCHsZ5pQot32lBtr4PG4uSTCx0OsmWpwxKZvJwIVRLJrC0543GvQBsnI6fakbPCVmrn/8XmdQ1RR4MUS5FtuEU0QFoN/YoH5QSmHVvD8DFB53lCZzZKrY39ouVpwyl7DOvOTLBnmOMFdy0e2eZ4hEehvCsdTDzTroviRqumaRwIyH0peHD3Ms2vzL0qr5BY+TViY0qJn5eBJCczrM+ilHxpvXmGyF9BqT0SbNjqoFERw3+6x8eiGbiwZQUcYQLjKOXIYSR9gbzKDAHiS5Y1IEisZ+pB/mOVXJQyiUd9lyRU5U7xScUGmS7ch9TvF2vwgru9FcDkjbAXVBRK0f1Uh2dkB6ANEkWYBjimyYIO5C13h/Fx4sUNHAdwkFjVivyWcGygj1B3mUWdaGurjVcoGM/212+dU9fna+O2AxIyAq30v00fmXEXSnVl3B7UFFBvpb8PIAsc7G9QfoKybqNUZHySa29y1XG7PKT8nqCRa X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR01MB7287.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(376002)(39850400004)(366004)(136003)(451199021)(86362001)(83380400001)(15650500001)(2616005)(5660300002)(186003)(6512007)(26005)(1076003)(8936002)(6506007)(107886003)(6666004)(6486002)(2906002)(4326008)(41300700001)(6916009)(52116002)(66946007)(54906003)(38100700002)(38350700002)(316002)(8676002)(66556008)(66476007)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?JpSdcp8yP3uMpUz/sCeDjQj2PMp3NkkJo5qNLBBpBF7xxHFFBdHRWYf9eC4u?= =?us-ascii?Q?7XDoIx+NisUe+EVyhXEWeXE3/x1Pk88/wx1MWf7qVe/KQNQ/fw//Doy69PYn?= =?us-ascii?Q?Pq6fORDxrG1apgjMxGuWApPhMew0ul4EsXbc3Tvga3k9BpTZ6Aw2apjilMLp?= =?us-ascii?Q?toeNSjinNU2rgP5c2Bpmn0+Stjw3cSH1bVhwNHwDQb1Y3s47Z5qeLII4AsIo?= =?us-ascii?Q?32MfUMCN6NP/+A+aP59TwUGjUt7dR6Bim+nSr06hZQe5m6RM37NrpTtEZJkU?= =?us-ascii?Q?PGm2AY3giY6j5sJkyCBa/E23MwGKMwf6NX17BOufo1FGv5hLoZ6OBbFw6kmJ?= =?us-ascii?Q?FdSSdcKT37ZWheJXDTloOSb/aakcdLpb0Ba4/cQ50XN8My0+DJbwpg3cJyhv?= =?us-ascii?Q?Hd4tLzRfVDVkRHxzmbW73tlMb5SKtOjDamrgr6VeVXPOOhlICIJUwk8CutYu?=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dJLh+xAG1NU2ZOnRs4uOMtciCxA/7?= =?us-ascii?Q?v6ASMZxdb6yMqZqm78FxFIqVdHKOeoPkvjtrNsrDM3yPamqwXDel3W3b9z5j?= =?us-ascii?Q?OdmstN3IOVwujfvbQ7WudOH09EHOxGfW0iOgzQUY0TtW4TGphhDYkNGeQkQD?= =?us-ascii?Q?HFkeYRGh4v6MwUszLqDflPJs9ahwelWydip6hEDWWJs32TxUEj7XMoVgZnxv?= =?us-ascii?Q?1VA8emoazxcx4K9W9jy0QQ18fgqL5PzwZY/22o18EEAe/WHH1jOQkIupN5ZX?= =?us-ascii?Q?xRbSv47e1Y1soPF0hVqOVpw=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11f3702a-a3b3-4372-cc5b-08db300f24cc X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2023 04:36:20.6215 (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: tZoHeshMc66Mc1zRkGRJA9CkNKpeKrG10AWV+j4micBDdYdJpQmNxwvjGGA7uD6zOsKIhwq01JDr+MjdAt0IzlxvKdoFmcW7Hvmtt2ZrmBU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR01MB4446 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Vu Nguyen This updates the number of cores and clusters to add support for the Ampere Altra Max processor. Signed-off-by: Nhi Pham --- Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc | 6 +++--- Silicon/Ampere/AmpereAltraPkg/Include/Platform/Ac01.h | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc b/Silicon= /Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc index bf23edc50349..9275e0053af6 100644 --- a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc +++ b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc @@ -1,6 +1,6 @@ ## @file # -# Copyright (c) 2020 - 2021, Ampere Computing LLC. All rights reserved. +# Copyright (c) 2020 - 2023, Ampere Computing LLC. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -410,8 +410,8 @@ [PcdsFixedAtBuild.common] # # Ampere Altra Core-Cluster profile # - gArmPlatformTokenSpaceGuid.PcdCoreCount|80 - gArmPlatformTokenSpaceGuid.PcdClusterCount|40 + gArmPlatformTokenSpaceGuid.PcdCoreCount|128 + gArmPlatformTokenSpaceGuid.PcdClusterCount|64 =20 # # PL011 - Serial Terminal diff --git a/Silicon/Ampere/AmpereAltraPkg/Include/Platform/Ac01.h b/Silico= n/Ampere/AmpereAltraPkg/Include/Platform/Ac01.h index 0db3bfb62018..4bea14d7d2b6 100644 --- a/Silicon/Ampere/AmpereAltraPkg/Include/Platform/Ac01.h +++ b/Silicon/Ampere/AmpereAltraPkg/Include/Platform/Ac01.h @@ -1,6 +1,6 @@ /** @file =20 - Copyright (c) 2020 - 2021, Ampere Computing LLC. All rights reserved. + Copyright (c) 2020 - 2023, Ampere Computing LLC. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -29,6 +29,9 @@ // #define PLATFORM_CPU_MAX_NUM_CORES (PLATFORM_CPU_MAX_SOCKET * PLATF= ORM_CPU_MAX_CPM * PLATFORM_CPU_NUM_CORES_PER_CPM) =20 +#define MAX_AMPERE_ALTRA_CORES 80 +#define MAX_AMPERE_ALTRA_MAX_CORES 128 + // // Maximum number of memory region // --=20 2.25.1