Skip to content

crypto: stm32/cryp - Improve stm32-cryp driver

Maxime MERE linux-arm-kernel linux-crypto lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v23 patches 1 replySuperseded
  3. v13 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: stm32/cryp - use dma when possible.drivers/crypto/stm32/stm32-cryp.c+651 -260 replies
2/4crypto: stm32/cryp - increase prioritydrivers/crypto/stm32/stm32-cryp.c+9 -90 replies
3/4crypto: stm32/cryp - add CRYPTO_ALG_KERN_DRIVER_ONLY flagdrivers/crypto/stm32/stm32-cryp.c+9 -90 replies
4/4crypto: stm32/cryp - call finalize with bh disableddrivers/crypto/stm32/stm32-cryp.c+5 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchMaxime Méré
1/4
2/4Signed-of-by
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

From: Maxime Méré <[email protected]>

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(-)
Signature · 1 line
2.25.1