From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Cc: drjones@redhat.com, leif.lindholm@linaro.org, Ard Biesheuvel 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: [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: , X-List-Received-Date: Thu, 09 Mar 2017 17:21:17 -0000 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