crypto: talitos: Add crypto async queue handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 16 repliesIn review
- v15 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Ran checkpatch.pl
- Split the path for submitting new requests vs. issuing backlogged requests.
- Avoid enqueuing a submitted request to the crypto queue unnecessarily.
- Fix return paths where CRYPTO_TFM_REQ_MAY_BACKLOG is not set.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | crypto: talitos: Simplify per-channel initializationdrivers/ | +3 | 1 reply | |
| 2/5 | crypto: talitos: Remove MD5_BLOCK_SIZEdrivers/ | +2 | 2 replies | |
| 3/5 | crypto: talitos: Fix off-by-one and use all hardware slotsdrivers/ | +1 | 2 replies | |
| 4/5 | crypto: talitos: Reorganize request submission data structuresdrivers/ drivers/ | +66 | 0 replies | |
| 5/5 | crypto: talitos: Add software backlog queue handlingdrivers/ drivers/ | +110 | 11 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Kim Phillips |
|---|---|
| 1/5 | A-b |
| 2/5 | A-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] crypto: talitos: Add crypto async queue handling
I was testing dm-crypt performance with a Freescale P1022 board with a recent kernel and was getting IO errors while doing testing with LUKS. Investigation showed that all hardware FIFO slots were filling and the driver was returning EAGAIN to the block layer, which is not an expected response for an async crypto implementation.
The following patch series adds a few small fixes, and reworks the submission path to use the crypto_queue mechanism to handle the request backlog.
Changes since v1:
- Ran checkpatch.pl
- Split the path for submitting new requests vs. issuing backlogged requests.
- Avoid enqueuing a submitted request to the crypto queue unnecessarily.
- Fix return paths where CRYPTO_TFM_REQ_MAY_BACKLOG is not set.
Martin Hicks (5):
crypto: talitos: Simplify per-channel initialization
crypto: talitos: Remove MD5_BLOCK_SIZE
crypto: talitos: Fix off-by-one and use all hardware slots
crypto: talitos: Reorganize request submission data structures
crypto: talitos: Add software backlog queue handling
drivers/crypto/talitos.c | 240 +++++++++++++++++++++++++++------------------- drivers/crypto/talitos.h | 44 +++++++-- 2 files changed, 177 insertions(+), 107 deletions(-)
Signature · 1 line
1.7.10.4