Re: [PATCH] lib/crypto: sparc/aes-xts: Add optimization using the AES opcodes
From: Stian Halseth
Date: Tue Sep 29 2026 - 17:35:18 EST
Hi Eric,
On Tue, 2026-09-29 at 21:24 +0000, Eric Biggers wrote:
>
> It's a little late to be adding new optimized code in 7.3. But yes,
> full AES-XTS performance requires that it be implemented directly, so
> we
> should add this optimized AES-XTS code in 7.4 (assuming people still
> care about SPARC, which I guess you do). For 7.3 let's just suppress
> "xts-aes-lib" on sparc. I left it out of the patch
> https://lore.kernel.org/linux-crypto/20260925202353.10763-1-ebiggers@xxxxxxxxxx/
> , but I guess it should be included after all.
>
Completely understandable. I was considering sending two patches at
first, one to suppress "xts-aes-lib" on sparc, and one with the
optimized code.
You're adding the suppression?
If yes, I can test the suppression on a T7-1 and a T4-1 when you have
it.
For 7.4 I could send a v2 on top of it that takes sparc out of the
suppression again, without the Fixes: tag.
And yes, we really do care. The plan here is LUKS on NVMe on the M7 ;-)
SPARC is very much alive and kicking:
https://github.com/sparclinux/issues/issues
Attachment:
signature.asc
Description: This is a digitally signed message part