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 7713280437 for ; Fri, 17 Mar 2017 13:47:37 -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 D3F9AC054905; Fri, 17 Mar 2017 20:47:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D3F9AC054905 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=lersek@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com D3F9AC054905 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-70.phx2.redhat.com [10.3.116.70]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5196A5DC1D; Fri, 17 Mar 2017 20:47:36 +0000 (UTC) From: Laszlo Ersek To: edk2-devel-01 Cc: Ard Biesheuvel , Feng Tian , Hao Wu , Leif Lindholm , Star Zeng Date: Fri, 17 Mar 2017 21:47:19 +0100 Message-Id: <20170317204731.31488-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.32]); Fri, 17 Mar 2017 20:47:38 +0000 (UTC) Subject: [PATCH v2 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, 17 Mar 2017 20:47:37 -0000 Version 2 of the series posted at . It reverts the last two patches of the series at -- we've learned that the only (non-intrusive) way to keep independent DXE drivers from installing ACPI tables of their own is to dynamically prevent the production of EFI_ACPI_TABLE_PROTOCOL. That is what this series implements. MdeModulePkg is only affected by a trivial typo fix in RamDiskDxe; no other core modules are touched. Repo: https://github.com/lersek/edk2.git Branch: dt_acpi_v2 RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1430262 Cc: Ard Biesheuvel Cc: Feng Tian Cc: Hao Wu 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" MdeModulePkg/RamDiskDxe: fix C string literal catenation in info messages ArmVirtPkg/XenAcpiPlatformDxe: don't cast UINT64 to pointer directly ArmPkg: introduce EDKII Platform Has ACPI Protocol, and plug-in library ArmPkg: introduce EDKII Platform Has Device Tree Protocol 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/ArmPkg.dec | 6 + ArmPkg/Include/Protocol/PlatformHasAcpi.h | 34 ++++++ ArmPkg/Include/Protocol/PlatformHasDeviceTree.h | 33 ++++++ ArmPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.c | 36 ++++++ ArmPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf | 40 +++++++ ArmVirtPkg/ArmVirt.dsc.inc | 11 +- ArmVirtPkg/ArmVirtQemu.dsc | 2 +- ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 3 +- ArmVirtPkg/ArmVirtQemuKernel.dsc | 2 +- ArmVirtPkg/ArmVirtXen.dsc | 3 +- ArmVirtPkg/ArmVirtXen.fdf | 3 +- ArmVirtPkg/FdtClientDxe/FdtClientDxe.c | 116 ++++++++++++++------ ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf | 5 +- 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 ++++++++ MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDriver.c | 4 +- 19 files changed, 500 insertions(+), 47 deletions(-) create mode 100644 ArmPkg/Include/Protocol/PlatformHasAcpi.h create mode 100644 ArmPkg/Include/Protocol/PlatformHasDeviceTree.h 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 -- 2.9.3