public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Sami Mujawar <sami.mujawar@arm.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	Ruiyu Ni <ruiyu.ni@intel.com>,
	 Leif Lindholm <leif.lindholm@linaro.org>,
	Stephanie.Hughes-Fitt@arm.com,  "Yao,
	Jiewen" <jiewen.yao@intel.com>,
	"Carsey, Jaben" <jaben.carsey@intel.com>, nd <nd@arm.com>
Subject: Re: [PATCH v5] ShellPkg: Add acpiview tool to dump ACPI tables
Date: Wed, 21 Mar 2018 09:42:08 +0800	[thread overview]
Message-ID: <CAKv+Gu9OQHr+S_eV17whWvOV7ghqXZqMAKpJdgboLYBJ5Fq58g@mail.gmail.com> (raw)
In-Reply-To: <20180308162602.28152-1-sami.mujawar@arm.com>

On 9 March 2018 at 00:26, Sami Mujawar <sami.mujawar@arm.com> wrote:
> This program is provided to allow examination of ACPI table contents
> from the UEFI Shell.  This can help with investigations, especially at
> that stage where the tables are not enabling an OS to boot.
> The program is not exhaustive, and only encapsulates detailed knowledge
> of a limited number of table types.
>
> Default behaviour is to display the content of all tables installed.
> 'Known' table types will be parsed and displayed with descriptions and
> field values.  Where appropriate a degree of consistency checking is
> done and errors may be reported in the output.
> Other table types will be displayed as an array of Hexadecimal bytes.
>
> To facilitate debugging, the -s and -d options can be used to generate a
> binary file image of a table that can be copied elsewhere for
> investigation using tools such as those provided by acpica.org.  This is
> especially relevant for AML type tables like DSDT and SSDT.
>
> The inspiration for this is the existing smbiosview Debug1 Shell
> command.
>
> Many tables are not explicitly handled, in part because no examples are
> available for our testing.
>
> The program is designed to be extended to new tables with minimal
> effort, and contributions are invited.
>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
> Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

Thanks for contributing this, it is really very useful.

One nit: the MADT table is listed as 'APIC' which i think is
incorrect, i.e,. we should refer to the tables by their official names
rather than by the character sequences used as their signatures.


  parent reply	other threads:[~2018-03-21  1:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180308162602.28152-1-sami.mujawar@arm.com>
2018-03-15 18:48 ` [PATCH v5] ShellPkg: Add acpiview tool to dump ACPI tables Sami Mujawar
2018-03-16  7:11   ` Ni, Ruiyu
2018-04-19 12:57     ` Sami Mujawar
2018-04-20  7:49       ` Ni, Ruiyu
2018-03-21  1:42 ` Ard Biesheuvel [this message]
2018-03-28 18:35   ` Sami Mujawar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKv+Gu9OQHr+S_eV17whWvOV7ghqXZqMAKpJdgboLYBJ5Fq58g@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox