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 238067803D8 for ; Tue, 12 Dec 2023 09:29:45 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=h5UfMCu549Iiy7HrqsD07G0oH67Y0PQqxN0RxKB5P+k=; 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=1702373384; v=1; b=HsNMpZJDo763givntvmK2WPIEr4T7rnAUAjjRDtqSMfSnBYpTKLDSp8fdCQh+2GNwh4wfKle XiWfpLK8kE/Iv8X/uEYuRvrCfJshwPoeYFperzj7+x0LtOoBPlYzmYTroKHiEmyszQ6XX9HbIj+ vHMegw4Quc/FyZEcaNI9uyr8= X-Received: by 127.0.0.2 with SMTP id W2jkYY7687511xWRgB9RXMws; Tue, 12 Dec 2023 01:29:44 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.12934.1702373384091222375 for ; Tue, 12 Dec 2023 01:29:44 -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 41960150C; Tue, 12 Dec 2023 01:30:30 -0800 (PST) X-Received: from e126645.arm.com (unknown [10.57.44.69]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5E6663F5A1; Tue, 12 Dec 2023 01:29:42 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ray Ni , Sami Mujawar , Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [PATCH v4 06/10] DynamicTablesPkg: Add PsdToken field to CM_ARM_GICC_INFO object Date: Tue, 12 Dec 2023 10:28:43 +0100 Message-Id: <20231212092847.1253756-7-pierre.gondois@arm.com> In-Reply-To: <20231212092847.1253756-1-pierre.gondois@arm.com> References: <20231212092847.1253756-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: O55hzacHFV2Zix5xYPF3Zz8ix7686176AA= 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=HsNMpZJD; 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 (#112373): https://edk2.groups.io/g/devel/message/112373 Mute This Topic: https://groups.io/mt/103127052/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-