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 A35E1941A3C for ; Thu, 21 Mar 2024 17:18:52 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=eeBeaXp0paVKKoKqPwq6dfxLoF0FYHmmQ7zP5SMMuXU=; 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=1711041531; v=1; b=wnpgCp+SxQpR3oTdL5eL4ojzCXzYXp5tqb8MhgVT7+YRFyy84Ux9r7SCgKC1NwElGgLwKR3O 6X+LcyTsY9xLyUcJF0V+EH5IkLyBf7Xe08TbzEtl1Lhph2s1tikM3F3OkyMzLSghbEb/cZioPRb tXK8doZEoPAsRgYMKeXgb8ZiTV819p+eza28NYmhEHWxvcsfrP9xXYzfk2tffMUPuJ15ICwLtN8 8tI2gCLHaaDjv/9RuE3h8z25YCsaOhjA9gb6j32Pk5slbTlljuLt92Jh3+z2apI6vkLlaJ+lxSV tBBxFylV+h2YxbXBv9NAuf5ABF2b7ohMTB7e6CYwUm1yw== X-Received: by 127.0.0.2 with SMTP id lzFIYY7687511xxGOnQMYsgd; Thu, 21 Mar 2024 10:18:51 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.2940.1711041530451295274 for ; Thu, 21 Mar 2024 10:18:50 -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 623171688; Thu, 21 Mar 2024 10:19:24 -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 D7C9C3F67D; Thu, 21 Mar 2024 10:18:47 -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 07/14] Platform/ARM: Juno: Move Pci Address Map info to Arch Common Date: Thu, 21 Mar 2024 18:18:08 +0100 Message-Id: <20240321171815.781762-8-pierre.gondois@arm.com> In-Reply-To: <20240321171815.781762-1-pierre.gondois@arm.com> References: <20240321171815.781762-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 10:18:50 -0700 Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: ZQUvW33dNTEZ6tKtkLg0KeIhx7686176AA= 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=wnpgCp+S; 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 for the following Arch Common object Id: - EArchCommonObjPciAddressMapInfo 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 | 28 +++++++++---------- .../ConfigurationManager.h | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.c b/Platform/ARM/JunoPkg/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.c index e33aa6578fd1..8d3af29e9287 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c @@ -1257,7 +1257,7 @@ GetLpiInfo ( @param [in] This Pointer to the Configuration Manager Pro= tocol.=0D @param [in] CmObjectId The Object ID of the CM object requested= =0D @param [in] SearchToken A unique token for identifying the reque= sted=0D - CM_ARM_PCI_ADDRESS_MAP_INFO object.=0D + CM_ARCH_COMMON_PCI_ADDRESS_MAP_INFO obje= ct.=0D @param [in, out] CmObject Pointer to the Configuration Manager Obj= ect=0D descriptor describing the requested Obje= ct.=0D =0D @@ -1703,6 +1703,19 @@ GetArchCommonNameSpaceObject ( }=0D break;=0D =0D + case EArchCommonObjPciAddressMapInfo:=0D + Status =3D HandleCmObjectRefByToken (=0D + This,=0D + CmObjectId,=0D + PlatformRepo->PciAddressMapInfo,=0D + sizeof (PlatformRepo->PciAddressMapInfo),=0D + ARRAY_SIZE (PlatformRepo->PciAddressMapInfo),=0D + Token,=0D + GetPciAddressMapInfo,=0D + CmObject=0D + );=0D + break;=0D +=0D default: {=0D Status =3D EFI_NOT_FOUND;=0D DEBUG ((=0D @@ -1884,19 +1897,6 @@ GetArmNameSpaceObject ( );=0D break;=0D =0D - case EArmObjPciAddressMapInfo:=0D - Status =3D HandleCmObjectRefByToken (=0D - This,=0D - CmObjectId,=0D - PlatformRepo->PciAddressMapInfo,=0D - sizeof (PlatformRepo->PciAddressMapInfo),=0D - ARRAY_SIZE (PlatformRepo->PciAddressMapInfo),=0D - Token,=0D - GetPciAddressMapInfo,=0D - CmObject=0D - );=0D - break;=0D -=0D case EArmObjPciInterruptMapInfo:=0D Status =3D HandleCmObjectRefByToken (=0D This,=0D diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.h b/Platform/ARM/JunoPkg/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.h index 8bd79ca387d4..7a64095a235d 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h @@ -262,7 +262,7 @@ typedef struct PlatformRepositoryInfo { CM_ARCH_COMMON_OBJ_REF PciAddressMapRef[PCI_ADDRESS_MAP_C= OUNT];=0D =0D // PCI address-range mapping information=0D - CM_ARM_PCI_ADDRESS_MAP_INFO PciAddressMapInfo[PCI_ADDRESS_MAP_= COUNT];=0D + CM_ARCH_COMMON_PCI_ADDRESS_MAP_INFO PciAddressMapInfo[PCI_ADDRESS_MAP_= COUNT];=0D =0D // PCI device legacy interrupts mapping references=0D CM_ARCH_COMMON_OBJ_REF PciInterruptMapRef[PCI_INTERRUPT_M= AP_COUNT];=0D --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117008): https://edk2.groups.io/g/devel/message/117008 Mute This Topic: https://groups.io/mt/105069943/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-