crypto: inside-secure - enable single WR in DSE configuration
authorIgal Liberman <igall@marvell.com>
Thu, 15 Jun 2017 07:56:20 +0000 (09:56 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:43 +0000 (11:21 +0800)
commitc87925bfd234f09b1b423f7a466a998d398f5a56
tree9920c418ddaf4a6dfaedf351fcf672f0e1157abb
parent39ba1bb4a4624bc0215531e0d5fdbbf0325c0c0e
crypto: inside-secure - enable single WR in DSE configuration

When enable_single_wr is not enabled, the DSE will only write those
parts of a result descriptor that need updating, which means a final
result descriptor will be written in 2 or 3 smaller transfers.
When enable_single_wr is enabled the DSE will combine these 2-3
updates into one large write transfer, generally improving performance.

Signed-off-by: Igal Liberman <igall@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h