From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 71B6821DFA7B0 for ; Fri, 24 Mar 2017 15:38:26 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C01F442BAF; Fri, 24 Mar 2017 22:38:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C01F442BAF Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=lersek@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com C01F442BAF Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-209.phx2.redhat.com [10.3.116.209]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4A0307FCE1; Fri, 24 Mar 2017 22:38:25 +0000 (UTC) From: Laszlo Ersek To: edk2-devel-01 Cc: Ard Biesheuvel , Feng Tian , Leif Lindholm , Star Zeng Date: Fri, 24 Mar 2017 23:38:07 +0100 Message-Id: <20170324223819.11377-1-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 24 Mar 2017 22:38:26 +0000 (UTC) Subject: [PATCH v3 00/12] ArmVirtPkg: don't forward the DT to the OS if QEMU provides ACPI X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2017 22:38:26 -0000 This is version 3 of the series posted (as v2) previously at . 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 Cc: Feng Tian Cc: Leif Lindholm Cc: Star Zeng 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