From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x244.google.com (mail-oi0-x244.google.com [IPv6:2607:f8b0:4003:c06::244]) (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 A6AE180471 for ; Tue, 21 Mar 2017 13:59:44 -0700 (PDT) Received: by mail-oi0-x244.google.com with SMTP id a144so7261186oib.3 for ; Tue, 21 Mar 2017 13:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=cnd+pYf9UwW4ymtjGp91LzLEiJZpH5ucyNkioMsxsUQ=; b=KjTtykuaVW9/8Ku0TdVl9YQW3dLsKxnjRSOq90oP0cDCqLIKOtdJ7B0Oxpps4mXYCO IsQRJgLKC9cDga2iGciI8D5Vj7M6Z5dmVhVoBnIQZeCrYYFxsWr3n+vO6ks+zkc1/g/q J7MLiArNf7l3YVol34s2r8ppZGdmSwbqYhXkfBxJ8DoSH6d0ejxsbxrQbhZ9Eq0VALdf eLcm2HNQNs0NvYHNhavfCvo1j6t1PdeNQs6/3q0sAg+ynGy5xrb1m9Ix3wjv7ShD0VkZ 87rRyTOjjXgjBck4apcnvePqTZCAupG7zdTTmUqDtsjE4evUDGWFcIT+G8CTGrqitJJy /ynA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=cnd+pYf9UwW4ymtjGp91LzLEiJZpH5ucyNkioMsxsUQ=; b=BADB7AFfk22Cf5zQ7KcSRRPr3111IuWSO2mu83FakXGxmjJHGOI+zicIJcHgWaRmbE vlyizF7oK9jR75rGu/+aPkPxsVmzj1EnAHVkub4y+lQ5H12hd2vDaqRGiMQX05e8n53Q eWurSOJYTiD4Y2o9KUsDkDLyRW+nP+O9MgfdfNimA6CEjJuco5ix+BPyhfwE+gqLstFm lQk7KPCRAeiuyxHPwIgVfvy4/nMahDvDSIhYlCyLtOLUQuiXjigI9h0z8ZO2cQTxo8NX WqEZqpdKSpKw3EAiBJMTQZOdRBFTbroXP9mbBLhspsmXbqk4icmpA/1kjaavPXMtHOgU YFMw== X-Gm-Message-State: AFeK/H0l0UWPrLrdgPG8sfl++OuFWY0NdDZIIkAv3p3AP03OFvJ0h3bsjT9XLZvTaJlkDg== X-Received: by 10.202.55.197 with SMTP id e188mr21754533oia.12.1490129984036; Tue, 21 Mar 2017 13:59:44 -0700 (PDT) Received: from [127.0.1.1] ([165.204.77.1]) by smtp.gmail.com with ESMTPSA id t8sm9431917oib.23.2017.03.21.13.59.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 13:59:43 -0700 (PDT) From: Brijesh Singh X-Google-Original-From: Brijesh Singh To: michael.d.kinney@intel.com, ersek@redhat.com, edk2-devel@ml01.01.org, liming.gao@intel.com, jordan.l.justen@intel.com Cc: leo.duran@amd.com, brijesh.singh@amd.com, Thomas.Lendacky@amd.com Date: Tue, 21 Mar 2017 16:59:43 -0400 Message-ID: <149012998314.26803.12591202043262813368.stgit@brijesh-build-machine> In-Reply-To: <149012994545.26803.15256468111517327020.stgit@brijesh-build-machine> References: <149012994545.26803.15256468111517327020.stgit@brijesh-build-machine> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Subject: [RFC PATCH v2 06/10] OvmfPkg/DxeBmDmaLib: Fix AllocateBounceBuffer parameter X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2017 20:59:44 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The patch fixes AllocateBounceBuffer parameters. Signed-off-by: Brijesh Singh --- OvmfPkg/Library/DxeBmDmaLib/DxeBmDmaLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/Library/DxeBmDmaLib/DxeBmDmaLib.c b/OvmfPkg/Library/DxeBmDmaLib/DxeBmDmaLib.c index a342c9e..0d960a8 100644 --- a/OvmfPkg/Library/DxeBmDmaLib/DxeBmDmaLib.c +++ b/OvmfPkg/Library/DxeBmDmaLib/DxeBmDmaLib.c @@ -192,8 +192,8 @@ BmDmaMap ( } return AllocateBounceBuffer ( - Operation, FORCE_BELOW_4GB_TRUE, + Operation, PhysicalAddress, NumberOfBytes, DeviceAddress,