]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg/FdtPciHostBridgeLib: enable 64-bit PCI DMA
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 5 Sep 2016 09:00:37 +0000 (10:00 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 6 Sep 2016 14:46:53 +0000 (15:46 +0100)
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 <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c

index bb3742386c63cf78667c27436102b019f13ffeff..5b9c887db35df2f5b359df017be5860c6953bc82 100644 (file)
@@ -317,7 +317,7 @@ PciHostBridgeGetRootBridges (
                                       EFI_PCI_ATTRIBUTE_VGA_PALETTE_IO_16;\r
   mRootBridge.Attributes            = mRootBridge.Supports;\r
 \r
-  mRootBridge.DmaAbove4G            = FALSE;\r
+  mRootBridge.DmaAbove4G            = TRUE;\r
   mRootBridge.NoExtendedConfigSpace = FALSE;\r
   mRootBridge.ResourceAssigned      = FALSE;\r
 \r