2024-04-18 14:29:00

by Dave Hansen

[permalink] [raw]
Subject: Re: [PATCH] x86/cpufeatures: Fix dependencies for GFNI, VAES, and VPCLMULQDQ

On 4/16/24 23:04, Eric Biggers wrote:
> Fix cpuid_deps[] to list the correct dependencies for GFNI, VAES, and
> VPCLMULQDQ. These features don't depend on AVX512, and there exist CPUs
> that support these features but not AVX512. GFNI actually doesn't even
> depend on AVX.
>
> This prevents GFNI from being unnecessarily disabled if AVX is disabled
> to mitigate the GDS vulnerability.

Looks like the original commit was quite confused. Thanks for finding this.

Acked-by: Dave Hansen <[email protected]>