Skip to content

crypto: completion should be ran with BH disabled

Corentin Labbe linux-amlogic linux-arm-kernel linux-crypto linux-sunxi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5crypto: sun8i-ss: call finalize with bh disableddrivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c+6 -00 replies
2/5crypto: sun8i-ce: call finalize with bh disableddrivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c+6 -00 replies
3/5crypto: amlogic: call finalize with bh disableddrivers/crypto/amlogic/amlogic-gxl-cipher.c+2 -00 replies
4/5crypto: gemini: call finalize with bh disableddrivers/crypto/gemini/sl3516-ce-cipher.c+2 -00 replies
5/5crypto: engine: check if BH is disabled during completioncrypto/crypto_engine.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] crypto: completion should be ran with BH disabled

Hello

This is the follow up of https://lore.kernel.org/lkml/Yd1SIHUNdLIvKhzz@Red/
and https://patchwork.kernel.org/project/linux-crypto/patch/[email protected]/
This serie fix all drivers which do not call completion with BH disabled
and add the check in crypto/engine asked by Herbert.
I have verified that this check does not generate warnings on all other crypto
hardware I got (omap, ccree, rockchip)

Regards

Corentin Labbe (5):
crypto: sun8i-ss: call finalize with bh disabled
crypto: sun8i-ce: call finalize with bh disabled
crypto: amlogic: call finalize with bh disabled
crypto: gemini: call finalize with bh disabled
crypto: engine: check if BH is disabled during completion

 crypto/crypto_engine.c                              | 1 +
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 3 +++
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c   | 3 +++
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 3 +++
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c   | 3 +++
 drivers/crypto/amlogic/amlogic-gxl-cipher.c         | 2 ++
 drivers/crypto/gemini/sl3516-ce-cipher.c            | 2 ++
 7 files changed, 17 insertions(+)
Signature · 1 line
2.34.1