From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (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 5750E8036C for ; Tue, 21 Mar 2017 14:13:21 -0700 (PDT) Received: by mail-oi0-x243.google.com with SMTP id w81so7267320oig.1 for ; Tue, 21 Mar 2017 14:13:21 -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=h1zqV2Jm8d658ghguSaabLskA8zBrWQNihAV4lkufmPTZToRvXu0FjAotyw5MWVVMH 3chfgn5eP09vd8oxWzOMV7/OjEamzpo15PbCluG7Aivc9Lq182MoDA3LdhJIsqdSu/g7 s0shu+YHiF1BGXO6jGCDwl0PaVMcFRQEA+xbDOAaYMNhKyPhYVgReOFHWhxCvlBVPn4u AxBt3L8l18o36Wn1qBC1fBemmwWJglaXLWE+ZfEKMiKymCuGnD8CYGPpV3PMkrkjiRJf vwBrdA4GUePXo9Jo2Toe2PiBkN/4fy+DuCQAuVIeCPJJFYmU5Hb7w8iJONz998AhmP6a /tPg== 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=j/d4W6JdEcfcsqD4qsIx5eBZEhDZtAQU5HHC3LCC/oOBGncAws2mHeBFoRiGmMsNc2 e2DEEQ8hM0+oAiqr9UpImk8TsLWuA73gzH/moDjjteR27vy8+6NeMoYb2enlLCRlTIg/ cXRM0OqKsIPtPq32vxw54iUJw4jqPWJz6vPNp8DRS4a6SYo6lQbhi7VHeum7hX1313c0 8IYBJNfWHc7HQGboZOzG5Lun2FvJqWp/+x7mK6rDMxuHj7SNpxhSw1EVYVZ6ow6p0C/U xwoWGo6GnNOoJRpZWM1zaqHEjaFPxMyFZZ6zhwwUE8hj4AHDGxWU1KPrOhg74KRFCUNr okTA== X-Gm-Message-State: AFeK/H25+PjltNrq/sYmEbeoHT5seqhAIMTjw8KpGwO+y5ClAOCbrE1wIC40geGTZnSv+w== X-Received: by 10.202.79.84 with SMTP id d81mr20379331oib.129.1490130800751; Tue, 21 Mar 2017 14:13:20 -0700 (PDT) Received: from [127.0.1.1] ([165.204.77.1]) by smtp.gmail.com with ESMTPSA id c55sm9338536otd.31.2017.03.21.14.13.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 14:13:20 -0700 (PDT) From: Brijesh Singh X-Google-Original-From: Brijesh Singh To: michael.d.kinney@intel.com, jordan.l.justen@intel.com, edk2-devel@ml01.01.org, lersek@redhat.com, liming.gao@intel.com Cc: leo.duran@amd.com, brijesh.singh@amd.com, Thomas.Lendacky@amd.com Date: Tue, 21 Mar 2017 17:13:19 -0400 Message-ID: <149013079967.27235.18127368697377544049.stgit@brijesh-build-machine> In-Reply-To: <149013076154.27235.10725020825643505862.stgit@brijesh-build-machine> References: <149013076154.27235.10725020825643505862.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 21:13:21 -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,