From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 96D3A7803CF for ; Mon, 8 Jul 2024 21:35:12 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=bmnAaKFCFxSeMH6GDwop7F3sdFdDG2w2D4EeuQz11ls=; 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:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1720474512; v=1; b=YIvZ1aMfB/JiZz6av232Mk76Rlb1TzQbmqw9/3gZNYkWAxnhhhU7PFdalTJ43VtOkJcZNrkq E8lgr7M+9acqiffZMPoyYPTB7Uj1LhDZdQIhvBWS2vl5gD05cMc8nfUvFoxujTHNyePZEd1DaB+ TzjEz2I6GAeBklyfkdAadIggJo4kyVPPh9g/6G17Sw5MMdXYbMtYCs80IhqD1qokmZ65Nj0LP3H ztyxlf+kl6EciPAvZkqyWW6rWORKtBe1ZjSxKSjcwclpW2xTrweueeuDwXy6czcb1ye8Y3ONaMk GdWiKILSvSoAyKeWolrxgxnPCEiGPj3S4XSbTgwNx+tBA== X-Received: by 127.0.0.2 with SMTP id KwZ9YY7687511x1KuQ673cL7; Mon, 08 Jul 2024 14:35:10 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.5562.1720474509782671726 for ; Mon, 08 Jul 2024 14:35:10 -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 53E51139F; Mon, 8 Jul 2024 14:35:34 -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 D560B3F641; Mon, 8 Jul 2024 14:35:07 -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 V6 0/6] MPAM ACPI definitions and parser Date: Mon, 8 Jul 2024 22:35:02 +0100 Message-Id: <20240708213502.41232-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 Resent-Date: Mon, 08 Jul 2024 14:35:10 -0700 Resent-From: rohit.mathew@arm.com Reply-To: devel@edk2.groups.io,rohit.mathew@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: im3gJpqVyhryFcuEgnxSng8Bx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=YIvZ1aMf; 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 45.79.224.7 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 Sami. Changes since V3: Addressed comments from Pierre Changes since V4: Addressed comments from Sami regarding Parser. Changes since V5: Addressed comments from Sami regarding Parser. Changes can be found at: https://github.com/rohit-arm/edk2/tree/mpam_acpi_v6 CI results/PR can be found at: https://github.com/tianocore/edk2/pull/5888 [1] https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/log/?h=3D= mpam/snapshot/v6.7-rc2 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 = | 207 +++- ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiParser.h = | 113 +- 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/Hpet/HpetParser.c = | 19 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c = | 32 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.c = | 24 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Mpam/MpamParser.c = | 1241 ++++++++++++++++++++ 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/Parsers/Wsmt/WsmtParser.c = | 20 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib= .c | 3 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib= .inf | 3 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib= .uni | 3 +- 23 files changed, 2040 insertions(+), 148 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 (#119816): https://edk2.groups.io/g/devel/message/119816 Mute This Topic: https://groups.io/mt/107112126/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-