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 ACEE8D8081E for ; Mon, 10 Jun 2024 09:34:50 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Rimy6HCEKIjbdXPWWF0YEH+6RlPyQ1tX2TsKTEc/F94=; 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=1718012090; v=1; b=IK83WVzA/aWJBCNNQ5YcvC5Olb7XoV3WoX+RgMuD/XJveyKxbQ0ZFDoxu7wf4QdbZXn024Nl Y+XLUlUgw/611m/tA03QjjxwjMEIDhXGFVsLVtsEOTI7J/e7zB1HNpMUMmpVAzwOFow5qfXouFx d5S6owmtz45WDBjdYRo4k27hVjG07z55TfYD+tJKGvuVzjt77fGSptjkxd4y3pPNh/ed/YSyJaw VPy+7A3O1foEYuIj1xuTRmo/cx5jrkl8i0z3M72BYBPOrJm0Fh97VbvqhDU06CfNhP0danRV8vv xAxoG5P7WejiXWTYNxpGp5itHDX7bNRrbFvLfReLeMraw== X-Received: by 127.0.0.2 with SMTP id EDyoYY7687511xF3xTskyBht; Mon, 10 Jun 2024 02:34:49 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.15506.1718012086328575896 for ; Mon, 10 Jun 2024 02:34:46 -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 66DDD12FC; Mon, 10 Jun 2024 02:35:10 -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 AE6733F73F; Mon, 10 Jun 2024 02:34:44 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Pierre Gondois Subject: [edk2-devel] [platforms/devel-dynamictables-reorg PATCH 09/14] Platform/ARM: Morello,N1Sdp: Move Cache info to Arch Common Date: Mon, 10 Jun 2024 11:34:00 +0200 Message-Id: <20240610093405.1980592-10-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:46 -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: DDkQpjVqotqTb0FICoupTZqjx7686176AA= 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=IK83WVzA; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none) 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: - EArchCommonObjCacheInfo Signed-off-by: Pierre Gondois --- .../ConfigurationManager.c | 20 +++++++++---------- .../ConfigurationManager.h | 2 +- .../ConfigurationManager.c | 20 +++++++++---------- .../ConfigurationManager.h | 2 +- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManag= erDxe/ConfigurationManager.c b/Platform/ARM/Morello/ConfigurationManager/= ConfigurationManagerDxe/ConfigurationManager.c index 21e5a742345a..d3624462aa8a 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.c +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.c @@ -863,6 +863,16 @@ GetArchCommonNameSpaceObject ( ); break; =20 + case EArchCommonObjCacheInfo: + Status =3D HandleCmObject ( + CmObjectId, + CommonPlatRepo->CacheInfo, + sizeof (CommonPlatRepo->CacheInfo), + ARRAY_SIZE (CommonPlatRepo->CacheInfo), + CmObject + ); + break; + default: { Status =3D EFI_NOT_FOUND; DEBUG (( @@ -1002,16 +1012,6 @@ GetArmNameSpaceObject ( ); break; =20 - case EArmObjCacheInfo: - Status =3D HandleCmObject ( - CmObjectId, - CommonPlatRepo->CacheInfo, - sizeof (CommonPlatRepo->CacheInfo), - ARRAY_SIZE (CommonPlatRepo->CacheInfo), - 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 df50b860c9a2..7b219083bcca 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.h +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.h @@ -264,7 +264,7 @@ typedef struct CommonPlatformRepositoryInfo { CM_ARCH_COMMON_PROC_HIERARCHY_INFO ProcHierarchyInfo[PLAT_PROC_HIER= ARCHY_NODE_COUNT]; =20 // Cache information - CM_ARM_CACHE_INFO CacheInfo[PLAT_CACHE_COUNT]; + CM_ARCH_COMMON_CACHE_INFO CacheInfo[PLAT_CACHE_COUNT]; =20 // Cluster private resources CM_ARCH_COMMON_OBJ_REF ClusterResources[CLUSTER_RESOURC= E_COUNT]; diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.c b/Platform/ARM/N1Sdp/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.c index 5c7a65afb43c..d90d81bffa9f 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c @@ -1793,6 +1793,16 @@ GetArchCommonNameSpaceObject ( ); break; =20 + case EArchCommonObjCacheInfo: + Status =3D HandleCmObject ( + CmObjectId, + PlatformRepo->CacheInfo, + sizeof (PlatformRepo->CacheInfo), + ARRAY_SIZE (PlatformRepo->CacheInfo), + CmObject + ); + break; + default: { Status =3D EFI_NOT_FOUND; DEBUG (( @@ -2027,16 +2037,6 @@ GetArmNameSpaceObject ( ); break; =20 - case EArmObjCacheInfo: - Status =3D HandleCmObject ( - CmObjectId, - PlatformRepo->CacheInfo, - sizeof (PlatformRepo->CacheInfo), - ARRAY_SIZE (PlatformRepo->CacheInfo), - CmObject - ); - break; - case EArmObjMemoryAffinityInfo: 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 54b0483d43ec..8a8e6e6c99a1 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h @@ -270,7 +270,7 @@ typedef struct PlatformRepositoryInfo { CM_ARCH_COMMON_PROC_HIERARCHY_INFO ProcHierarchyInfo[PLAT_PROC_HIER= ARCHY_NODE_COUNT * 2]; =20 // Cache information - CM_ARM_CACHE_INFO CacheInfo[PLAT_CACHE_COUNT]; + CM_ARCH_COMMON_CACHE_INFO CacheInfo[PLAT_CACHE_COUNT]; =20 // Cluster private resources CM_ARCH_COMMON_OBJ_REF ClusterResources[CLUSTER_RESOURC= E_COUNT]; --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119529): https://edk2.groups.io/g/devel/message/119529 Mute This Topic: https://groups.io/mt/106589347/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-