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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel