diff options
author | Vakul Garg <vakul.garg@nxp.com> | 2019-03-22 03:00:37 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-03-28 06:55:34 +0100 |
commit | c23116e48a9b8ffe2fa520add3ba5ba52049327a (patch) | |
tree | ab8b7f5128ca52c97e164e5cdea66425035bee4d /drivers/crypto/caam/ctrl.c | |
parent | crypto: caam/jr - Removed redundant vars from job ring private data (diff) | |
download | linux-c23116e48a9b8ffe2fa520add3ba5ba52049327a.tar.xz linux-c23116e48a9b8ffe2fa520add3ba5ba52049327a.zip |
crypto: caam/jr - Remove extra memory barrier during job ring enqueue
In caam_jr_enqueue(), a write barrier is needed to order stores to job
ring slot before declaring addition of new job into input job ring.
The register write is done using wr_reg32() which internally uses
iowrite32() for write operation. The api iowrite32() issues a write
barrier before issuing write operation. Therefore, the wmb() preceding
wr_reg32() can be safely removed.
Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/ctrl.c')
0 files changed, 0 insertions, 0 deletions