[edk2-devel] [PATCH v5 0/6] MPAM ACPI definitions and parser

Rohit Mathew posted 6 patches 6 months, 4 weeks ago
Only 0 patches received!
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
[edk2-devel] [PATCH v5 0/6] MPAM ACPI definitions and parser
Posted by Rohit Mathew 6 months, 4 weeks ago
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 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=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

-- 
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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-