From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (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 0355F1A1EF6 for ; Thu, 15 Sep 2016 06:30:47 -0700 (PDT) Received: by mail-qt0-x235.google.com with SMTP id 38so24219520qte.1 for ; Thu, 15 Sep 2016 06:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=1C+2/swBpabEchGHI6WAuzMj0rX45MtBOpTPQEi+hpI=; b=ag29+ZrrZ6LB7KFfWJMvWGcv/iJH7UhC6PW6GvVdL4wMrT7pjNlt4xkBIrHRpVu8GM 7qrgbH4WIGYOX5lqovDm6ycnikEb3XkgTEZZ57sEvdUhJ32JXy0pwXSClboiYko4790G s9aZHbLS2wOSNKv600CyhNQ5UY9w6+gV00Q6g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1C+2/swBpabEchGHI6WAuzMj0rX45MtBOpTPQEi+hpI=; b=mwhdpS/OFBYRSWKNBKJrdJoWe6cs22PGQquEAA3YyyjHUZM5CLejadYWSzVwNfFI6l c1JWKtwy+zdZ60PmUpkyd4cUpI0bUBYAUsm6Fu1PSeHTcn20bqNFoPd8/TAeX0XO3cgA tU9FNIV4cFlSpcBdVdn1pC/oWySPnb8E3HBB3LjbTnMPEdVG5pyYRYWwfouwD1O6zLms dR/ltUifzfjrkgeI2FFAhQlz9W7A9dgTtal1OoI8rkr7dLHOXPp0dCsRx6GOgQ2saWhB TLz3Pil2FJqoFl1Ca6ovBedEV3tim+heeYSPSKrnb0sfLS0wBb3aFZHrx53JVestuBEi U/jw== X-Gm-Message-State: AE9vXwPCwVsr5i47LfdHAVEGPz0G7+sU5ovinOZcnNwu0vYHFmzKefLe2ksVqWIC8pPt/vgX X-Received: by 10.28.236.207 with SMTP id h76mr2958729wmi.57.1473946245547; Thu, 15 Sep 2016 06:30:45 -0700 (PDT) Received: from localhost.localdomain ([160.168.239.246]) by smtp.gmail.com with ESMTPSA id r9sm3532696wjp.15.2016.09.15.06.30.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Sep 2016 06:30:44 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, lersek@redhat.com Cc: zhaoshenglong@huawei.com, sakar.arora@nxp.com, Ard Biesheuvel Date: Thu, 15 Sep 2016 14:30:29 +0100 Message-Id: <1473946233-10547-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH 0/4] ArmVirtPkg: FdtClientDxe & HighMemDxe updates 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, 15 Sep 2016 13:30:47 -0000 Patch #4 moves HighMemDxe to the FDT client protocol, and updates it to handle #address-cells/#size-cells values of <1> as well as <2>, and lets it deal with memory nodes whose 'reg' properties describe multiple disjoint regions. Patches #1 to #3 are somewhat preparatory in nature: - Patch #1 is a small thinko fix - Patch #2 drops the 'regelemsize' output parameter for 'reg' related methods of the FDT client protocol in favour of addresscells/sizecells. - Patch #3 adds methods to iterate over all 'reg' properties of all memory nodes Ard Biesheuvel (4): ArmVirtPkg/FdtClientDxe: fix check for size of "reg" properties ArmVirtPkg/FdtClientDxe: report address and size cell count directly ArmVirtPkg/FdtClient: add methods to iterate over memory nodes ArmVirtPkg/HighMemDxe: move to FDT client protocol ArmVirtPkg/FdtClientDxe/FdtClientDxe.c | 84 +++++++++++++- ArmVirtPkg/HighMemDxe/HighMemDxe.c | 120 +++++++++----------- ArmVirtPkg/HighMemDxe/HighMemDxe.inf | 16 ++- ArmVirtPkg/Include/Protocol/FdtClient.h | 29 ++++- ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.c | 9 +- ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 9 +- ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.c | 8 +- ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c | 10 +- 8 files changed, 196 insertions(+), 89 deletions(-) -- 2.7.4