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 A84A921DFA7A9 for ; Tue, 28 Mar 2017 06:50:39 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 00FD57FD45; Tue, 28 Mar 2017 13:50:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 00FD57FD45 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=lersek@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 00FD57FD45 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-89.phx2.redhat.com [10.3.116.89]) by smtp.corp.redhat.com (Postfix) with ESMTP id E78B77F378; Tue, 28 Mar 2017 13:50:37 +0000 (UTC) From: Laszlo Ersek To: edk2-devel-01 Cc: Ard Biesheuvel , Leif Lindholm Date: Tue, 28 Mar 2017 15:50:21 +0200 Message-Id: <20170328135033.24238-1-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 28 Mar 2017 13:50:39 +0000 (UTC) Subject: [PATCH v4 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: Tue, 28 Mar 2017 13:50:39 -0000 This is version 4 of the series posted (as v3) previously at . Main changes in this version: * move gEdkiiPlatformHasAcpiGuid from MdeModulePkg to EmbeddedPkg (based on IRC discussion), * move PlatformHasAcpiLib from ArmPkg to EmbeddedPkg (based on IRC discussion), * the only two packages being touched are ArmVirtPkg and EmbeddedPkg now, * retest with a Fedora 25 guest (4.8.7-300.fc25.aarch64). Updates are also noted in detail on each patch individually. The series is fully reviewed by Ard (thanks!), I'm sending this out for a final ACK before pushing. Repo: https://github.com/lersek/edk2.git Branch: dt_acpi_v4 RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1430262 Cc: Ard Biesheuvel Cc: Leif Lindholm 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 EmbeddedPkg: introduce EDKII Platform Has ACPI GUID EmbeddedPkg: 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 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 | 44 ++++++++ ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.c | 3 +- ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.c | 72 ++++++++++++ ArmVirtPkg/XenPlatformHasAcpiDtDxe/XenPlatformHasAcpiDtDxe.inf | 42 +++++++ EmbeddedPkg/EmbeddedPkg.dec | 6 + EmbeddedPkg/Include/Guid/PlatformHasAcpi.h | 35 ++++++ EmbeddedPkg/Include/Guid/PlatformHasDeviceTree.h | 35 ++++++ EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.c | 36 ++++++ EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf | 40 +++++++ 18 files changed, 495 insertions(+), 38 deletions(-) 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/PlatformHasAcpi.h create mode 100644 EmbeddedPkg/Include/Guid/PlatformHasDeviceTree.h create mode 100644 EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.c create mode 100644 EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf -- 2.9.3