[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140625134957.GD10379@gondor.apana.org.au>
Date: Wed, 25 Jun 2014 21:49:57 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Ruchika Gupta <ruchika.gupta@...escale.com>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
davem@...emloft.net, alexandru.porosanu@...escale.com,
kim.phillips@...escale.com, dan.carpenter@...cle.com,
horia.geanta@...escale.com, marex@...x.de
Subject: Re: [PATCH] crypto:caam - Correct the dma mapping for sg table
On Mon, Jun 23, 2014 at 07:50:26PM +0530, Ruchika Gupta wrote:
> At few places in caamhash and caamalg, after allocating a dmable
> buffer for sg table , the buffer was being modified. As per
> definition of DMA_FROM_DEVICE ,afer allocation the memory should
> be treated as read-only by the driver. This patch shifts the
> allocation of dmable buffer for sg table after it is populated
> by the driver, making it read-only as per the DMA API's requirement.
>
> Signed-off-by: Ruchika Gupta <ruchika.gupta@...escale.com>
Patch applied.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists