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 EB2D3740047 for ; Thu, 21 Mar 2024 15:54:00 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=hbJWlHCLJgos5l9PWFk7XR7Hh1BdNbhpMNK935DTYQ4=; 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=1711036439; v=1; b=bXeTipQBHfGcPVG44dS/oH4lGSLNpZ1JY+qlRhyu8UIWx9VgudRrficm9C6fBWLtobnejLA3 R6tkpguYO4j0jKlTQOAB8VNtchrdtiWEnXkNF6sPsXrzn4lSviulrJP7wERns2VGwCIGirrsNU/ jyQfzfkmqgAJCOUr06avdaFM4YnImXcWQbY2IlkUeK1OGGfT6qHCOdJ2vzBLurVsV0DWk01bpkZ l6RdAZ+/2sy0LBXUGglHhvLj3gKo2jUFSCJcmlSoI3DYfvajRtG5a81F6lIf+kyMINjYBxkViEl EgaLf3R5t821Q28WpDaWZZ2WSdgaUONafmCZW4IzBCgBg== X-Received: by 127.0.0.2 with SMTP id jL2eYY7687511xP1NH771zIr; Thu, 21 Mar 2024 08:53:59 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.374.1711036438605607107 for ; Thu, 21 Mar 2024 08:53:58 -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 7BD661063; Thu, 21 Mar 2024 08:54:32 -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 7132C3F67D; Thu, 21 Mar 2024 08:53:55 -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/16] DynamicTablesPkg: Replace ProcNodeIdInfo with EArmObjReserved29 Date: Thu, 21 Mar 2024 16:53:05 +0100 Message-Id: <20240321155319.701355-3-pierre.gondois@arm.com> In-Reply-To: <20240321155319.701355-1-pierre.gondois@arm.com> References: <20240321155319.701355-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 08:53:58 -0700 Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: cTBp78Ax6qOAIKSWn5NukWlex7686176AA= 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=bXeTipQB; 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 From: Sami Mujawar The CM_ARM_PROC_NODE_ID_INFO was dropped by the patch at "b2bbe3df5470 DynamicTablesPkg: Remove PPTT ID structure from ACPI 6.4 generator" and the EArmObjProcNodeIdInfo was made EArmObjReserved29. Since ProcNodeIdInfo is no longer used drop the CM object parser code from EArmObjProcNodeIdInfo and specify a null entry for EArmObjReserved29. 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: Sami Mujawar Signed-off-by: Pierre Gondois --- .../DynamicPlatRepoLib/CmObjectTokenFixer.c | 2 +- .../ConfigurationManagerObjectParser.c | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/CmObjectTok= enFixer.c b/DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/CmObjectToke= nFixer.c index 345acab53f74..9a6ab2a274aa 100644 --- a/DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/CmObjectTokenFixer= .c +++ b/DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/CmObjectTokenFixer= .c @@ -172,7 +172,7 @@ CM_OBJECT_TOKEN_FIXER TokenFixer[EArmObjMax] =3D { NULL, ///< 26 - SMMU Interrupt Array=0D TokenFixerNotImplemented, ///< 27 - Processor Hierarchy Info=0D TokenFixerNotImplemented, ///< 28 - Cache Info=0D - TokenFixerNotImplemented, ///< 29 - Processor Node ID Info=0D + TokenFixerNotImplemented, ///< 29 - Reserved=0D NULL, ///< 30 - CM Object Reference=0D NULL, ///< 31 - Memory Affinity Info=0D NULL, ///< 32 - Device Handle Acpi=0D diff --git a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationMa= nagerObjectParser.c b/DynamicTablesPkg/Library/Common/TableHelperLib/Config= urationManagerObjectParser.c index 69b6eba23cf4..f96b05b1c0b9 100644 --- a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerOb= jectParser.c +++ b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerOb= jectParser.c @@ -350,18 +350,6 @@ STATIC CONST CM_OBJ_PARSER CmArmCacheInfoParser[] =3D= { { "CacheId", 4, "0x%x", NULL },=0D };=0D =0D -/** A parser for EArmObjProcNodeIdInfo.=0D -*/=0D -STATIC CONST CM_OBJ_PARSER CmArmProcNodeIdInfoParser[] =3D {=0D - { "Token", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },=0D - { "VendorId", 4, "0x%p", NULL },=0D - { "Level1Id", 8, "0x%x", NULL },=0D - { "Level2Id", 8, "0x%x", NULL },=0D - { "MajorRev", 2, "0x%x", NULL },=0D - { "MinorRev", 2, "0x%x", NULL },=0D - { "SpinRev", 2, "0x%x", NULL }=0D -};=0D -=0D /** A parser for EArmObjCmRef.=0D */=0D STATIC CONST CM_OBJ_PARSER CmArmObjRefParser[] =3D {=0D @@ -735,8 +723,7 @@ STATIC CONST CM_OBJ_PARSER_ARRAY ArmNamespaceObjectPar= ser[] =3D { ARRAY_SIZE (CmArmProcHierarchyInfoParser) },=0D { "EArmObjCacheInfo", CmArmCacheInfoParser,=0D ARRAY_SIZE (CmArmCacheInfoParser) },=0D - { "EArmObjProcNodeIdInfo", CmArmProcNodeIdInfoParser,=0D - ARRAY_SIZE (CmArmProcNodeIdInfoParser) },=0D + { "EArmObjReserved29", NULL, = 0 },=0D { "EArmObjCmRef", CmArmObjRefParser, = ARRAY_SIZE (CmArmObjRefParser) },=0D { "EArmObjMemoryAffinityInfo", CmArmMemoryAffinityInfoParser,= =0D ARRAY_SIZE (CmArmMemoryAffinityInfoParser) },=0D --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116963): https://edk2.groups.io/g/devel/message/116963 Mute This Topic: https://groups.io/mt/105067967/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-