crypto: eip93: fix request lifetime and completion handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 1 replyIn review
- v16 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- Drop the IRQ request error patch; the equivalent fix is already present.
- Rebase the remaining fixes onto cryptodev-2.6 master at e264401ce477.
- Keep the remaining code changes unchanged from v1.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | crypto: eip93: guard DMA cleanup on uninitialized mappingsdrivers/ drivers/ | +41 | 1 reply | |
| 2/5 | crypto: eip93: reject HMAC requests before setkeydrivers/ | +3 | 0 replies | |
| 3/5 | crypto: eip93: use request-local SA records for cipher requestsdrivers/ drivers/ drivers/ +1 more | +55 | 0 replies | |
| 4/5 | crypto: eip93: order result descriptor reads after PE_READYdrivers/ | +8 | 0 replies | |
| 5/5 | crypto: eip93: handle request ID exhaustiondrivers/ drivers/ drivers/ +2 more | +69 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by.
| Patch | Mieczyslaw Nalewaj | Aleksander Jan Bajkowski |
|---|---|---|
| 1/5 | Originally-by | |
| 2/5 | Originally-by | |
| 3/5 | ||
| 4/5 | ||
| 5/5 | T-b |
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: eip93: fix request lifetime and completion handling
This is v2 of the EIP-93 fix series:
https://lore.kernel.org/linux-crypto/[email protected]/
This series keeps the remaining request lifetime and completion handling fixes from v1. Patch 1/6 from v1 is omitted because an equivalent devm_request_threaded_irq() failure handling fix is already in this tree as commit 85a61bf9145d ("crypto: inside-secure/eip93 - Add check for devm_request_threaded_irq").
The patches collect EIP-93 fixes that had been carried out-of-tree and rework them for the current driver. The original fixes came from work by multiple people; the individual commits carry provenance trailers where the original author, reporter or tester is known.
Tested on a Lumen W1700K2 wireless AP running a Linux 6.18 based OpenWrt build, after verifying that the resulting driver changes match the corresponding OpenWrt patch diffs, modulo upstream context differences.
Changes in v2:
- Drop the IRQ request error patch; the equivalent fix is already present.
- Rebase the remaining fixes onto cryptodev-2.6 master at e264401ce477.
- Keep the remaining code changes unchanged from v1.
Jihong Min (5):
crypto: eip93: guard DMA cleanup on uninitialized mappings
crypto: eip93: reject HMAC requests before setkey
crypto: eip93: use request-local SA records for cipher requests
crypto: eip93: order result descriptor reads after PE_READY
crypto: eip93: handle request ID exhaustion
.../crypto/inside-secure/eip93/eip93-aead.c | 34 +++++--- .../crypto/inside-secure/eip93/eip93-cipher.c | 34 +++++--- .../crypto/inside-secure/eip93/eip93-cipher.h | 3 +- .../crypto/inside-secure/eip93/eip93-common.c | 65 ++++++++++++--- .../crypto/inside-secure/eip93/eip93-common.h | 3 + .../crypto/inside-secure/eip93/eip93-hash.c | 79 +++++++++++++------ .../crypto/inside-secure/eip93/eip93-main.c | 19 +++-- .../crypto/inside-secure/eip93/eip93-main.h | 2 + 8 files changed, 174 insertions(+), 65 deletions(-)
base-commit: e264401ce4776a288524e5b87593d4d864147115
Signature · 1 line
2.53.0