From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 6B512941917 for ; Thu, 21 Mar 2024 16:09:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=72YtnjhY+tR2nuJ2xFdeE3SSMdkCGpX5HFkCRb6j/F4=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1711037345; v=1; b=CXb+dJRAWzs1+NfOOSTCgav5rXwR4QUdBSEbPO6En349WK3jb6egWVVSdBqIOixyfs4r1We0 bFDHU+4Dm1u1Yd4auDXJClw2TPNFknqhmWM2ZmhmTJggSEpZI3v8VTspUO3UKPhGOmmd/YQPyLd 3e2pqlUjC+6A4jc2yTLgH07Gc/A37etBgjMKJG8x617rpHSqThPJxcTVWeRpDnvA4fco1xTFpOy RRbfTgKmFoSjsllbISBUxRUJ05rEtbMqJSCb8h4hRgkQpUHixXlq9TTjTU2wY0WKHUsk6DEmSBW 6q99mNuCuYSOSh3to1YEClflv9uH2w0thppGxxNWF809Q== X-Received: by 127.0.0.2 with SMTP id 1KqVYY7687511x2YgidhgMc8; Thu, 21 Mar 2024 09:09:05 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.919.1711037344589210999 for ; Thu, 21 Mar 2024 09:09:04 -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 973541007; Thu, 21 Mar 2024 09:09:38 -0700 (PDT) X-Received: from e126645.nice.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A2C843F67D; Thu, 21 Mar 2024 09:08:59 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Sami Mujawar , Pierre Gondois , Yeo Reum Yun , Sunil V L , AbdulLateef Attar , Jeshua Smith , Jeff Brasen , Girish Mahadevan , Leif Lindholm , Meenakshi Aggarwal Subject: [edk2-devel] [PATCH 02/14] Platform/ARM: FVP,Juno: Move Power Mgmt Profile info to Arch Common Date: Thu, 21 Mar 2024 17:08:30 +0100 Message-Id: <20240321160842.717417-3-pierre.gondois@arm.com> In-Reply-To: <20240321160842.717417-1-pierre.gondois@arm.com> References: <20240321160842.717417-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: Thu, 21 Mar 2024 09:09:04 -0700 Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: RZDNXv8e1KB8FRwCI8RTFptTx7686176AA= 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=CXb+dJRA; 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 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io 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: - Juno - FVP for the following Arch Common object Id: - EArchCommonObjPowerManagementProfileInfo Cc: Sami Mujawar Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: AbdulLateef Attar Cc: Jeshua Smith Cc: Jeff Brasen Cc: Girish Mahadevan Cc: Leif Lindholm Cc: Meenakshi Aggarwal Signed-off-by: Pierre Gondois --- .../ConfigurationManager.c | 19 ++++++++++--------- .../ConfigurationManager.h | 2 +- .../ConfigurationManager.c | 19 ++++++++++--------- .../ConfigurationManager.h | 2 +- 4 files changed, 22 insertions(+), 20 deletions(-) diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.c b/Platform/ARM/JunoPkg/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.c index 6cd1e6e1135b..c1af3bac2458 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c @@ -1648,6 +1648,16 @@ GetArchCommonNameSpaceObject ( PlatformRepo =3D This->PlatRepoInfo;=0D =0D switch (GET_CM_OBJECT_ID (CmObjectId)) {=0D + case EArchCommonObjPowerManagementProfileInfo:=0D + Status =3D HandleCmObject (=0D + CmObjectId,=0D + &PlatformRepo->PmProfileInfo,=0D + sizeof (PlatformRepo->PmProfileInfo),=0D + 1,=0D + CmObject=0D + );=0D + break;=0D +=0D default: {=0D Status =3D EFI_NOT_FOUND;=0D DEBUG ((=0D @@ -1707,15 +1717,6 @@ GetArmNameSpaceObject ( CmObject=0D );=0D break;=0D - case EArmObjPowerManagementProfileInfo:=0D - Status =3D HandleCmObject (=0D - CmObjectId,=0D - &PlatformRepo->PmProfileInfo,=0D - sizeof (PlatformRepo->PmProfileInfo),=0D - 1,=0D - CmObject=0D - );=0D - break;=0D =0D case EArmObjGenericTimerInfo:=0D Status =3D HandleCmObject (=0D diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.h b/Platform/ARM/JunoPkg/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.h index 78452295a180..034d945f18c5 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h @@ -227,7 +227,7 @@ typedef struct PlatformRepositoryInfo { CM_ARM_BOOT_ARCH_INFO BootArchInfo;=0D =0D /// Power management profile information=0D - CM_ARM_POWER_MANAGEMENT_PROFILE_INFO PmProfileInfo;=0D + CM_ARCH_COMMON_POWER_MANAGEMENT_PROFILE_INFO PmProfileInfo;=0D =0D /// GIC CPU interface information=0D CM_ARM_GICC_INFO GicCInfo[PLAT_CPU_COUNT];=0D diff --git a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationMan= agerDxe/ConfigurationManager.c b/Platform/ARM/VExpressPkg/ConfigurationMana= ger/ConfigurationManagerDxe/ConfigurationManager.c index f145205c4da0..dd7b068a335b 100644 --- a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe= /ConfigurationManager.c +++ b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe= /ConfigurationManager.c @@ -765,6 +765,16 @@ GetArchCommonNameSpaceObject ( PlatformRepo =3D This->PlatRepoInfo;=0D =0D switch (GET_CM_OBJECT_ID (CmObjectId)) {=0D + case EArchCommonObjPowerManagementProfileInfo:=0D + Status =3D HandleCmObject (=0D + CmObjectId,=0D + &PlatformRepo->PmProfileInfo,=0D + sizeof (PlatformRepo->PmProfileInfo),=0D + 1,=0D + CmObject=0D + );=0D + break;=0D +=0D default: {=0D Status =3D EFI_NOT_FOUND;=0D DEBUG ((=0D @@ -859,15 +869,6 @@ GetArmNameSpaceObject ( );=0D break;=0D #endif=0D - case EArmObjPowerManagementProfileInfo:=0D - Status =3D HandleCmObject (=0D - CmObjectId,=0D - &PlatformRepo->PmProfileInfo,=0D - sizeof (PlatformRepo->PmProfileInfo),=0D - 1,=0D - CmObject=0D - );=0D - break;=0D =0D case EArmObjGenericTimerInfo:=0D Status =3D HandleCmObject (=0D diff --git a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationMan= agerDxe/ConfigurationManager.h b/Platform/ARM/VExpressPkg/ConfigurationMana= ger/ConfigurationManagerDxe/ConfigurationManager.h index be2b512911f8..f4d26242c27c 100644 --- a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe= /ConfigurationManager.h +++ b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe= /ConfigurationManager.h @@ -118,7 +118,7 @@ typedef struct PlatformRepositoryInfo { #endif=0D =0D /// Power management profile information=0D - CM_ARM_POWER_MANAGEMENT_PROFILE_INFO PmProfileInfo;=0D + CM_ARCH_COMMON_POWER_MANAGEMENT_PROFILE_INFO PmProfileInfo;=0D =0D /// GIC CPU interface information=0D CM_ARM_GICC_INFO GicCInfo[PLAT_CPU_COUNT];=0D --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117000): https://edk2.groups.io/g/devel/message/117000 Mute This Topic: https://groups.io/mt/105068400/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-