commit | 6a4967c3e1fc1f2fd19283e5c98076a65f7b29ff | [log] [tgz] |
---|---|---|
author | LEROY Christophe <christophe.leroy@c-s.fr> | Mon Feb 26 17:40:06 2018 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Mar 09 22:45:35 2018 +0800 |
tree | 922e9735fd3593d1d9aed008c753182f936fe2e1 | |
parent | ad4cd51fb8375109edb377712b5f9c0c31ece33e [diff] |
crypto: talitos - do not perform unnecessary dma synchronisation req_ctx->hw_context is mainly used only by the HW. So it is not needed to sync the HW and the CPU each time hw_context in DMA mapped. This patch modifies the DMA mapping in order to limit synchronisation to necessary situations. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>