mirror-linux/drivers/crypto/marvell
Herbert Xu 0413bcf0fc crypto: marvell/cesa - Do not chain submitted requests
This driver tries to chain requests together before submitting them
to hardware in order to reduce completion interrupts.

However, it even extends chains that have already been submitted
to hardware.  This is dangerous because there is no way of knowing
whether the hardware has already read the DMA memory in question
or not.

Fix this by splitting the chain list into two.  One for submitted
requests and one for requests that have not yet been submitted.
Only extend the latter.

Reported-by: Klaus Kudielka <klaus.kudielka@gmail.com>
Fixes: 85030c5168 ("crypto: marvell - Add support for chaining crypto requests in TDMA mode")
Cc: <stable@vger.kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-05-21 13:27:46 +08:00
..
cesa crypto: marvell/cesa - Do not chain submitted requests 2025-05-21 13:27:46 +08:00
octeontx crypto: octeontx - Remove unused function otx_cpt_eng_grp_has_eng_type 2025-03-02 15:21:10 +08:00
octeontx2 crypto: octeontx2 - Use dynamic allocated memory region for lmtst 2025-05-19 13:48:48 +08:00
Kconfig crypto: lib/Kconfig - hide library options 2025-03-21 17:33:39 +08:00
Makefile crypto: marvell - add Marvell OcteonTX2 CPT PF driver 2021-01-22 14:58:02 +11:00