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 0324380370 for ; Wed, 8 Mar 2017 11:05:19 -0800 (PST) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8B95B3D95C; Wed, 8 Mar 2017 19:05:19 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-117-47.phx2.redhat.com [10.3.117.47]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v28J5GPK014080; Wed, 8 Mar 2017 14:05:18 -0500 From: Laszlo Ersek To: edk2-devel-01 Cc: Ard Biesheuvel Date: Wed, 8 Mar 2017 20:05:05 +0100 Message-Id: <20170308190511.31195-1-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 08 Mar 2017 19:05:19 +0000 (UTC) Subject: [PATCH 0/6] 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.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 19:05:19 -0000 This series replaces the PURE_ACPI_BOOT_ENABLE build option with dynamic behavior, matching QEMU's (inverse sense) "-no-acpi" switch. In particular, DT and ACPI are no longer exposed to the guest at the same time. (DT is exposed with "-no-acpi", or else ACPI is exposed without "-no-acpi".) Repo: https://github.com/lersek/edk2.git Branch: dynamic_pure_acpi RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1430262 Tested with RHEL-7.3 for ARM and Fedora 24 guests (DT vs. ACPI). Cc: Ard Biesheuvel Thanks Laszlo Laszlo Ersek (6): ArmVirtPkg/FdtClientDxe: supplement missing EFIAPI calling conv specifiers ArmVirtPkg: introduce FDT_CLIENT_PROTOCOL.GetOsExposure() member function ArmVirtPkg/ArmVirtPL031FdtClientLib: get rid of PcdPureAcpiBoot dependency ArmVirtPkg/QemuFwCfgLib: add explicitly initialized instance ArmVirtPkg/FdtClientDxe: don't forward DT to OS if QEMU provides ACPI ArmVirtPkg: remove PURE_ACPI_BOOT_ENABLE and PcdPureAcpiBoot ArmVirtPkg/ArmVirtPkg.dec | 10 --- ArmVirtPkg/ArmVirtQemu.dsc | 10 +-- ArmVirtPkg/ArmVirtQemuKernel.dsc | 5 +- ArmVirtPkg/ArmVirtXen.dsc | 5 +- ArmVirtPkg/FdtClientDxe/FdtClientDxe.c | 79 ++++++++++++++++++-- ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf | 5 +- ArmVirtPkg/Include/Protocol/FdtClient.h | 26 +++++++ ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c | 6 +- ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf | 3 - ArmVirtPkg/Library/QemuFwCfgLib/{QemuFwCfgLib.inf => QemuFwCfgLibExplicitInit.inf} | 15 ++-- 10 files changed, 124 insertions(+), 40 deletions(-) copy ArmVirtPkg/Library/QemuFwCfgLib/{QemuFwCfgLib.inf => QemuFwCfgLibExplicitInit.inf} (72%) -- 2.9.3