]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - limit AXI pipeline to a depth of 1
authorIuliana Prodan <iuliana.prodan@nxp.com>
Fri, 22 Mar 2019 13:39:28 +0000 (15:39 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Mar 2019 05:55:34 +0000 (13:55 +0800)
commit2cc219ade922593baec73d9c0712fa81a45e1490
treebeae41e715430afb2a357e2b44549acb35eb8605
parent6e1dd5cae31eafe1bc75f67f37bc502082174fa2
crypto: caam - limit AXI pipeline to a depth of 1

Some i.MX6 devices (imx6D, imx6Q, imx6DL, imx6S, imx6DP and imx6DQ) have
an issue wherein AXI bus transactions may not occur in the correct order.
This isn't a problem running single descriptors, but can be if running
multiple concurrent descriptors. Reworking the CAAM driver to throttle
to single requests is impractical, so this patch limits the AXI pipeline
to a depth of one (from a default of 4) to preclude this situation from
occurring.
This patch applies to known affected platforms.

Signed-off-by: Radu Solea <radu.solea@nxp.com>
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c