From patchwork Mon Sep 5 09:17:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 75364 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp385408qgf; Mon, 5 Sep 2016 02:18:05 -0700 (PDT) X-Received: by 10.98.94.6 with SMTP id s6mr61634780pfb.31.1473067084373; Mon, 05 Sep 2016 02:18:04 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id r3si3130352pfd.26.2016.09.05.02.18.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Sep 2016 02:18:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 113E91A1E77; Mon, 5 Sep 2016 02:18:00 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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 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: [edk2] [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: , Cc: lersek@redhat.com, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Laszlo Ersek 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;