crypto: acomp - Use optional async calling convention
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | crypto: api - Add helpers to manage request flagsinclude/ include/ | +29 | 0 replies | |
| 2/7 | crypto: acomp - Use request flag helpers and add acomp_request_flagsinclude/ include/ | +22 | 0 replies | |
| 3/7 | crypto: acomp - Add ACOMP_FBREQ_ON_STACKcrypto/ include/ | +27 | 0 replies | |
| 4/7 | crypto: iaa - Switch to ACOMP_FBREQ_ON_STACKdrivers/ | +1 | 0 replies | |
| 5/7 | crypto: acomp - Add ACOMP_REQUEST_CLONEcrypto/ include/ include/ | +52 | 0 replies | |
| 6/7 | ubifs: Use ACOMP_REQUEST_CLONEfs/ | +116 | 0 replies | |
| 7/7 | crypto: acomp - Remove ACOMP_REQUEST_ALLOCinclude/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] crypto: acomp - Use optional async calling convention
This patch series introduces the optional async calling convention for acomp. This will be extended to all other Crypto API types that support async.
With this a stack request is setup initially and will be used as long as the algorithm can complete synchronously. If it cannot then EAGAIN is returned, and the caller may choose to allocate a dynamic request through the REQUEST_CLONE call and then redo the call asynchronously.
This series is based on top of
https://lore.kernel.org/linux-crypto/[email protected]
Herbert Xu (7):
crypto: api - Add helpers to manage request flags
crypto: acomp - Use request flag helpers and add acomp_request_flags
crypto: acomp - Add ACOMP_FBREQ_ON_STACK
crypto: iaa - Switch to ACOMP_FBREQ_ON_STACK
crypto: acomp - Add ACOMP_REQUEST_CLONE
ubifs: Use ACOMP_REQUEST_CLONE
crypto: acomp - Remove ACOMP_REQUEST_ALLOC
crypto/acompress.c | 37 +-- drivers/crypto/intel/iaa/iaa_crypto_main.c | 5 +- fs/ubifs/compress.c | 251 ++++++++++----------- include/crypto/acompress.h | 48 ++-- include/crypto/algapi.h | 5 + include/crypto/internal/acompress.h | 33 ++- include/linux/crypto.h | 24 ++ 7 files changed, 227 insertions(+), 176 deletions(-)
Signature · 1 line
2.39.5