Re: [PATCH v3] crypto: aes - Fix undesired override of some optimized AES modes

From: John Paul Adrian Glaubitz

Date: Wed Sep 30 2026 - 05:34:08 EST


Hi Stian,

On Wed, 2026-09-30 at 11:15 +0200, Stian Halseth wrote:
> On Wed, 2026-09-30 at 09:41 +0200, John Paul Adrian Glaubitz wrote:
> >
> >
> >
> > Very nice! Do you know which SPARC CPUs support these instructions?
> >
> > Adrian
> >
>
> SPARC T4 or later.

OK, thanks.

> The T2 and T3 has a separate crypto unit, but not supported here.
> Support was removed from the kernel in 6.14. Haven't tested it, as I
> don't have the hardware.

Why was it removed? I'm not happy about such removals as long as the
hardware is supported.

> Also worth noting, it's only used when the firmware lists the machine
> description's hwcap-list and the CFR has its bit set.

Is that not the case by default?

> I have no idea about Fujitsu's SPARC64 X family.

I think SPARC64 X is not supported by the Linux kernel at all, is it?

Adrian

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913