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 D6BFDAC18B5 for ; Mon, 2 Oct 2023 17:14:05 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=i6aJbw3gD2k8dukIkxadgUoqzPaIC79a3d8gd0e0Wxw=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id: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=1696266844; v=1; b=gD9QIiLs52uNFflZvZLfmuFAslTRoNQxbgV5Oqu7BmYvf0+g/0DI06vZ213cW7KfNVVkZqQn VLPthU2J7VN+XjZ6P0paY6TDweTee52/MUiNtpGDLAaQa81yinGOxRjUnfjpfbFmr7alwCC5y0P V9DvVwp1v6sd6LWu4oRoyJyU= X-Received: by 127.0.0.2 with SMTP id mApKYY7687511xFV7iZ3Pu2T; Mon, 02 Oct 2023 10:14:04 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.88063.1696266843534861121 for ; Mon, 02 Oct 2023 10:14:04 -0700 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 5B86FC15; Mon, 2 Oct 2023 10:14:41 -0700 (PDT) X-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 C99453F59C; Mon, 2 Oct 2023 10:14:01 -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: [edk2-devel] [PATCH v5 0/6] MPAM ACPI definitions and parser Date: Mon, 2 Oct 2023 18:13:57 +0100 Message-Id: <20231002171357.900361-1-Rohit.Mathew@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,rohit.mathew@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: v0bE1MyCTtN1dU8zeRujDS0wx7686176AA= 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=gD9QIiLs; 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 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. Changes since V2: - Addressed comments related to Interface/Link type defintions from Sam= i. Changes since v3: - Addressed comments from Pierre Changes since v4: - Addressed comments from Sami regarding Parser. Changes can be found at: https://github.com/rohit-arm/edk2/tree/mpam_acpi CI results can be found at: https://github.com/tianocore/edk2/pull/4748 [1] https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/log/?h=3D= mpam/snapshot/v6.5-rc1 Rohit Mathew (6): MdePkg/IndustryStandard: Add definitions for MPAM ACPI specification ShellPkg/AcpiView: Update field-validator prototype ShellPkg/AcpiView: Update print-formatter prototype ShellPkg: acpiview: Add routine to print 16 chars ShellPkg: acpiview: Add routines to print reserved fields ShellPkg/AcpiView: Add MPAM Parser MdePkg/Include/IndustryStandard/Acpi65.h = | 7 +- MdePkg/Include/IndustryStandard/Mpam.h = | 246 ++++ ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.c = | 199 ++- ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h = | 109 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Aest/AestParser.c = | 36 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Dbg2/Dbg2Parser.c = | 8 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Erst/ErstParser.c = | 28 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c = | 24 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c = | 14 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Hmat/HmatParser.c = | 12 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c = | 32 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.c = | 18 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Mpam/MpamParser.c = | 1276 ++++++++++++++++++++ ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pcct/PcctParser.c = | 56 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c = | 38 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Rsdp/RsdpParser.c = | 14 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr/SpcrParser.c = | 14 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c = | 26 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib= .c | 3 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib= .inf | 3 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib= .uni | 3 +- 21 files changed, 2033 insertions(+), 133 deletions(-) create mode 100644 MdePkg/Include/IndustryStandard/Mpam.h create mode 100644 ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/= Mpam/MpamParser.c --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109258): https://edk2.groups.io/g/devel/message/109258 Mute This Topic: https://groups.io/mt/101716889/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-