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 <[email protected]>
> ---
>  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 <[email protected]>

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to