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.19609.1684422359786238846 for ; Thu, 18 May 2023 08:05:59 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: rohit.mathew@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 6BD7D1FB; Thu, 18 May 2023 08:06:43 -0700 (PDT) Received: from usa.arm.com (iss-desktop03.cambridge.arm.com [10.1.196.33]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7BD943F793; Thu, 18 May 2023 08:05:57 -0700 (PDT) From: "Rohit Mathew" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Thomas Abraham , Sami Mujawar , James Morse , Ray Ni , Zhichao Gao Subject: [PATCH V2 0/3] MPAM ACPI definitions and parser Date: Thu, 18 May 2023 16:05:49 +0100 Message-Id: <20230518150549.2491548-1-Rohit.Mathew@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This series adds the following - definitions corresponding to MPAM ACPI 2.0 specification. - MPAM parser An MPAM ACPI table formulated using the newly added MPAM ACPI definitions= were validated on the linux kernel tree at [1]. The same table was parsed via acpiview using the newly added parser. Certain aspects of the MPAM ACPI specification are still not implemented by the kernel tree. These aspects= were verified only using acpiview. Changes since V1: - Addressed comments on MPAM ACPI definitions from Sami. - V1 did not incorporate the parser. V2 has this implemented. Link to github: https://github.com/rohit-arm/edk2/tree/mpam_acpi [1] https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/log/?= h=3Dmpam/snapshot/v6.2 Rohit Mathew (3): MdePkg/IndustryStandard: add definitions for MPAM ACPI specification ShellPkg: acpiview: Add routine to print 16 chars ShellPkg/AcpiView: Add MPAM Parser MdePkg/Include/IndustryStandard/Acpi65.h = | 7 +- MdePkg/Include/IndustryStandard/Mpam.h = | 258 ++++ ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c = | 39 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h = | 39 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Mpam/MpamParser.c = | 1331 ++++++++++++++++++++ ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Mpam/MpamParser.h = | 25 + ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib= .c | 3 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib= .inf | 4 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib= .uni | 3 +- 9 files changed, 1703 insertions(+), 6 deletions(-) create mode 100644 MdePkg/Include/IndustryStandard/Mpam.h create mode 100644 ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/= Mpam/MpamParser.c create mode 100644 ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/= Mpam/MpamParser.h --=20 2.34.1