From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 832C31A1E27 for ; Mon, 5 Sep 2016 02:17:58 -0700 (PDT) Received: by mail-wm0-x22f.google.com with SMTP id b187so10091727wme.1 for ; Mon, 05 Sep 2016 02:17:58 -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:in-reply-to:references; bh=7GEDl+tRjqvwDx0grL7w+ZjoIj3kyc6RmfJ1Y5UJTjc=; b=gJseuJnGQ3XnnDzjnK0WdvVmnkm7gFMnkPAnJDKEsmbu5MEomuPDEWi1BElmDwv7Hl jFAnxG2obwp3hNr791sKD9TJviziZc5xbmCRgVS7C8EKnV1z2f9pHnvOedv7GhkEm9hy C6RRNu7b2iIki7xZd/b4VOX9jNnla013nOsOo= 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:in-reply-to :references; bh=7GEDl+tRjqvwDx0grL7w+ZjoIj3kyc6RmfJ1Y5UJTjc=; b=WkzcMtO+06ql0/HjI5FkhJcgvQngHF9yVDp1q1BL5qIGFDSUNctbxvQvcCFJvltP3z Ia8uYR/SDoAJ7I/xB/Sk2uXPnNs6zhMims9X6wm3SDvFZA2sP5pI/eKOU4JvPeNOzaHM +JKsml93bwVloJSBc3kJ32y54UMDETr9ziR9GKpN9v2dX2Kj5z6F4G6ox/qDWaQBthT1 nAzzdoF4GqRUpUR2Z3eCN4hFwvaQgifiQ5+n3zFEQ+qECDuJGPQfV3tYiiAXElkDzmWc zvBh/wbTACeZpH26WGNRUwaGcBedxQOEAhj939MpsFUGvkp5aVvyyVNGHxoJ6obb51wn QUeA== X-Gm-Message-State: AE9vXwNXda7BhnmrSUQmN/oPeSSOBcM6uz9XgusUHXvcypXlOBx7k8G7BR7eyM6+PgNyXnd+ X-Received: by 10.28.209.196 with SMTP id i187mr4468856wmg.0.1473067077171; Mon, 05 Sep 2016 02:17:57 -0700 (PDT) Received: from localhost.localdomain ([197.130.133.164]) by smtp.gmail.com with ESMTPSA id m133sm10157457wmg.0.2016.09.05.02.17.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Sep 2016 02:17:56 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, feng.tian@intel.com, star.zeng@intel.com, liming.gao@intel.com Cc: lersek@redhat.com, leif.lindholm@linaro.org, Ard Biesheuvel Date: Mon, 5 Sep 2016 10:17:29 +0100 Message-Id: <1473067049-16252-8-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473067049-16252-1-git-send-email-ard.biesheuvel@linaro.org> References: <1473067049-16252-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [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 09:17:58 -0000 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; -- 2.7.4