From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dUxmQ-0001ut-O1 for barebox@lists.infradead.org; Tue, 11 Jul 2017 16:12:56 +0000 Date: Tue, 11 Jul 2017 18:12:30 +0200 From: Robert Schwebel Message-ID: <20170711161230.hco3kja267wg7u55@pengutronix.de> References: <20170711145141.4279-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170711145141.4279-1-o.rempel@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v1] crypto: caam: use dma_alloc_coherent instead of dma_alloc To: Oleksij Rempel Cc: barebox@lists.infradead.org On Tue, Jul 11, 2017 at 04:51:41PM +0200, Oleksij Rempel wrote: > It is a fixup for fallowing patch: ^o > | commit ef4144b4ab6301d7417af3eb4d79cfc66bf0e731 > | Date: Wed Mar 22 10:14:37 2017 +0100 > | > | crypto: caam - fix RNG buffer cache alignmen ^t > > Signed-off-by: Oleksij Rempel > --- > drivers/crypto/caam/caamrng.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/crypto/caam/caamrng.c b/drivers/crypto/caam/caamrng.c > index 31a92731d2..a991cc855a 100644 > --- a/drivers/crypto/caam/caamrng.c > +++ b/drivers/crypto/caam/caamrng.c > @@ -218,7 +218,7 @@ static int caam_init_buf(struct caam_rng_ctx *ctx, int buf_id) > struct buf_data *bd = &ctx->bufs[buf_id]; > int err; > > - bd->buf = dma_alloc(RN_BUF_SIZE); > + bd->buf = dma_alloc_coherent(RN_BUF_SIZE, DMA_ADDRESS_BROKEN); > > err = rng_create_job_desc(ctx, buf_id); > if (err) > -- > 2.11.0 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox