diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-05-08 13:22:16 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-05-21 13:27:46 +0800 |
commit | 0413bcf0fc460a68a2a7a8354aee833293d7d693 (patch) | |
tree | ff6a15b34e70299cb98738aab68c2c4857951c79 /scripts/lib/kdoc/kdoc_files.py | |
parent | bc8169003b41e89fe7052e408cf9fdbecb4017fe (diff) |
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: 85030c5168f1 ("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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions