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 811B9740039 for ; Thu, 25 Jan 2024 15:19:22 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=mmVAYDKF04W85/26FeFxfCkaiQPzDyKmhOIJR2gF2so=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1706195961; v=1; b=ENZyANUIit02L2G37Jv58dmR1mhuKgOhqtuh+x6wREsjEIcnE3Dbd2HZTZKnbKP791m0cbV9 J56F7IwFqjhwGu7mf2+ts6PcB/MHcZxVPudBRMTrVIbON2Wm52/LAlrTtwNMIi3XXotLdqp6KAH PslVtAXCQ/j7eSA9yGde4Q3M= X-Received: by 127.0.0.2 with SMTP id odcyYY7687511xcWcifr4D6h; Thu, 25 Jan 2024 07:19:21 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.20306.1706195960669343881 for ; Thu, 25 Jan 2024 07:19:20 -0800 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 CC3741FB; Thu, 25 Jan 2024 07:20:04 -0800 (PST) X-Received: from e126645.arm.com (unknown [10.57.47.22]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 133503F5A1; Thu, 25 Jan 2024 07:19:18 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Sami Mujawar , Leif Lindholm , Ard Biesheuvel , Pierre Gondois Subject: [edk2-devel] [PATCH v5 06/11] DynamicTablesPkg: Add PsdToken field to CM_ARM_GICC_INFO object Date: Thu, 25 Jan 2024 16:18:45 +0100 Message-Id: <20240125151850.620749-7-pierre.gondois@arm.com> In-Reply-To: <20240125151850.620749-1-pierre.gondois@arm.com> References: <20240125151850.620749-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 Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: PKCAcPlzkQHywJfwbfYNEUl7x7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=ENZyANUI; 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 The _PSD object (cf. ACPI 6.5, s8.4.5.5 _PSD (P-State Dependency) allows to describe CPU's power state dependencies. Add a PsdToken field to the CM_ARM_GICC_INFO object so that interdependent CPUs can reference the same CM_ARM_PSD_INFO object. Reviewed-by: Sami Mujawar Signed-off-by: Pierre Gondois --- DynamicTablesPkg/Include/ArmNameSpaceObjects.h | 5 +++++ .../Common/TableHelperLib/ConfigurationManagerObjectParser.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h b/DynamicTables= Pkg/Include/ArmNameSpaceObjects.h index 3748cb7c8085..3805c5824773 100644 --- a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h +++ b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h @@ -218,6 +218,11 @@ typedef struct CmArmGicCInfo { i.e. a token referencing a CM_ARM_ET_INFO object.=0D */=0D CM_OBJECT_TOKEN EtToken;=0D +=0D + /** Optional field: Reference Token for the Psd info of this processor.= =0D + i.e. a token referencing a CM_ARM_PSD_INFO object.=0D + */=0D + CM_OBJECT_TOKEN PsdToken;=0D } CM_ARM_GICC_INFO;=0D =0D /** A structure that describes the=0D diff --git a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationMa= nagerObjectParser.c b/DynamicTablesPkg/Library/Common/TableHelperLib/Config= urationManagerObjectParser.c index dc60a75eabb1..69b6eba23cf4 100644 --- a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerOb= jectParser.c +++ b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerOb= jectParser.c @@ -85,7 +85,8 @@ STATIC CONST CM_OBJ_PARSER CmArmGicCInfoParser[] =3D { { "AffinityFlags", 4, "0x%x", N= ULL },=0D { "CpcToken", sizeof (CM_OBJECT_TOKEN), "0x%p", N= ULL },=0D { "TRBEInterrupt", 2, "0x%x", N= ULL },=0D - { "EtToken", sizeof (CM_OBJECT_TOKEN), "0x%p", N= ULL }=0D + { "EtToken", sizeof (CM_OBJECT_TOKEN), "0x%p", N= ULL },=0D + { "PsdToken", sizeof (CM_OBJECT_TOKEN), "0x%p", N= ULL },=0D };=0D =0D /** A parser for EArmObjGicDInfo.=0D --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114416): https://edk2.groups.io/g/devel/message/114416 Mute This Topic: https://groups.io/mt/103955503/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-