From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id C31CD740047 for ; Fri, 5 Jul 2024 06:12:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=VmAp+y8i4Aj1nE2gx6AEfXqoMyx6z0x4jr3pTvfPlI8=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1720159940; v=1; b=SKyDchk0dG5bbwpc04eK1ZygQWRNBGKBihHcRPUTAdN9sPrTa/lkeWvYqOOritgeaozUMHTf BO7uHHGPl9Z5LIALPAihXx6vVpRczHftDKbocrYh9eUe7JddTk5GIJxHoFT6kREd6w7sPQlMeQ4 6fHB2dtPiPFwXMhOqjp2OQLkzXEiygLSjd/JdfC40O13JXOeTAgKdop5rYqjKMbJBUr1YLBBDk+ vFqmNuZSuJQosmiDE9jKjoRpOIwWRoi1kjsAQK9eWE2/2d8hfmddBr2SK/AOVgIlzfsByQ56YIs PfIOHb9RrZDzhLmTEayu3VtxAoXA+mcZFOiZc9azF8EPg== X-Received: by 127.0.0.2 with SMTP id JqEyYY7687511x4bj28D27D7; Thu, 04 Jul 2024 23:12:19 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.11434.1720159938793205021 for ; Thu, 04 Jul 2024 23:12:18 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6F6E0DA7; Thu, 4 Jul 2024 23:12:43 -0700 (PDT) X-Received: from usa.arm.com (a079755.arm.com [10.162.46.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 90A013F766; Thu, 4 Jul 2024 23:12:16 -0700 (PDT) From: "Prabin CA" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Thomas Abraham Subject: [edk2-devel] [edk2-platforms][PATCH v1 1/1] Platform/Sgi: Rename RD-Fremont to RD-V3 Date: Fri, 5 Jul 2024 11:41:59 +0530 Message-Id: <20240705061159.3462942-2-prabin.ca@arm.com> In-Reply-To: <20240705061159.3462942-1-prabin.ca@arm.com> References: <20240705061159.3462942-1-prabin.ca@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 04 Jul 2024 23:12:18 -0700 Resent-From: prabin.ca@arm.com Reply-To: devel@edk2.groups.io,prabin.ca@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 7FC6y5vU1KzetcWVzOd8O72Qx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=SKyDchk0; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Change all occurrences of RD-Fremont to RD-V3 to align with the official platform name. Signed-off-by: Prabin CA --- Platform/ARM/SgiPkg/{RdFremont/RdFremont.dsc =3D> RdV3/RdV3.dsc} = | 6 +++--- Platform/ARM/SgiPkg/AcpiTables/{RdFremontAcpiTables.inf =3D> RdV3AcpiTab= les.inf} | 8 ++++---- Platform/ARM/SgiPkg/Include/SgiPlatform.h = | 8 ++++---- Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInformation.c = | 4 ++-- Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4ProcessorInformation.= c | 2 +- Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInformation.c = | 2 +- Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c = | 6 +++--- Platform/ARM/SgiPkg/AcpiTables/{RdFremont =3D> RdV3}/Dsdt.asl = | 0 Platform/ARM/SgiPkg/AcpiTables/{RdFremont =3D> RdV3}/Madt.aslc = | 0 Platform/ARM/SgiPkg/AcpiTables/{RdFremont =3D> RdV3}/Pptt.aslc = | 8 ++++---- Platform/ARM/SgiPkg/{RdFremont/RdFremont.fdf.inc =3D> RdV3/RdV3.fdf.inc}= | 2 +- 11 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Platform/ARM/SgiPkg/RdFremont/RdFremont.dsc b/Platform/ARM/S= giPkg/RdV3/RdV3.dsc similarity index 88% rename from Platform/ARM/SgiPkg/RdFremont/RdFremont.dsc rename to Platform/ARM/SgiPkg/RdV3/RdV3.dsc index b52d2f59e15d..cf7606a5d147 100644 --- a/Platform/ARM/SgiPkg/RdFremont/RdFremont.dsc +++ b/Platform/ARM/SgiPkg/RdV3/RdV3.dsc @@ -10,7 +10,7 @@ # ########################################################################= ######## [Defines] - PLATFORM_NAME =3D RdFremont + PLATFORM_NAME =3D RdV3 PLATFORM_GUID =3D fd140b0f-4467-4314-aa69-cd0bd712e08= e PLATFORM_VERSION =3D 0.1 DSC_SPECIFICATION =3D 0x0001001B @@ -19,7 +19,7 @@ [Defines] BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE SKUID_IDENTIFIER =3D DEFAULT FLASH_DEFINITION =3D Platform/ARM/SgiPkg/SgiPlatform.fdf - BOARD_DXE_FV_COMPONENTS =3D Platform/ARM/SgiPkg/RdFremont/RdFre= mont.fdf.inc + BOARD_DXE_FV_COMPONENTS =3D Platform/ARM/SgiPkg/RdV3/RdV3.fdf.i= nc BUILD_NUMBER =3D 1 =20 # include common definitions from SgiPlatform.dsc @@ -52,4 +52,4 @@ [PcdsFixedAtBuild.common] ########################################################################= ######## =20 [Components.common] - Platform/ARM/SgiPkg/AcpiTables/RdFremontAcpiTables.inf + Platform/ARM/SgiPkg/AcpiTables/RdV3AcpiTables.inf diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdFremontAcpiTables.inf b/Pla= tform/ARM/SgiPkg/AcpiTables/RdV3AcpiTables.inf similarity index 92% rename from Platform/ARM/SgiPkg/AcpiTables/RdFremontAcpiTables.inf rename to Platform/ARM/SgiPkg/AcpiTables/RdV3AcpiTables.inf index fcaa3299c4ea..6775c1e91a87 100644 --- a/Platform/ARM/SgiPkg/AcpiTables/RdFremontAcpiTables.inf +++ b/Platform/ARM/SgiPkg/AcpiTables/RdV3AcpiTables.inf @@ -9,7 +9,7 @@ =20 [Defines] INF_VERSION =3D 0x0001001A - BASE_NAME =3D RdFremontAcpiTables + BASE_NAME =3D RdV3AcpiTables FILE_GUID =3D c712719a-0aaf-438c-9cdd-35ab4d60207= d # gArmSgiAcpiTablesGuid MODULE_TYPE =3D USER_DEFINED VERSION_STRING =3D 1.0 @@ -18,9 +18,9 @@ [Sources] Dbg2.aslc Fadt.aslc Gtdt.aslc - RdFremont/Dsdt.asl - RdFremont/Madt.aslc - RdFremont/Pptt.aslc + RdV3/Dsdt.asl + RdV3/Madt.aslc + RdV3/Pptt.aslc Spcr.aslc SsdtEvents.asl SsdtRos.asl diff --git a/Platform/ARM/SgiPkg/Include/SgiPlatform.h b/Platform/ARM/Sgi= Pkg/Include/SgiPlatform.h index acfa45910aed..e4bc8fe723c3 100644 --- a/Platform/ARM/SgiPkg/Include/SgiPlatform.h +++ b/Platform/ARM/SgiPkg/Include/SgiPlatform.h @@ -51,9 +51,9 @@ #define RD_V2_PART_NUM 0x7F2 #define RD_V2_CONF_ID 0x1 =20 -// RD-Fremont Platform Identification values -#define RD_Fremont_PART_NUM 0x7EE -#define RD_Fremont_CONF_ID 0x1 +// RD-V3 Platform Identification values +#define RD_V3_PART_NUM 0x7EE +#define RD_V3_CONF_ID 0x1 =20 #define SGI_CONFIG_MASK 0x0F #define SGI_CONFIG_SHIFT 0x1C @@ -94,7 +94,7 @@ typedef enum { RdN2Cfg1, RdN2Cfg2, RdV2, - RdFremont, + RdV3, } ARM_RD_PRODUCT_ID; =20 // Arm ProductId look-up table diff --git a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInf= ormation.c b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInf= ormation.c index 9c28b051ebc2..c6d809a98d67 100644 --- a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInformatio= n.c +++ b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInformatio= n.c @@ -35,7 +35,7 @@ "RdN2Cfg1\0" \ "RdN2Cfg2\0" \ "RdV2\0" \ - "RdFremont\0" + "RdV3\0" =20 typedef enum { ManufacturerName =3D 1, @@ -75,7 +75,7 @@ STATIC GUID mSmbiosUid[] =3D { {0xd2946d07, 0x8057, 0x4c26, {0xbf, 0x53, 0x78, 0xa6, 0x5b, 0xe1, 0xc1= , 0x60}}, /* Rd-V2 */ {0x3b1180a3, 0x0744, 0x4194, {0xae, 0x2e, 0xed, 0xa5, 0xbc, 0x2e, 0x43= , 0x45}}, - /* Rd-Fremont */ + /* Rd-V3 */ {0x904b28d6, 0x0662, 0x11ed, {0xb9, 0x39, 0x02, 0x42, 0xac, 0x12, 0x00= , 0x02}}, }; =20 diff --git a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4Processor= Information.c b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4Proces= sorInformation.c index c39c1553f6aa..c9c4dbda5fa6 100644 --- a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4ProcessorInforma= tion.c +++ b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4ProcessorInforma= tion.c @@ -183,7 +183,7 @@ InstallType4ProcessorInformation ( case RdN2: case RdN2Cfg1: case RdV2: - case RdFremont: + case RdV3: mArmRdSmbiosType4.Base.CoreCount =3D CoreCount; mArmRdSmbiosType4.Base.EnabledCoreCount =3D CoreCount; mArmRdSmbiosType4.Base.ThreadCount =3D CoreCount; diff --git a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInfo= rmation.c b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInfor= mation.c index 4cdea5b3b763..1e4d5a3d6128 100644 --- a/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInformation= .c +++ b/Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInformation= .c @@ -335,7 +335,7 @@ InstallType7CacheInformation ( mArmRdSmbiosType7[4].Base.Associativity =3D CacheAssociativity16Way; break; case RdV2: - case RdFremont: + case RdV3: /* L1 instruction cache */ mArmRdSmbiosType7[0].Base.MaximumCacheSize2 =3D 64; // 64KB mArmRdSmbiosType7[0].Base.InstalledSize2 =3D 64; // 64KB diff --git a/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c b/Plat= form/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c index ae31be142d12..ecefa8750834 100644 --- a/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c +++ b/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c @@ -86,9 +86,9 @@ STATIC CONST SGI_PRODUCT_ID_LOOKUP SgiProductIdLookup[]= =3D { 0 }, { - RdFremont, - RD_Fremont_PART_NUM, - RD_Fremont_CONF_ID, + RdV3, + RD_V3_PART_NUM, + RD_V3_CONF_ID, 0 }, }; diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdFremont/Dsdt.asl b/Platform= /ARM/SgiPkg/AcpiTables/RdV3/Dsdt.asl similarity index 100% rename from Platform/ARM/SgiPkg/AcpiTables/RdFremont/Dsdt.asl rename to Platform/ARM/SgiPkg/AcpiTables/RdV3/Dsdt.asl diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdFremont/Madt.aslc b/Platfor= m/ARM/SgiPkg/AcpiTables/RdV3/Madt.aslc similarity index 100% rename from Platform/ARM/SgiPkg/AcpiTables/RdFremont/Madt.aslc rename to Platform/ARM/SgiPkg/AcpiTables/RdV3/Madt.aslc diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdFremont/Pptt.aslc b/Platfor= m/ARM/SgiPkg/AcpiTables/RdV3/Pptt.aslc similarity index 94% rename from Platform/ARM/SgiPkg/AcpiTables/RdFremont/Pptt.aslc rename to Platform/ARM/SgiPkg/AcpiTables/RdV3/Pptt.aslc index 28cb6d452479..fe5b60001515 100644 --- a/Platform/ARM/SgiPkg/AcpiTables/RdFremont/Pptt.aslc +++ b/Platform/ARM/SgiPkg/AcpiTables/RdV3/Pptt.aslc @@ -1,14 +1,14 @@ /** @file -* Processor Properties Topology Table (PPTT) for RD-Fremont platform +* Processor Properties Topology Table (PPTT) for RD-V3 platform * * Copyright (c) 2024, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause-Patent * * This file describes the topological structure of the processor block o= n the -* RD-Fremont platform in the form as defined by ACPI PPTT table. The RD-= Fremont -* platform includes sixteen single-thread CPUs. Each of the CPUs include= 64KB -* L1 Data cache, 64KB L1 Instruction cache and 2MB L2 cache. +* RD-V3 platform in the form as defined by ACPI PPTT table. The RD-V3 pl= atform +* includes sixteen single-thread CPUs. Each of the CPUs include 64KB L1 = Data +* cache, 64KB L1 Instruction cache and 2MB L2 cache. * * @par Specification Reference: * - ACPI 6.4, Chapter 5, Section 5.2.29, Processor Properties Topology= Table diff --git a/Platform/ARM/SgiPkg/RdFremont/RdFremont.fdf.inc b/Platform/A= RM/SgiPkg/RdV3/RdV3.fdf.inc similarity index 67% rename from Platform/ARM/SgiPkg/RdFremont/RdFremont.fdf.inc rename to Platform/ARM/SgiPkg/RdV3/RdV3.fdf.inc index a465b7426653..89140426372c 100644 --- a/Platform/ARM/SgiPkg/RdFremont/RdFremont.fdf.inc +++ b/Platform/ARM/SgiPkg/RdV3/RdV3.fdf.inc @@ -7,4 +7,4 @@ # Per-platform additional content of the DXE phase firmware volume =20 # ACPI support - INF RuleOverride=3DACPITABLE Platform/ARM/SgiPkg/AcpiTables/RdFremontA= cpiTables.inf + INF RuleOverride=3DACPITABLE Platform/ARM/SgiPkg/AcpiTables/RdV3AcpiTa= bles.inf --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119801): https://edk2.groups.io/g/devel/message/119801 Mute This Topic: https://groups.io/mt/107049626/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-