From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web11.14233.1683336324356109661 for ; Fri, 05 May 2023 18:25:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=k0z9rv1d; spf=pass (domain: byosoft.com.cn, ip: 121.46.250.151, mailfrom: gaoliming@byosoft.com.cn) Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 8BCB8DDA787 for ; Sat, 6 May 2023 09:25:22 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1683336322; bh=46/WxZvude/9QZLrkLClw+uDwS7qLg54xcrN5LUo+J4=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=k0z9rv1d+xDW5DIQNvGzUAkKPK+WIrA6CXUK581QIwZrjGl1b+LyCwbV9JKiAMIef lSiArghzhFShA3URAFWwdQjVdwdQuRH8HX+B2ll+kDCWMMtmQToNjAg0o2yiHwE9C+ yH4GDa93FKehT71qMK2yjkQGZm8oo01Dv4fzUTfo= Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 8709BDDA7BC for ; Sat, 6 May 2023 09:25:22 +0800 (CST) Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 4EE43DDA79F for ; Sat, 6 May 2023 09:25:22 +0800 (CST) Authentication-Results: cxsh.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id DE785DDA787 for ; Sat, 6 May 2023 09:25:19 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Sat, 06 May 2023 09:25:15 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: "'Ard Biesheuvel'" , "'Leif Lindholm'" , "'Sami Mujawar'" , "'Michael D Kinney'" , "'Zhiguang Liu'" References: <20230505131721.1310590-1-pierre.gondois@arm.com> <20230505131721.1310590-4-pierre.gondois@arm.com> In-Reply-To: <20230505131721.1310590-4-pierre.gondois@arm.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUEFUQ0ggdjEgMDMvMTFdIE1kZVBrZy9BY3BpNjQ6IEFkZCBfUFNEL19DUEMvU3RhdGUgQ29vcmRpbmF0aW9uIFR5cGVzIG1hY3Jvcw==?= Date: Sat, 6 May 2023 09:25:14 +0800 Message-ID: <020c01d97fb9$9bba5ea0$d32f1be0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQD0gbz0Ituf+AG3ELh/99NtxiMaUwLiHjNTsP9dzXA= Sender: "gaoliming" Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Pierre: > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: pierre.gondois@arm.com > =B7=A2=CB=CD=CA=B1=BC=E4: 2023=C4=EA5=D4=C25=C8=D5 21:17 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Ard Biesheuvel ; Leif = Lindholm > ; Sami Mujawar ; Michael D > Kinney ; Liming Gao > ; Zhiguang Liu > =D6=F7=CC=E2: [PATCH v1 03/11] MdePkg/Acpi64: Add _PSD/_CPC/State = Coordination > Types macros >=20 > From: Pierre Gondois >=20 > Add macros for: > - _PSD version > - _CPC version > - C-state/T-state/P-state Coordination Types >=20 > These objects were present in previous ACPI specification version, > but are only added to the latest availbable version (6.4). >=20 > Signed-off-by: Pierre Gondois > --- > MdePkg/Include/IndustryStandard/Acpi64.h | 25 > +++++++++++++++++++++++- > 1 file changed, 24 insertions(+), 1 deletion(-) >=20 > diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h > b/MdePkg/Include/IndustryStandard/Acpi64.h > index 575ca0430c13..e3c128d7548d 100644 > --- a/MdePkg/Include/IndustryStandard/Acpi64.h > +++ b/MdePkg/Include/IndustryStandard/Acpi64.h > @@ -2,7 +2,7 @@ > ACPI 6.4 definitions from the ACPI Specification Revision 6.4 Jan, 2021. >=20 > Copyright (c) 2017 - 2022, Intel Corporation. All rights = reserved.
> - Copyright (c) 2019 - 2021, ARM Ltd. All rights reserved.
> + Copyright (c) 2019 - 2023, Arm Ltd. All rights reserved.
>=20 I see other source files all use ARM Ltd. Is it required to be updated = to Arm Ltd? Thanks Liming > SPDX-License-Identifier: BSD-2-Clause-Patent > **/ > @@ -17,6 +17,29 @@ > // > #pragma pack(1) >=20 > +/// > +/// C-state/T-state/P-state Coordination Types > +/// Cf. s8.3 Power, Performance, and Throttling State Dependencies > +/// > +#define EFI_ACPI_6_4_AML_STATE_COORD_TYPE_SW_ALL 0xFC > +#define EFI_ACPI_6_4_AML_STATE_COORD_TYPE_SW_ANY 0xFD > +#define EFI_ACPI_6_4_AML_STATE_COORD_TYPE_HW_ALL 0xFE > + > +/// > +/// _PSD Revision > +/// Cf. s8.4.6.5 _PSD (P-State Dependency) > +/// > +#define EFI_ACPI_6_4_AML_PSD_REVISION_V0 0 > + > +/// > +/// _CPC Revision > +/// Cf. s8.4.7.1 _CPC (Continuous Performance Control) > +/// > +#define EFI_ACPI_6_4_AML_CPC_REVISION_V0 0 > +#define EFI_ACPI_6_4_AML_CPC_REVISION_V1 1 > +#define EFI_ACPI_6_4_AML_CPC_REVISION_V2 2 > +#define EFI_ACPI_6_4_AML_CPC_REVISION_V3 3 > + > /// > /// ACPI 6.4 Generic Address Space definition > /// > -- > 2.25.1