[PATCH v2 0/5] crypto: eip93: fix request lifetime and completion handling
From: Jihong Min
Date: Tue Jul 07 2026 - 13:17:29 EST
This is v2 of the EIP-93 fix series:
https://lore.kernel.org/linux-crypto/20260524194528.3666383-1-hurryman2212@xxxxxxxxx/
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
--
2.53.0