Re: [PATCH 1/2] arm64: add HWCAP3_LS64_ACCDATA

From: Arnd Bergmann

Date: Wed Nov 25 2026 - 11:20:10 EST


On Sun, Nov 22, 2026, at 20:42, Siddharth Chintamaneni wrote:
> On Tue, 17 Nov 2026 at 14:22, Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>>
>> From: Arnd Bergmann <arnd@xxxxxxxx>
>>
>> LS64_ACCDATA extends the LS64 feature with the user-space ls64bv0 instruction
>> and the EL1 ACCDATA register. Like LS64, it was added with Armv8.7, and it
>> roughly corresponds to the 'enqcmd' feature for shared hardware workqueues
>> on x86 CPUs as described in the kernel's SVA documentation. [1]
>
>
> A few small notes on this patch (the first three were also highlighted by the
> Sashiko review [1]):
>
> - Nit: s/ls64bv0/st64bv0/ in the commit message.

Fixed.

> - Should this come as Patch 2/2 after enabling st64bv0 in the kernel so
> HWCAP3_LS64_ACCDATA is not advertised to userspace at an intermediate
> commit?

Right, makes sense.

>> @@ -158,6 +158,7 @@ static const char *const hwcap_str[] = {
>> [KERNEL_HWCAP_F16F32DOT] = "f16f32dot",
>> [KERNEL_HWCAP_F16F32MM] = "f16f32mm",
>> [KERNEL_HWCAP_SVE_LUT6] = "svelut6",
>> + [KERNEL_HWCAP_LS64_ACCDATA] = "ls64_accdata",
>
> should we drop underscore to maintain consistency?

makes sense, done.

Thanks a lot!

arnd