public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: edk2-devel-01 <edk2-devel@lists.01.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Feng Tian <feng.tian@intel.com>,
	Leif Lindholm <leif.lindholm@linaro.org>,
	Star Zeng <star.zeng@intel.com>
Subject: [PATCH v3 00/12] ArmVirtPkg: don't forward the DT to the OS if QEMU provides ACPI
Date: Fri, 24 Mar 2017 23:38:07 +0100	[thread overview]
Message-ID: <20170324223819.11377-1-lersek@redhat.com> (raw)

This is version 3 of the series posted (as v2) previously at
<https://lists.01.org/pipermail/edk2-devel/2017-March/008684.html>.

Main changes in this version:

* Move gEdkiiPlatformHasAcpiProtocolGuid from ArmPkg to MdeModulePkg,
  also turning (renaming) the protocol into a generic GUID; update
  references.

* Split PlatformHasAcpiLib to its own patch.

* Move gEdkiiPlatformHasDeviceTreeProtocolGuid from ArmPkg to
  EmbeddedPkg, also turning (renaming) the protocol into a generic GUID;
  update references.

* Keep ACPI statically disabled in the 32-bit ArmVirtPkg builds (all
  platform DSCs and FDFs).

* Drop some superfluous ArmVirtPkg.dec package dependencies in INF
  files.

* Patch "[edk2] [PATCH v2 03/12] MdeModulePkg/RamDiskDxe: fix C string
  literal catenation in info messages" has been committed from v2 in
  separation (76874be3d411).

* Retest with a Fedora 25 guest (4.8.7-300.fc25.aarch64); extend writeup
  of results.

Updates are also noted in detail on each patch individually.

Repo:   https://github.com/lersek/edk2.git
Branch: dt_acpi_v3
RHBZ:   https://bugzilla.redhat.com/show_bug.cgi?id=1430262

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Star Zeng <star.zeng@intel.com>

Thanks,
Laszlo

Laszlo Ersek (12):
  Revert "ArmVirtPkg/FdtClientDxe: make DT table installation !ACPI
    dependent"
  Revert "ArmVirtPkg/FdtClientDxe: install DT configuration table at
    ReadyToBoot"
  ArmVirtPkg/XenAcpiPlatformDxe: don't cast UINT64 to pointer directly
  MdeModulePkg: introduce EDKII Platform Has ACPI GUID
  ArmPkg: introduce PlatformHasAcpiLib
  EmbeddedPkg: introduce EDKII Platform Has Device Tree GUID
  ArmVirtPkg: add PlatformHasAcpiDtDxe
  ArmVirtPkg: add XenPlatformHasAcpiDtDxe
  ArmVirtPkg: enable AcpiTableDxe and EFI_ACPI_TABLE_PROTOCOL
    dynamically
  ArmVirtPkg/FdtClientDxe: install DT as sysconfig table in protocol
    notify
  ArmVirtPkg/PlatformHasAcpiDtDxe: don't expose DT if QEMU provides ACPI
  ArmVirtPkg: remove PURE_ACPI_BOOT_ENABLE and PcdPureAcpiBoot

 ArmPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.c         |  36 ++++++
 ArmPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf       |  40 +++++++
 ArmVirtPkg/ArmVirt.dsc.inc                                     |   9 +-
 ArmVirtPkg/ArmVirtQemu.dsc                                     |   1 +
 ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc                           |   1 +
 ArmVirtPkg/ArmVirtQemuKernel.dsc                               |   1 +
 ArmVirtPkg/ArmVirtXen.dsc                                      |   1 +
 ArmVirtPkg/ArmVirtXen.fdf                                      |   1 +
 ArmVirtPkg/FdtClientDxe/FdtClientDxe.c                         | 116 ++++++++++++++------
 ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf                       |   4 +-
 ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.c         |  86 +++++++++++++++
 ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf       |  45 ++++++++
 ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.c             |   3 +-
 ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.c   |  72 ++++++++++++
 ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.inf |  43 ++++++++
 EmbeddedPkg/EmbeddedPkg.dec                                    |   3 +
 EmbeddedPkg/Include/Guid/PlatformHasDeviceTree.h               |  35 ++++++
 MdeModulePkg/Include/Guid/PlatformHasAcpi.h                    |  35 ++++++
 MdeModulePkg/MdeModulePkg.dec                                  |   3 +
 19 files changed, 497 insertions(+), 38 deletions(-)
 create mode 100644 ArmPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.c
 create mode 100644 ArmPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
 create mode 100644 ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.c
 create mode 100644 ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf
 create mode 100644 ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.c
 create mode 100644 ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.inf
 create mode 100644 EmbeddedPkg/Include/Guid/PlatformHasDeviceTree.h
 create mode 100644 MdeModulePkg/Include/Guid/PlatformHasAcpi.h

-- 
2.9.3



             reply	other threads:[~2017-03-24 22:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-24 22:38 Laszlo Ersek [this message]
2017-03-24 22:38 ` [PATCH v3 01/12] Revert "ArmVirtPkg/FdtClientDxe: make DT table installation !ACPI dependent" Laszlo Ersek
2017-03-24 22:38 ` [PATCH v3 02/12] Revert "ArmVirtPkg/FdtClientDxe: install DT configuration table at ReadyToBoot" Laszlo Ersek
2017-03-24 22:38 ` [PATCH v3 03/12] ArmVirtPkg/XenAcpiPlatformDxe: don't cast UINT64 to pointer directly Laszlo Ersek
2017-03-24 22:38 ` [PATCH v3 04/12] MdeModulePkg: introduce EDKII Platform Has ACPI GUID Laszlo Ersek
2017-03-24 22:41   ` Ard Biesheuvel
2017-03-28  8:20   ` Laszlo Ersek
2017-03-24 22:38 ` [PATCH v3 05/12] ArmPkg: introduce PlatformHasAcpiLib Laszlo Ersek
2017-03-24 22:42   ` Ard Biesheuvel
2017-03-24 22:38 ` [PATCH v3 06/12] EmbeddedPkg: introduce EDKII Platform Has Device Tree GUID Laszlo Ersek
2017-03-24 22:42   ` Ard Biesheuvel
2017-03-24 22:38 ` [PATCH v3 07/12] ArmVirtPkg: add PlatformHasAcpiDtDxe Laszlo Ersek
2017-03-24 22:38 ` [PATCH v3 08/12] ArmVirtPkg: add XenPlatformHasAcpiDtDxe Laszlo Ersek
2017-03-24 22:38 ` [PATCH v3 09/12] ArmVirtPkg: enable AcpiTableDxe and EFI_ACPI_TABLE_PROTOCOL dynamically Laszlo Ersek
2017-03-24 22:43   ` Ard Biesheuvel
2017-03-24 22:38 ` [PATCH v3 10/12] ArmVirtPkg/FdtClientDxe: install DT as sysconfig table in protocol notify Laszlo Ersek
2017-03-24 22:38 ` [PATCH v3 11/12] ArmVirtPkg/PlatformHasAcpiDtDxe: don't expose DT if QEMU provides ACPI Laszlo Ersek
2017-03-24 22:38 ` [PATCH v3 12/12] ArmVirtPkg: remove PURE_ACPI_BOOT_ENABLE and PcdPureAcpiBoot 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=20170324223819.11377-1-lersek@redhat.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