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 9D801AC0CC4 for ; Mon, 10 Jun 2024 09:34:50 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=n6YWmx4qxJDkyELracU3y0ArW018YZEchnaKvguD0Q0=; 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=A6/WpRbxg7YUf8W9MbjY7che+WzOM3XhztOMI6gAqpirK7b+FnNn3XOS2HfEkd3/0HTFYfXh D5yHw+FF4HRbVBd9xRAm4YreIsQkUhl9vVvsL/f4yre+36iuMWIleosaV5af8wf6bhVzW7WRVwH xuAHNWwhE34e288umXpYUNLf6L1oU5lwRk6GZWTgMyTgj+M9jR7j57vyQh5gtR60xnYvTvscNjP e9a2d0634BVXYEWFUkGJMGSWLcFSVxYKfnX0vp+os57Fe77Jt8sMRPQ3fcYMluDNYVYpFlirBrP WJt+ohsI66LecY9P0k7WyURBSahJp0Y5tatiWwN2N/vQw== X-Received: by 127.0.0.2 with SMTP id NnyqYY7687511xdUkfM8MEuw; 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.web10.15595.1718012087976459479 for ; Mon, 10 Jun 2024 02:34:48 -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 29FE71688; Mon, 10 Jun 2024 02:35:12 -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 6803F3F73B; Mon, 10 Jun 2024 02:34:46 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Pierre Gondois Subject: [edk2-devel] [platforms/devel-dynamictables-reorg PATCH 10/14] Platform/ARM: N1Sdp: Move Memory Affinity info to Arch Common Date: Mon, 10 Jun 2024 11:34:01 +0200 Message-Id: <20240610093405.1980592-11-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:48 -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: D24dnFpRZACco4GKD6AXdvCyx7686176AA= 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="A6/WpRbx"; 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: - N1Sdp for the following Arch Common object Id: - EArmObjMemoryAffinityInfo Signed-off-by: Pierre Gondois --- .../ConfigurationManager.c | 20 +++++++++---------- .../ConfigurationManager.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.c b/Platform/ARM/N1Sdp/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.c index d90d81bffa9f..20aa3bcec217 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c @@ -1803,6 +1803,16 @@ GetArchCommonNameSpaceObject ( ); break; =20 + case EArchCommonObjMemoryAffinityInfo: + Status =3D HandleCmObject ( + CmObjectId, + PlatformRepo->MemAffInfo, + sizeof (PlatformRepo->MemAffInfo), + ARRAY_SIZE (PlatformRepo->MemAffInfo), + CmObject + ); + break; + default: { Status =3D EFI_NOT_FOUND; DEBUG (( @@ -2037,16 +2047,6 @@ GetArmNameSpaceObject ( ); break; =20 - case EArmObjMemoryAffinityInfo: - Status =3D HandleCmObject ( - CmObjectId, - PlatformRepo->MemAffInfo, - sizeof (PlatformRepo->MemAffInfo), - ARRAY_SIZE (PlatformRepo->MemAffInfo), - CmObject - ); - break; - default: { Status =3D EFI_NOT_FOUND; DEBUG (( diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.h b/Platform/ARM/N1Sdp/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.h index 8a8e6e6c99a1..6713e9211fb3 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h @@ -300,7 +300,7 @@ typedef struct PlatformRepositoryInfo { CM_ARCH_COMMON_PCI_CONFIG_SPACE_INFO PciConfigInfo[Root_pcie_max]; =20 /// Memory Affinity Info - CM_ARM_MEMORY_AFFINITY_INFO MemAffInfo[DDR_REGION_COUNT]; + CM_ARCH_COMMON_MEMORY_AFFINITY_INFO MemAffInfo[DDR_REGION_COUNT]; =20 /// N1Sdp Platform Info NEOVERSEN1SOC_PLAT_INFO *PlatInfo; --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119530): https://edk2.groups.io/g/devel/message/119530 Mute This Topic: https://groups.io/mt/106589348/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-