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 BE038AC0AD4 for ; Mon, 10 Jun 2024 09:34:46 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=/W0sN+a4ZxPdgUXz6W/Lw3U2uPaOlehb4MAM7gZCMMg=; 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=1718012086; v=1; b=4wU9B86z+QVMY2osuEnRSZTvA37b1von+2gZZez+Zb5NECz8B+GJurwPv2gamnl6NDq3VCv4 bldLRYmT/+S9lwvZ8mvwRJoXoYCADRyE3dEhNg2/fuFH+Xkp1ZMYcRtX5XHfWdF4FuEIc3OFxvi 4sSRbWY2Ymx5zZywzG/hvI5JXsKq6E1mpC1PrAX1LDZXPA7pjefCEe9WS2jsZKCJ0VpIkesiPV8 C0tP8Km3UgWjINdCqOkNdyfDfM0DGcnlHND2qxTa7I8lJ2H6/+xidgA4Po2KmLtTMuSYv8j2hR9 9k9YbOYaKDZEsp4euoBHRzGEa7q3sVreHMAdUsDiKRKFQ== X-Received: by 127.0.0.2 with SMTP id 2CPvYY7687511xWieznHIi7y; Mon, 10 Jun 2024 02:34:40 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.15589.1718012079819400432 for ; Mon, 10 Jun 2024 02:34:39 -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 F2D751688; Mon, 10 Jun 2024 02:35:03 -0700 (PDT) X-Received: from e126645.arm.com (unknown [10.57.69.240]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 880F13F73B; Mon, 10 Jun 2024 02:34:38 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois Subject: [edk2-devel] [platforms/devel-dynamictables-reorg PATCH 05/14] Platform/ARM: Morello,N1Sdp: Move CmRef info to Arch Common Date: Mon, 10 Jun 2024 11:33:56 +0200 Message-Id: <20240610093405.1980592-6-Pierre.Gondois@arm.com> In-Reply-To: <20240610093405.1980592-1-Pierre.Gondois@arm.com> References: <20240610093405.1980592-1-Pierre.Gondois@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: Mon, 10 Jun 2024 02:34:40 -0700 Resent-From: pierre.gondois@arm.com Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: YJmhaH9mhRoNc6uXnxeqh0N2x7686176AA= 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=4wU9B86z; 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 From: Pierre Gondois Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Morello - N1Sdp for the following Arch Common object Id: - EArchCommonObjCmRef Signed-off-by: Pierre Gondois --- .../ConfigurationManager.c | 22 +++++++++---------- .../ConfigurationManager.h | 6 ++--- .../ConfigurationManager.c | 22 +++++++++---------- .../ConfigurationManager.h | 6 ++--- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManag= erDxe/ConfigurationManager.c b/Platform/ARM/Morello/ConfigurationManager/= ConfigurationManagerDxe/ConfigurationManager.c index 0eef9ede01cb..7b6acd854fd3 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.c +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.c @@ -650,7 +650,7 @@ GetGicCInfo ( @param [in] This Pointer to the Configuration Manager P= rotocol. @param [in] CmObjectId The Object ID of the CM object request= ed @param [in] SearchToken A unique token for identifying the req= uested - CM_ARM_OBJ_REF list. + CM_ARCH_COMMON_OBJ_REF list. @param [in, out] CmObject Pointer to the Configuration Manager O= bject descriptor describing the requested Ob= ject. =20 @@ -843,6 +843,16 @@ GetArchCommonNameSpaceObject ( break; #endif =20 + case EArchCommonObjCmRef: + Status =3D HandleCmObjectSearchPlatformRepo ( + This, + CmObjectId, + Token, + GetCmObjRefs, + CmObject + ); + break; + default: { Status =3D EFI_NOT_FOUND; DEBUG (( @@ -1002,16 +1012,6 @@ GetArmNameSpaceObject ( ); break; =20 - case EArmObjCmRef: - Status =3D HandleCmObjectSearchPlatformRepo ( - This, - CmObjectId, - Token, - GetCmObjRefs, - CmObject - ); - break; - default: { Status =3D EFI_NOT_FOUND; DEBUG (( diff --git a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManag= erDxe/ConfigurationManager.h b/Platform/ARM/Morello/ConfigurationManager/= ConfigurationManagerDxe/ConfigurationManager.h index c2a34102b584..96767e3fe888 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.h +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.h @@ -267,13 +267,13 @@ typedef struct CommonPlatformRepositoryInfo { CM_ARM_CACHE_INFO CacheInfo[PLAT_CACHE_COUNT]; =20 // Cluster private resources - CM_ARM_OBJ_REF ClusterResources[CLUSTER_RESOURC= E_COUNT]; + CM_ARCH_COMMON_OBJ_REF ClusterResources[CLUSTER_RESOURC= E_COUNT]; =20 // Core private resources - CM_ARM_OBJ_REF CoreResources[CORE_RESOURCE_COUN= T]; + CM_ARCH_COMMON_OBJ_REF CoreResources[CORE_RESOURCE_COUN= T]; =20 // SoC Resources - CM_ARM_OBJ_REF SocResources[SOC_RESOURCE_COUNT]= ; + CM_ARCH_COMMON_OBJ_REF SocResources[SOC_RESOURCE_COUNT]= ; =20 } EDKII_COMMON_PLATFORM_REPOSITORY_INFO; =20 diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.c b/Platform/ARM/N1Sdp/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.c index 20a0f276a164..85d5ccfbe85c 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c @@ -1557,7 +1557,7 @@ GetGicCInfo ( @param [in] This Pointer to the Configuration Manager Pr= otocol. @param [in] CmObjectId The Object ID of the CM object requeste= d @param [in] SearchToken A unique token for identifying the requ= ested - CM_ARM_OBJ_REF list. + CM_ARCH_COMMON_OBJ_REF list. @param [in, out] CmObject Pointer to the Configuration Manager Ob= ject descriptor describing the requested Obj= ect. =20 @@ -1753,6 +1753,16 @@ GetArchCommonNameSpaceObject ( ); break; =20 + case EArchCommonObjCmRef: + Status =3D HandleCmObjectSearchPlatformRepo ( + This, + CmObjectId, + Token, + GetCmObjRefs, + CmObject + ); + break; + default: { Status =3D EFI_NOT_FOUND; DEBUG (( @@ -2013,16 +2023,6 @@ GetArmNameSpaceObject ( ); break; =20 - case EArmObjCmRef: - Status =3D HandleCmObjectSearchPlatformRepo ( - This, - CmObjectId, - Token, - GetCmObjRefs, - CmObject - ); - break; - case EArmObjPciConfigSpaceInfo: Status =3D HandleCmObject ( CmObjectId, diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.h b/Platform/ARM/N1Sdp/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.h index 0c0e2b5aa43b..faf6d47ed5f5 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h @@ -273,13 +273,13 @@ typedef struct PlatformRepositoryInfo { CM_ARM_CACHE_INFO CacheInfo[PLAT_CACHE_COUNT]; =20 // Cluster private resources - CM_ARM_OBJ_REF ClusterResources[CLUSTER_RESOURC= E_COUNT]; + CM_ARCH_COMMON_OBJ_REF ClusterResources[CLUSTER_RESOURC= E_COUNT]; =20 // Core private resources - CM_ARM_OBJ_REF CoreResources[CORE_RESOURCE_COUN= T]; + CM_ARCH_COMMON_OBJ_REF CoreResources[CORE_RESOURCE_COUN= T]; =20 // SoC Resources - CM_ARM_OBJ_REF SocResources[SOC_RESOURCE_COUNT]= ; + CM_ARCH_COMMON_OBJ_REF SocResources[SOC_RESOURCE_COUNT]= ; =20 /// ITS Group node CM_ARM_ITS_GROUP_NODE ItsGroupInfo[Its_max]; --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119525): https://edk2.groups.io/g/devel/message/119525 Mute This Topic: https://groups.io/mt/106589343/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-