From patchwork Thu Mar 9 17:21:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 95126 Delivered-To: patch@linaro.org Received: by 10.140.82.71 with SMTP id g65csp458565qgd; Thu, 9 Mar 2017 09:21:18 -0800 (PST) X-Received: by 10.98.68.199 with SMTP id m68mr15192296pfi.31.1489080078483; Thu, 09 Mar 2017 09:21:18 -0800 (PST) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id u80si325337pgb.312.2017.03.09.09.21.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 09:21:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 0217180373; Thu, 9 Mar 2017 09:21:18 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2B5B78029D for ; Thu, 9 Mar 2017 09:21:17 -0800 (PST) Received: by mail-wm0-x233.google.com with SMTP id v186so144581026wmd.0 for ; Thu, 09 Mar 2017 09:21:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=JXerSp3Cz8SsfjZepOvBld+B4tbWu9ezCZDdaDgjrGY=; b=L2KmBDYhVKTLwMjXTO7l7G3L/scRbsCmnZZegO+vOmpC4KDcd61iUBHVSZqymGI97F IQmVD7WIm+bcrhrzbUNRlC3sHlp/tSj9hd8bLOM+kKsbuVZDfsOeKvb1TWx/+/gWSXFU xAW7h11pqOkSCwgy5Qj/2GiZ/9JMqQCgM8XVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JXerSp3Cz8SsfjZepOvBld+B4tbWu9ezCZDdaDgjrGY=; b=ZftN3cTNJZ/8O9sWftjiIPkfDAc3SGpnfWVK4LdFp3d2tRPIDjEQ2BtKYVRyUJvHws HXdXtnQBChGk5HTMyo9HpryuTigusSMYVKzoeDpwDEWtqBiZQ+pbwgvHRUPaXAq/bf64 ufPI9zXPbRT7pCPdgYOBhc67Q+OI/EhCzJ78AgXRLANIu2BjzxSYOKSqSNCTBOyYt1t0 yePcjFNKMI8ibN/kPhykkdUdSYds7a66SptFrRi//P4NeXL/Yjs9AQgLF3hI0FWTHuOl 8W3zOik07/ulU+rn2T0xAXc9YAA1JZFZqVGMEYMQDmLf/xAp14lyObsEtNJZHdygTpTV onJg== X-Gm-Message-State: AMke39nkeS7tEWZXtHwbEqBiNc0UApitIF/t5jK9Kz1H0co5dZupjZFpmsX4srh2ST3z+uyk X-Received: by 10.28.154.14 with SMTP id c14mr18768841wme.75.1489080075715; Thu, 09 Mar 2017 09:21:15 -0800 (PST) Received: from ards-macbook-pro.c.hoisthospitality.com ([109.74.48.129]) by smtp.gmail.com with ESMTPSA id p93sm8928768wrc.67.2017.03.09.09.21.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Mar 2017 09:21:15 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, lersek@redhat.com Date: Thu, 9 Mar 2017 18:21:09 +0100 Message-Id: <1489080073-13328-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v2 0/4] ArmVirtPkg: make DT vs ACPI support mutually exclusive 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: , Cc: drjones@redhat.com, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Instead of supplying both ACPI and DT hw descriptions, and allow the latter to be inihibited by setting a compile time define, make DT table installation dependent on the absence of a ACPI 2.0 table when the ReadyToBoot even fires. Changes since v1: - add missing includes - cosmetic coding style fixes - reorder event registration with protocol installation (#2) - add Laszlo's patch to add missing EFIAPI specifiers As Laszlo has pointed out, this affects the Xen port as well as the QEMU/KVM one, which I consider to be an advantage. And of course, I am happy to keep both halves if it turns out I ended up breaking it :-) Ard Biesheuvel (3): ArmVirtPkg/ArmVirtPL031FdtClientLib: unconditionally disable DT node ArmVirtPkg/FdtClientDxe: install DT configuration table at ReadyToBoot ArmVirtPkg/FdtClientDxe: make DT table installation !ACPI dependent Laszlo Ersek (1): ArmVirtPkg/FdtClientDxe: supplement missing EFIAPI calling conv specifiers ArmVirtPkg/ArmVirtPkg.dec | 10 ---- ArmVirtPkg/ArmVirtQemu.dsc | 5 -- ArmVirtPkg/FdtClientDxe/FdtClientDxe.c | 58 +++++++++++++++++--- ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf | 6 +- ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c | 22 ++++---- ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf | 3 - 6 files changed, 62 insertions(+), 42 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel