From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.6060.1633915023281376368 for ; Sun, 10 Oct 2021 18:17:04 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 11 Oct 2021 09:16:56 +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: , , , , "'nd'" References: <20211008144632.31894-1-Pierre.Gondois@arm.com> <359d9a1c-a793-2d0c-1ff8-fe65c06e54fd@arm.com> In-Reply-To: <359d9a1c-a793-2d0c-1ff8-fe65c06e54fd@arm.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYzIDAwLzIxXSBDcmVhdGUgYSBTU0RUIENQVSB0b3BvbG9neSBnZW5lcmF0b3I=?= Date: Mon, 11 Oct 2021 09:16:56 +0800 Message-ID: <006401d7be3d$af266310$0d732930$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIs3fjuwyFPY10OhCBLNdxBMhfAowFeXrc1qxfMSmA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Pierre: Seemly, this is a new feature. Can you submit one BZ for it? Then, I will= add it into the feature planning.=20 Thanks Liming > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io = =E4=BB=A3=E8=A1=A8 Sami > Mujawar > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2021=E5=B9=B410=E6=9C=889=E6=97=A5 = 0:05 > =E6=94=B6=E4=BB=B6=E4=BA=BA: Pierre.Gondois@arm.com; devel@edk2.groups.io= ; > Alexei.Fedorov@arm.com; nd > =E4=B8=BB=E9=A2=98: Re: [edk2-devel] [PATCH v3 00/21] Create a SSDT CPU t= opology > generator >=20 > Merged as 30400318a278..769e63999ff5 >=20 > Thanks. >=20 > Regards, >=20 > Sami Mujawar >=20 >=20 > On 08/10/2021 03:46 PM, Pierre.Gondois@arm.com wrote: > > From: Pierre Gondois > > > > v2: > > - Update or error handling. [Sami/Pierre] > > - Various comments. [Sami] > > and > > New patches: > > DynamicTablesPkg: Remove unnecessary includes > > DynamicTablesPkg: Add missing parameter check > > DynamicTablesPkg: Add AddSsdtAcpiHeader() > > DynamicTablesPkg: Add AmlRdSetEndTagChecksum() > > DynamicTablesPkg: Add AmlSetRdListCheckSum() > > DynamicTablesPkg: Set EndTag's Checksum if RdList is modified > > DynamicTablesPkg: Clear pointer in node creation fcts > > DynamicTablesPkg: Update error handling for node creation > > > > v3: > > -Fix typo and error handling. [Sami] > > > > As part of the DynamicTablesPkg, add a generator creating a > > SSDT table representing a CPU topology. Low Power Idle (LPI) > > states can also be generated along the CPUs. > > This patch-set also adds new functions to generate AML bytecode. > > > > The changes can be seen at: > https://github.com/PierreARM/edk2/tree/1449_Create_ssdt_cpu_topology_g > enerator_v3 > > > > Pierre Gondois (21): > > DynamicTablesPkg: Remove unnecessary includes > > DynamicTablesPkg: Add missing parameter check > > DynamicTablesPkg: Add AddSsdtAcpiHeader() > > DynamicTablesPkg: Add AmlRdSetEndTagChecksum() > > DynamicTablesPkg: Add AmlSetRdListCheckSum() > > DynamicTablesPkg: Set EndTag's Checksum if RdList is modified > > DynamicTablesPkg: Clear pointer in node creation fcts > > DynamicTablesPkg: Update error handling for node creation > > DynamicTablesPkg: Make AmlNodeGetIntegerValue public > > DynamicTablesPkg: AML Code generation for Register() > > DynamicTablesPkg: AML Code generation for Resource data EndTag > > DynamicTablesPkg: AML code generation for a Package > > DynamicTablesPkg: Helper function to compute package length > > DynamicTablesPkg: AML code generation for a ResourceTemplate > > DynamicTablesPkg: AML code generation for a Method > > DynamicTablesPkg: AML code generation to Return a NameString > > DynamicTablesPkg: AML code generation for a Method returning a NS > > DynamicTablesPkg: AML code generation for a _LPI object > > DynamicTablesPkg: AML code generation to add an _LPI state > > DynamicTablesPkg: Add CM_ARM_LPI_INFO object > > DynamicTablesPkg: SSDT CPU topology and LPI state generator > > > > DynamicTablesPkg/DynamicTables.dsc.inc | 6 + > > DynamicTablesPkg/Include/AcpiTableGenerator.h | 7 +- > > .../Include/ArmNameSpaceObjects.h | 68 + > > .../Include/Library/AmlLib/AmlLib.h | 168 ++ > > .../Include/Library/TableHelperLib.h | 35 + > > .../SsdtCmn600Generator.c | 2 - > > .../SsdtCpuTopologyGenerator.c | 1228 > +++++++++++++++ > > .../SsdtCpuTopologyGenerator.h | 134 ++ > > .../SsdtCpuTopologyLibArm.inf | 33 + > > .../SsdtSerialPortGenerator.c | 3 - > > .../Library/Common/AmlLib/AmlEncoding/Aml.c | 87 +- > > .../Library/Common/AmlLib/AmlEncoding/Aml.h | 47 +- > > .../Common/AmlLib/CodeGen/AmlCodeGen.c | 1350 > ++++++++++++++++- > > .../AmlLib/CodeGen/AmlResourceDataCodeGen.c | 210 ++- > > .../AmlLib/CodeGen/AmlResourceDataCodeGen.h | 92 ++ > > .../AmlLib/ResourceData/AmlResourceData.c | 33 + > > .../AmlLib/ResourceData/AmlResourceData.h | 21 + > > .../Library/Common/AmlLib/Tree/AmlClone.c | 2 - > > .../Library/Common/AmlLib/Tree/AmlNode.c | 18 +- > > .../Library/Common/AmlLib/Tree/AmlNode.h | 12 +- > > .../Common/AmlLib/Tree/AmlNodeInterface.c | 7 + > > .../Library/Common/AmlLib/Tree/AmlTree.c | 72 +- > > .../Library/Common/AmlLib/Utils/AmlUtility.c | 79 +- > > .../Library/Common/AmlLib/Utils/AmlUtility.h | 50 +- > > .../SsdtSerialPortFixupLib.c | 1 - > > .../ConfigurationManagerObjectParser.c | 35 + > > .../Common/TableHelperLib/TableHelper.c | 89 ++ > > 27 files changed, 3814 insertions(+), 75 deletions(-) > > create mode 100644 > DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCpuTopologyLibArm/SsdtCpuTo > pologyGenerator.c > > create mode 100644 > DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCpuTopologyLibArm/SsdtCpuTo > pologyGenerator.h > > create mode 100644 > DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCpuTopologyLibArm/SsdtCpuTo > pologyLibArm.inf > > >=20 > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended reci= pient, > please notify the sender immediately and do not disclose the contents to = any > other person, use it for any purpose, or store or copy the information in= any > medium. Thank you. >=20 >=20 >=20 >=20