Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1167529

Re: [PATCH v7 05/14] crypto: marvell/CESA: add TDMA support

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH v7 05/14] crypto: marvell/CESA: add TDMA support
Date 2015-06-18 03:50 +0200
Message-ID <pCx7Q-2ke-7@gated-at.bofh.it> (permalink)
References <pCkDE-1gV-25@gated-at.bofh.it> <pClJn-2N5-1@gated-at.bofh.it> <pCn8u-4W5-25@gated-at.bofh.it> <pCnBv-5tP-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 17, 2015 at 05:34:02PM +0200, Boris Brezillon wrote:
>
> I can check for that too, but note that it doesn't prevent one from
> providing different scatterlist structures pointing to the same memory
> region.

Pointing to the same memory should be fine, it's the act of passing
the same SG list to dma_map_sg twice that's wrong because dma_map_sg
will modify the SG list.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v7 05/14] crypto: marvell/CESA: add TDMA support Herbert Xu <herbert@gondor.apana.org.au> - 2015-06-18 03:50 +0200

csiph-web