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 163E6AC14A3 for ; Tue, 21 Nov 2023 16:50:47 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=33wjnc0ZPOlN8Ts9EPY2D1/LD/rWbQOyLyWr2G/gVRc=; 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=1700585446; v=1; b=ahmQ6W2hE/gPC1wcp6wX4NIjS3q8PvMUFSZ2A5+ep3LBVyyttLgBhmLYP0PFHAajZS/pAMne 3Z9nILFX3E3qU8GJK/QF/LDKjRRhreKRYVJCNJiCJ50N+mZ0HGwGW0m+ZuhQ6+bJmGep5Hi0bpc 2ddD+JpwJrpjhYfLZv2/nDUg= X-Received: by 127.0.0.2 with SMTP id MxxaYY7687511x0b3Ez9vdSy; Tue, 21 Nov 2023 08:50:46 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.46801.1700585441219564898 for ; Tue, 21 Nov 2023 08:50:41 -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 A980B168F; Tue, 21 Nov 2023 08:51:27 -0800 (PST) X-Received: from e126645.nice.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 54D173F6C4; Tue, 21 Nov 2023 08:50:39 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v3 07/11] DynamicTablesPkg: Add PsdToken field to CM_ARM_GICC_INFO object Date: Tue, 21 Nov 2023 17:50:03 +0100 Message-Id: <20231121165007.1546858-8-pierre.gondois@arm.com> In-Reply-To: <20231121165007.1546858-1-pierre.gondois@arm.com> References: <20231121165007.1546858-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: aXMLbFep9JOTvKJL9dFOXzRox7686176AA= 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=ahmQ6W2h; 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. 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 cceff56756fc..178e1821393d 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 (#111574): https://edk2.groups.io/g/devel/message/111574 Mute This Topic: https://groups.io/mt/102732026/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-