[PATCH v3 0/4] crypto: stm32/cryp - Improve stm32-cryp driver

From: Maxime MERE
Date: Tue May 28 2024 - 10:07:39 EST


From: Maxime Méré <maxime.mere@xxxxxxxxxxx>

This series of patches mainly aims to improve the usage of DMA with the
CRYP peripheral of the STM32 MPU series. The other two patches are
needed to enhance the driver's visibility for ST platforms.

This patchset version 3 addresses the issues identified by Herbert.
The code that raised a warning was in fact useless as there is already
an overflow check in the "stm32_cryp_dma_check" function so I removed
it.

I've also added a new patch that correct a spinlock recursion warning.

Maxime Méré (4):
crypto: stm32/cryp - use dma when possible.
crypto: stm32/cryp - increase priority
crypto: stm32/cryp - add CRYPTO_ALG_KERN_DRIVER_ONLY flag
crypto: stm32/cryp - call finalize with bh disabled

drivers/crypto/stm32/stm32-cryp.c | 719 ++++++++++++++++++++++++++++--
1 file changed, 674 insertions(+), 45 deletions(-)

--
2.25.1