[PATCH 0/6] crypto: eip93: fix request lifetime and completion handling

From: Jihong Min

Date: Sun May 24 2026 - 15:47:48 EST


This series collects EIP-93 fixes which have been carried out-of-tree for a
while but have not reached upstream yet. The patches came from work by
multiple authors; I rebased the relevant parts onto current crypto.git,
split them by bug, dropped pieces that are already upstream, and adjusted the
remaining changes for the current driver.

Some of the original patch sketches were initially written with Claude Opus
4.7. The final review, split, upstream rework, and fixes were done with
assistance from OpenAI Codex GPT-5.5. The submitted commits carry the
corresponding provenance trailers where the original patch author or reporter
is known.

This series is intended as a prerequisite for the EIP-93 IPsec ESP support
series. The currently posted version of that series is broken because it
contains some overlapping fixes which are now split out here:

https://lore.kernel.org/netdev/20260523121522.3023992-1-hurryman2212@xxxxxxxxx/

I plan to resend the IPsec ESP support series after this fix series is
resolved.

Tested on a Lumen W1700K2 wireless AP running my Linux 6.18 based OpenWrt
build, after verifying that the resulting driver changes match the
corresponding OpenWrt patch diffs, modulo upstream context differences.

Jihong Min (6):
crypto: eip93: return IRQ request errors from probe
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 | 21 +++--
.../crypto/inside-secure/eip93/eip93-main.h | 2 +
8 files changed, 176 insertions(+), 65 deletions(-)


base-commit: 49e05bb00f2e8168695f7af4d694c39e1423e8a2
--
2.53.0