]> www.infradead.org Git - users/willy/pagecache.git/commit
x86/cpufeatures: Make AVX-VNNI depend on AVX
authorEric Biggers <ebiggers@google.com>
Thu, 20 Feb 2025 06:01:24 +0000 (22:01 -0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 21 Feb 2025 13:19:16 +0000 (14:19 +0100)
commit517120728484df1ab8b71cba8d2cad19f52f18a1
tree0a6e026384dc5cbca9a3a282b3948c8c13847b61
parentb522f180ee2b264b771fcbd0ab67d84cdd9e580d
x86/cpufeatures: Make AVX-VNNI depend on AVX

The 'noxsave' boot option disables support for AVX, but support for the
AVX-VNNI feature was still declared on CPUs that support it.  Fix this.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/r/20250220060124.89622-1-ebiggers@kernel.org
arch/x86/kernel/cpu/cpuid-deps.c