From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.26306.1683618617608026697 for ; Tue, 09 May 2023 00:50:17 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) 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 AA6161063; Tue, 9 May 2023 00:51:01 -0700 (PDT) Received: from [10.34.100.110] (e126645.nice.arm.com [10.34.100.110]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2BD793F67D; Tue, 9 May 2023 00:50:16 -0700 (PDT) Message-ID: <27689e74-c784-9658-4e81-5e08e07dd942@arm.com> Date: Tue, 9 May 2023 09:50:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: =?UTF-8?B?UmU6IOWbnuWkjTogW1BBVENIIHYxIDAzLzExXSBNZGVQa2cvQWNwaTY0OiBBZGQgX1BTRC9fQ1BDL1N0YXRlIENvb3JkaW5hdGlvbiBUeXBlcyBtYWNyb3M=?= To: gaoliming , devel@edk2.groups.io 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> <020c01d97fb9$9bba5ea0$d32f1be0$@byosoft.com.cn> From: "PierreGondois" In-Reply-To: <020c01d97fb9$9bba5ea0$d32f1be0$@byosoft.com.cn> Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hello Liming, On 5/6/23 03:25, gaoliming wrote: > Pierre: >=20 >> -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- >> =E5=8F=91=E4=BB=B6=E4=BA=BA: pierre.gondois@arm.com >> =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B45=E6=9C=885=E6=97=A5= 21:17 >> =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io >> =E6=8A=84=E9=80=81: Ard Biesheuvel ; Leif L= indholm >> ; Sami Mujawar ; Michael D >> Kinney ; Liming Gao >> ; Zhiguang Liu >> =E4=B8=BB=E9=A2=98: [PATCH v1 03/11] MdePkg/Acpi64: Add _PSD/_CPC/Stat= e Coordination >> Types macros >> >> From: Pierre Gondois >> >> Add macros for: >> - _PSD version >> - _CPC version >> - C-state/T-state/P-state Coordination Types >> >> These objects were present in previous ACPI specification version, >> but are only added to the latest availbable version (6.4). >> >> Signed-off-by: Pierre Gondois >> --- >> MdePkg/Include/IndustryStandard/Acpi64.h | 25 >> +++++++++++++++++++++++- >> 1 file changed, 24 insertions(+), 1 deletion(-) >> >> 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. >> >> 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.
>> > I see other source files all use ARM Ltd. Is it required to be updated = to > Arm Ltd? I think the name of the company was rebranded from ARM to Arm in 2017, so I've been asked to change the the copyright name when we update the co= pyright year ... >=20 > Thanks > Liming >> SPDX-License-Identifier: BSD-2-Clause-Patent >> **/ >> @@ -17,6 +17,29 @@ >> // >> #pragma pack(1) >> >> +/// >> +/// 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 >=20 >=20 >=20