From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6ED530C140 for ; Sun, 24 May 2026 19:45:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779651947; cv=none; b=J/bwlX0sudeWEPZ6M7rd6wn2xoiRm08/SAzhcNLnopCYPbUA8qY9U5n540l0Qdi29U3uNXmQeU/rvlqa3DgDppqyWD//8B2DL4zC2+nIQfzkpjxakLvcvgr/PibdOXim5dv3N1dFNfSC5FNVNiWqWg35H24WJhByVPLxdksvEWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779651947; c=relaxed/simple; bh=PI5x+KLeOxar4DgYS4Ki7bcybjyhET/Yu4OLCtCXFnQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QcazzHqk8b7BFvJ+ycLPxsmWQKCjH8O6U/MhHWNYcYwxMxwJSp++3brHaazdjcDQvw7npdxHWNSCGaIiumsShQmv8XkMqkGaLHZW3D+vkKHovDd2ktIalVDZDENmrZgIFkrpcRuhOqgBj9OSfxg9wpKwMEVr9gztoAXt1oTyFtw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gAIYWOBj; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gAIYWOBj" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-2b45cb89f7eso60183295ad.0 for ; Sun, 24 May 2026 12:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779651945; x=1780256745; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JA9eytA8eL8TitP57tWRyURByetoHVVveadHTWdSjN4=; b=gAIYWOBjYy8Lc+qk7my6IWM0K0o2R1G8gPPrxMFunqsrAquA7k8vMtCc52uMNDF1sX lwmMOxcnTg3ChKcSabm/WwyXRP5eniExaKxzcd5iKh4YvidQAsCmbMBawLJt8ALrsIx2 aSO7Dsj4k2FtWALW4JodzJcyYd+Kk0QHQ4ysnRm0RvBj/RwCYa1X4uX8ShNTpVCAWf6+ n5EuKflvnlpAINsOcYcFHbF/uBwlrZORVZ0oX3ZAMtL/iZ3jBe4q05Wz9nKYeEfcllZy 0Qpx/khIkpHzu89ny2/7lRLRI84/VoNdM5PttpiwYLBIgZRfBpdoMb6iTFUhiwFMldoP oIhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779651945; x=1780256745; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JA9eytA8eL8TitP57tWRyURByetoHVVveadHTWdSjN4=; b=IiK4UBp8xcziI7ycjVEuSCfKQnKY7nODV0wq/+p5xJSDbgyAMlx/yEm72xhBN+oQ9Q vYQB0OJ0oocRD9+Wp48McvVMTkjZ2+JkctL1HHCtcoh2cK7iD3acwJ4VtYCIKiHfkU4h f9g/0trJWEu2vK6TJQVPb1PJ+EZyWW89x5Qmpxlz8XtA60KSaMMxZITcnnrfJXobxFBm GKZGJ5Kj1rdx8oxYxYE8II3UcZXEWyevAeDYZTVbY6NpQoOCbWt2/m68/B7ZlX40c4vY 0TsGXQ8h5KaOrNfGFeNCODn6Cbo0QzUeLHqWhE5DAoNzgVXwu390Fc7ixKLaH7cpSB9K 2sfQ== X-Forwarded-Encrypted: i=1; AFNElJ+c6uJ8/FBH+Zm0la2DvEQOOJKdAM0lLSDhazSYA3M4YOBc1PYtNR55xCVabrQd9KQcH0FfCznsavNBHuE=@vger.kernel.org X-Gm-Message-State: AOJu0Yzt7Guts6BKh060859tJypnH4bDNt6FhFqe7Nf7tQaMfe/CmFva /XpopSBg2YrhDnfqPsU91OTG9caEOjkRwF1gaXY1u+U4t2AXt1Cj/oqdrx2DLkgw X-Gm-Gg: Acq92OH3H6aWXFnpfMFcD3U2kapRzvEimqwiV8KVRuELHEaERAnpebBrpAQAL4Hh7A+ Cuntw2Hyh63qF+dSBxfsFUbcikWwXnjlnOfuaIV3KjBHqKMJj1r5uA1iA9yedgezaFjG6Ld7T4p LMsQaYxxFmLeFSv4ygGg4WeH5PtC+jyDIpjUpkVDfRx5gRrB/cAW3qSqKRevF107N7rUMVDIgqq fVJsvY1qwaMcFqVmPD2aDOGPdCHDEYWG1w/9U2GJD2E0im3Qfvj8dFIT4IqTz0soKjTwgrQTv9J R6IovDd+zbyaCvqkQVPSmpNRYJrdrv+eLtOImyE8PL+rjl/dhQJLBSbNq1M3poNa9g12z6ztm8O T6KXKmfUIOIhVgg9kKAU+tDZx+jzYgN5DifwnMdqJk34MNZ3W3HkR0Papk4TF1B+5ZUB8jPnSAN zyl56F2auclVh0X1SmxDKwHgBY X-Received: by 2002:a17:903:2c04:b0:2b4:61cc:37a8 with SMTP id d9443c01a7336-2beb037a5ebmr126108415ad.17.1779651944967; Sun, 24 May 2026 12:45:44 -0700 (PDT) Received: from mincom1 ([125.149.177.227]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2beb590aa7esm74414485ad.78.2026.05.24.12.45.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 May 2026 12:45:44 -0700 (PDT) From: Jihong Min To: Herbert Xu , linux-crypto@vger.kernel.org Cc: Christian Marangi , Antoine Tenart , "David S . Miller" , Richard van Schagen , linux-kernel@vger.kernel.org, Benjamin Larsson , Mieczyslaw Nalewaj , Aleksander Jan Bajkowski , Jihong Min Subject: [PATCH 0/6] crypto: eip93: fix request lifetime and completion handling Date: Mon, 25 May 2026 04:45:22 +0900 Message-ID: <20260524194528.3666383-1-hurryman2212@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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@gmail.com/ 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