public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Laszlo Ersek <lersek@redhat.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	"Anthony PERARD" <anthony.perard@citrix.com>,
	"Andrew Jones" <drjones@redhat.com>,
	"Igor Mammedov" <imammedo@redhat.com>,
	"Jordan Justen" <jordan.l.justen@intel.com>,
	"Julien Grall" <julien.grall@linaro.org>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [PATCH 0/4] OvmfPkg, ArmVirtPkg: add ACPI Test Support
Date: Mon, 26 Nov 2018 18:21:15 +0100	[thread overview]
Message-ID: <CAKv+Gu-AU8211Rjh9Y07HPzTospZEWYN2_HuGWKi_Y_8d+c=0Q@mail.gmail.com> (raw)
In-Reply-To: <20181125100152.25675-1-lersek@redhat.com>

On Sun, 25 Nov 2018 at 11:02, Laszlo Ersek <lersek@redhat.com> wrote:
>
> Repo:   https://github.com/lersek/edk2.git
> Branch: acpi_test_support
>
> The feature is described in the first patch. Build OvmfPkg and
> ArmVirtPkg platforms with "--pcd PcdAcpiTestSupport=TRUE" to enable it.
>
> Cc: Anthony Perard <anthony.perard@citrix.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: Drew Jones <drjones@redhat.com>
> Cc: Igor Mammedov <imammedo@redhat.com>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Julien Grall <julien.grall@linaro.org>
> Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
>
> Thanks,
> Laszlo
>
> Laszlo Ersek (4):
>   OvmfPkg: introduce ACPI Test Support data structure and GUID
>   OvmfPkg/AcpiPlatformDxe: list missing lib classes for
>     QemuFwCfgAcpiPlatformDxe
>   OvmfPkg/AcpiPlatformDxe: add [Un]RegisterAcpiTestSupport() skeletons
>   OvmfPkg/AcpiPlatformDxe: fill in ACPI_TEST_SUPPORT at first
>     Ready-To-Boot
>

I'm not crazy about scraping memory, but since this is a test feature,
and since the hypervisor can be trusted to only scrape regions
populated with non-secure DRAM, I can live with it.

Regarding the GUID: i thought about perhaps using the XOR of two known
GUIDs, but bitwise negation involving a all-ones GUID amounts to the
same thing in the end, so whatever :-)

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

>  OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h               |  10 ++
>  OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf          |   8 ++
>  OvmfPkg/AcpiPlatformDxe/AcpiTestSupport.c            | 119 ++++++++++++++++++++
>  OvmfPkg/AcpiPlatformDxe/EntryPoint.c                 |  24 +++-
>  OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf |  10 ++
>  OvmfPkg/Include/Guid/AcpiTestSupport.h               |  67 +++++++++++
>  OvmfPkg/OvmfPkg.dec                                  |   6 +
>  7 files changed, 239 insertions(+), 5 deletions(-)
>  create mode 100644 OvmfPkg/AcpiPlatformDxe/AcpiTestSupport.c
>  create mode 100644 OvmfPkg/Include/Guid/AcpiTestSupport.h
>
> --
> 2.19.1.3.g30247aa5d201
>


  parent reply	other threads:[~2018-11-26 17:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-25 10:01 [PATCH 0/4] OvmfPkg, ArmVirtPkg: add ACPI Test Support Laszlo Ersek
2018-11-25 10:01 ` [PATCH 1/4] OvmfPkg: introduce ACPI Test Support data structure and GUID Laszlo Ersek
2018-11-26 21:43   ` Philippe Mathieu-Daudé
2018-11-27 11:23     ` Laszlo Ersek
2018-12-03 17:09   ` Igor Mammedov
2018-12-04 17:09     ` Laszlo Ersek
2018-12-26 20:24       ` Laszlo Ersek
2018-12-27  5:11         ` Igor Mammedov
2018-11-25 10:01 ` [PATCH 2/4] OvmfPkg/AcpiPlatformDxe: list missing lib classes for QemuFwCfgAcpiPlatformDxe Laszlo Ersek
2018-11-25 10:01 ` [PATCH 3/4] OvmfPkg/AcpiPlatformDxe: add [Un]RegisterAcpiTestSupport() skeletons Laszlo Ersek
2018-11-25 10:01 ` [PATCH 4/4] OvmfPkg/AcpiPlatformDxe: fill in ACPI_TEST_SUPPORT at first Ready-To-Boot Laszlo Ersek
2018-11-26 17:21 ` Ard Biesheuvel [this message]
2018-11-27 11:02   ` [PATCH 0/4] OvmfPkg, ArmVirtPkg: add ACPI Test Support Laszlo Ersek

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+Gu-AU8211Rjh9Y07HPzTospZEWYN2_HuGWKi_Y_8d+c=0Q@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