Skip to content

crypto: qce - refactor the driver

Bartosz Golaszewski linux-arm-msm linux-crypto lkml stable 1 version In review

Get series with b4
b4 am [email protected] change-id 20241128-crypto-qce-refactor-ab58869eec34

Versions newest first

  1. v1 Latest9 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9crypto: qce - fix goto jump in error pathdrivers/crypto/qce/core.c+1 -11 reply
2/9crypto: qce - unregister previously registered algos in error pathdrivers/crypto/qce/core.c+7 -43 replies
3/9crypto: qce - remove unneeded call to icc_set_bw() in error pathdrivers/crypto/qce/core.c+1 -31 reply
4/9crypto: qce - shrink code with devres clk helpersdrivers/crypto/qce/core.c+4 -253 replies
5/9crypto: qce - convert qce_dma_request() to use devresdrivers/crypto/qce/core.c drivers/crypto/qce/dma.c drivers/crypto/qce/dma.h+17 -241 reply
6/9crypto: qce - make qce_register_algs() a managed interfacedrivers/crypto/qce/core.c+6 -51 reply
7/9crypto: qce - use __free() for a buffer that's always freeddrivers/crypto/qce/sha.c+3 -31 reply
8/9crypto: qce - convert tasklet to workqueuedrivers/crypto/qce/core.c drivers/crypto/qce/core.h+10 -161 reply
9/9crypto: qce - switch to using a mutexdrivers/crypto/qce/core.c drivers/crypto/qce/core.h+23 -269 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchNeil Armstrong
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

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

Read the v1 thread

Cover letter [PATCH 0/9] crypto: qce - refactor the driver

This driver will soon be getting more features so show it some refactoring love in the meantime. Switching to using a workqueue and sleeping locks improves cryptsetup benchmark results for AES encryption.

---
Bartosz Golaszewski (9):
crypto: qce - fix goto jump in error path
crypto: qce - unregister previously registered algos in error path
crypto: qce - remove unneeded call to icc_set_bw() in error path
crypto: qce - shrink code with devres clk helpers
crypto: qce - convert qce_dma_request() to use devres
crypto: qce - make qce_register_algs() a managed interface
crypto: qce - use __free() for a buffer that's always freed
crypto: qce - convert tasklet to workqueue
crypto: qce - switch to using a mutex

 drivers/crypto/qce/core.c | 131 ++++++++++++++++------------------------------
 drivers/crypto/qce/core.h |   9 ++--
 drivers/crypto/qce/dma.c  |  22 ++++----
 drivers/crypto/qce/dma.h  |   3 +-
 drivers/crypto/qce/sha.c  |   6 +--
 5 files changed, 68 insertions(+), 103 deletions(-)

---
base-commit: f486c8aa16b8172f63bddc70116a0c897a7f3f02
change-id: 20241128-crypto-qce-refactor-ab58869eec34

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>