From: Herbert Xu <herbert@gondor.apana.org.au>
To: Manorit Chawdhry <m-chawdhry@ti.com>
Cc: "David S. Miller" <davem@davemloft.net>,
Keerthy <j-keerthy@ti.com>,
Colin Ian King <colin.i.king@gmail.com>,
Andrew Davis <afd@ti.com>, Pratham T <t-pratham@ti.com>,
Kamlesh Gurudasani <kamlesh@ti.com>, Udit Kumar <u-kumar1@ti.com>,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 00/30] Clean and improve SA2UL driver
Date: Wed, 23 Sep 2026 15:16:12 +1000 [thread overview]
Message-ID: <arNgnMuKPAHYxP4Y@gondor.apana.org.au> (raw)
In-Reply-To: <20260915-b4-upstream-sa2ul-cleanup-v1-0-57ab34e97162@ti.com>
On Tue, Sep 15, 2026 at 03:25:06PM +0530, Manorit Chawdhry wrote:
> The following series focuses on some cleanups to the sa2ul driver, it
> starts with very trivial cleanups then goes to fix some bigger cleanups
> and migration to crypto_engine which help fix the broader race condition
> problems with the driver, thereafter it adds the support for AES CM as
> per SAxUL 3.1 IP. KASAN is also run alongside to fix the issues caught
> by them.
>
> Self test results across K3 family:
> https://gist.github.com/manorit2001/544587ec3535125663e3ca9dbc186e96
>
> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> ---
> Manorit Chawdhry (30):
> crypto: sa2ul - remove dead code
> crypto: sa2ul - remove totally unused structure fields
> crypto: sa2ul - remove unused algorithm ID fields
> crypto: sa2ul - remove unused fields from sa_cmdl_cfg
> crypto: sa2ul - remove unused fields from sa_tfm_ctx
> crypto: sa2ul - remove unused macro definitions
> crypto: sa2ul - consolidate encryption offset definitions
> crypto: sa2ul - remove unused SC ID range tracking
> crypto: sa2ul - remove unused base register pointer
> crypto: sa2ul - remove unused includes and defines
> crypto: sa2ul - remove unused line
> crypto: sa2ul - remove redundant sa_sha_digest() wrapper
> crypto: sa2ul - fix struct documentation for match_data
> crypto: sa2ul - zero out security context on free
> crypto: sa2ul - fix context release on errors
> crypto: sa2ul - fix resource leak of sha in init_alg() error path
> crypto: sa2ul - fix resource leak of AEAD in init_alg() error path
> crypto: sa2ul - fix DMA mapping leak in sa_run() error paths
> crypto: sa2ul - generate dynamic metadata length
> crypto: sa2ul - fix command label stack corruption
> crypto: sa2ul - fix error handling in sa_prepare_iopad
> crypto: sa2ul - move export to appropriate location.
> crypto: sa2ul - fix stack overflow in sa_prepare_iopads
> crypto: sa2ul - add more checks before processing ipad/opad
> crypto: sa2ul - fix data corruption by skipping device sync on unmap
> crypto: sa2ul - use correct DMA direction in sa_sync_from_device
> crypto: sa2ul - change dma_alloc_pool to mempool
> crypto: sa2ul - route requests through crypto_engine
> crypto: sa2ul - report SA engine hardware revision
> crypto: sa2ul - add AES-CM (SA3UL_CM) TRNG priming support
>
> drivers/crypto/Kconfig | 1 +
> drivers/crypto/sa2ul.c | 1042 +++++++++++++++++++++++++++++-------------------
> drivers/crypto/sa2ul.h | 162 ++------
> 3 files changed, 661 insertions(+), 544 deletions(-)
> ---
> base-commit: a9d7ced84989ec05be09b4b8428759ef60450a0f
> change-id: 20251106-b4-upstream-sa2ul-cleanup-ce85d40c7eb8
>
> Best regards,
> --
> Manorit Chawdhry <m-chawdhry@ti.com>
Please check the Sashiko comments:
https://sashiko.dev/#/patchset/20260915-b4-upstream-sa2ul-cleanup-v1-0-57ab34e97162%40ti.com
Thanks,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
prev parent reply other threads:[~2026-09-23 5:16 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 9:55 [PATCH 00/30] Clean and improve SA2UL driver Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 01/30] crypto: sa2ul - remove dead code Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 02/30] crypto: sa2ul - remove totally unused structure fields Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 03/30] crypto: sa2ul - remove unused algorithm ID fields Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 04/30] crypto: sa2ul - remove unused fields from sa_cmdl_cfg Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 05/30] crypto: sa2ul - remove unused fields from sa_tfm_ctx Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 06/30] crypto: sa2ul - remove unused macro definitions Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 07/30] crypto: sa2ul - consolidate encryption offset definitions Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 08/30] crypto: sa2ul - remove unused SC ID range tracking Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 09/30] crypto: sa2ul - remove unused base register pointer Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 10/30] crypto: sa2ul - remove unused includes and defines Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 11/30] crypto: sa2ul - remove unused line Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 12/30] crypto: sa2ul - remove redundant sa_sha_digest() wrapper Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 13/30] crypto: sa2ul - fix struct documentation for match_data Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 14/30] crypto: sa2ul - zero out security context on free Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 15/30] crypto: sa2ul - fix context release on errors Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 16/30] crypto: sa2ul - fix resource leak of sha in init_alg() error path Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 17/30] crypto: sa2ul - fix resource leak of AEAD " Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 18/30] crypto: sa2ul - fix DMA mapping leak in sa_run() error paths Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 19/30] crypto: sa2ul - generate dynamic metadata length Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 20/30] crypto: sa2ul - fix command label stack corruption Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 21/30] crypto: sa2ul - fix error handling in sa_prepare_iopad Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 22/30] crypto: sa2ul - move export to appropriate location Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 23/30] crypto: sa2ul - fix stack overflow in sa_prepare_iopads Manorit Chawdhry
2026-09-17 10:13 ` T Pratham
2026-09-15 9:55 ` [PATCH 24/30] crypto: sa2ul - add more checks before processing ipad/opad Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 25/30] crypto: sa2ul - fix data corruption by skipping device sync on unmap Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 26/30] crypto: sa2ul - use correct DMA direction in sa_sync_from_device Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 27/30] crypto: sa2ul - change dma_alloc_pool to mempool Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 28/30] crypto: sa2ul - route requests through crypto_engine Manorit Chawdhry
2026-09-17 10:05 ` T Pratham
2026-09-15 9:55 ` [PATCH 29/30] crypto: sa2ul - report SA engine hardware revision Manorit Chawdhry
2026-09-15 9:55 ` [PATCH 30/30] crypto: sa2ul - add AES-CM (SA3UL_CM) TRNG priming support Manorit Chawdhry
2026-09-23 5:16 ` Herbert Xu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=arNgnMuKPAHYxP4Y@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=afd@ti.com \
--cc=colin.i.king@gmail.com \
--cc=davem@davemloft.net \
--cc=j-keerthy@ti.com \
--cc=kamlesh@ti.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m-chawdhry@ti.com \
--cc=t-pratham@ti.com \
--cc=u-kumar1@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox