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 C1EAA1A1E2D for ; Mon, 5 Sep 2016 05:04:42 -0700 (PDT) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (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 4F0F97F08B; Mon, 5 Sep 2016 12:04:42 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-76.phx2.redhat.com [10.3.116.76]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u85C4e5L017881; Mon, 5 Sep 2016 08:04:40 -0400 To: Ard Biesheuvel , edk2-devel@ml01.01.org, feng.tian@intel.com, star.zeng@intel.com, liming.gao@intel.com References: <1473067049-16252-1-git-send-email-ard.biesheuvel@linaro.org> <1473067049-16252-8-git-send-email-ard.biesheuvel@linaro.org> Cc: leif.lindholm@linaro.org From: Laszlo Ersek Message-ID: Date: Mon, 5 Sep 2016 14:04:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1473067049-16252-8-git-send-email-ard.biesheuvel@linaro.org> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 05 Sep 2016 12:04:42 +0000 (UTC) Subject: Re: [PATCH 7/7] ArmVirtPkg/FdtPciHostBridgeLib: enable 64-bit PCI DMA 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: Mon, 05 Sep 2016 12:04:43 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 09/05/16 11:17, Ard Biesheuvel wrote: > Now that the PCI root bridge driver and various host controller drivers > have been fixed, remove the 4 GB limit on PCI DMA allocation for QEMU's > ECAM PCI host bridge. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Ard Biesheuvel > --- > ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c b/ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c > index bb3742386c63..5b9c887db35d 100644 > --- a/ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c > +++ b/ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c > @@ -317,7 +317,7 @@ PciHostBridgeGetRootBridges ( > EFI_PCI_ATTRIBUTE_VGA_PALETTE_IO_16; > mRootBridge.Attributes = mRootBridge.Supports; > > - mRootBridge.DmaAbove4G = FALSE; > + mRootBridge.DmaAbove4G = TRUE; > mRootBridge.NoExtendedConfigSpace = FALSE; > mRootBridge.ResourceAssigned = FALSE; > > Reviewed-by: Laszlo Ersek