linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] CAAM - DMA API fixes
@ 2014-07-11 12:34 Horia Geanta
  2014-07-11 12:34 ` [PATCH 01/10] crypto: testmgr - avoid DMA mapping from text, rodata, stack Horia Geanta
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Horia Geanta @ 2014-07-11 12:34 UTC (permalink / raw)
  To: Herbert Xu
  Cc: linux-crypto, David S. Miller, Ruchika Gupta, Vakul Garg,
	Kim Phillips

Hi Herbert,

Enabling DMA-API debugging reveals quite a lot of problems in CAAM module.
Patches below fix them - tested on P3041DS QorIQ platform. Please apply.

(I haven't seen any crashes so far, thus patches are based on cryptodev -
not on crypto - and I'm not queueing them to -stable.)

Thanks,
Horia

Horia Geanta (10):
  crypto: testmgr - avoid DMA mapping from text, rodata, stack
  crypto: caam - set coherent_dma_mask
  crypto: caam - fix typo in dma_mapping_error
  crypto: caam - fix "failed to check map error" DMA warnings
  crypto: caam - fix DMA unmapping error in hash_digest_key
  crypto: caam - fix DMA direction mismatch in ahash_done_ctx_dst
  crypto: caam - fix DMA direction mismatch in ahash_done_ctx_src
  crypto: caam - fix uninitialized S/G table size in ahash_digest
  crypto: caam - fix uninitialized edesc->dst_dma field
  crypto: caam - fix uninitialized state->buf_dma field

 crypto/testmgr.c               |  57 +++++++++++++++++---
 crypto/testmgr.h               |   2 +-
 drivers/crypto/caam/caamalg.c  |  36 +++++++++++--
 drivers/crypto/caam/caamhash.c | 118 ++++++++++++++++++++++++++++++++++-------
 drivers/crypto/caam/caamrng.c  |  51 ++++++++++++++----
 drivers/crypto/caam/ctrl.c     |   6 +--
 drivers/crypto/caam/jr.c       |   6 +--
 7 files changed, 228 insertions(+), 48 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-07-23 13:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-11 12:34 [PATCH 00/10] CAAM - DMA API fixes Horia Geanta
2014-07-11 12:34 ` [PATCH 01/10] crypto: testmgr - avoid DMA mapping from text, rodata, stack Horia Geanta
2014-07-22 22:37   ` Kim Phillips
2014-07-23  8:49     ` Horia Geantă
2014-07-23  8:59   ` [PATCH v2 " Horia Geanta
2014-07-23 13:35     ` Herbert Xu
2014-07-11 12:34 ` [PATCH 02/10] crypto: caam - set coherent_dma_mask Horia Geanta
2014-07-11 12:34 ` [PATCH 03/10] crypto: caam - fix typo in dma_mapping_error Horia Geanta
2014-07-11 12:34 ` [PATCH 04/10] crypto: caam - fix "failed to check map error" DMA warnings Horia Geanta
2014-07-11 12:34 ` [PATCH 05/10] crypto: caam - fix DMA unmapping error in hash_digest_key Horia Geanta
2014-07-11 12:34 ` [PATCH 06/10] crypto: caam - fix DMA direction mismatch in ahash_done_ctx_dst Horia Geanta
2014-07-11 12:34 ` [PATCH 07/10] crypto: caam - fix DMA direction mismatch in ahash_done_ctx_src Horia Geanta
2014-07-11 12:34 ` [PATCH 08/10] crypto: caam - fix uninitialized S/G table size in ahash_digest Horia Geanta
2014-07-11 12:34 ` [PATCH 09/10] crypto: caam - fix uninitialized edesc->dst_dma field Horia Geanta
2014-07-11 12:34 ` [PATCH 10/10] crypto: caam - fix uninitialized state->buf_dma field Horia Geanta
2014-07-18 23:04 ` [PATCH 00/10] CAAM - DMA API fixes Kim Phillips
2014-07-19  0:07   ` Horia Geantă

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).