[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56EC0A16.9040206@codeaurora.org>
Date: Fri, 18 Mar 2016 10:00:54 -0400
From: Sinan Kaya <okaya@...eaurora.org>
To: Robin Murphy <robin.murphy@....com>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Russell King - ARM Linux <linux@....linux.org.uk>
Cc: linux-arm-kernel@...ts.infradead.org,
Herbert Xu <herbert@...dor.apana.org.au>, timur@...eaurora.org,
Arnaud Ebalard <arno@...isbad.org>,
linux-kernel@...r.kernel.org, cov@...eaurora.org,
"David S. Miller" <davem@...emloft.net>, nwatters@...eaurora.org,
linux-crypto@...r.kernel.org
Subject: Re: [PATCH 1/3] crypto: marvell/cesa - replace dma_to_phys with
dma_map_single
On 3/18/2016 9:51 AM, Sinan Kaya wrote:
> Another option is I can write
>
> engine->sram_dma = swiotlb_dma_to_phys(res->start)
I realized that I made a mistake in the commit message and the code above.
The code is trying to find DMA address from physical address. Not the other
way around. I'll fix it on the next version.
The correct suggestion above would be
engine->sram_dma = swiotlb_phys_to_dmares->start)
--
Sinan Kaya
Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Powered by blists - more mailing lists