]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/cpufeatures: Make X86_FEATURE leaf 17 Linux-specific
authorBorislav Petkov (AMD) <bp@alien8.de>
Wed, 24 Sep 2025 12:59:35 +0000 (14:59 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 13 Oct 2025 14:21:25 +0000 (16:21 +0200)
commitddde4abaa0ecc8395e0fcfa3e92f65d481890cc8
tree8c2d2037bc4c36c849405c0a6701ff61a30bd56b
parent3a8660878839faadb4f1a6dd72c3179c1df56787
x86/cpufeatures: Make X86_FEATURE leaf 17 Linux-specific

That cpuinfo_x86.x86_capability[] element was supposed to mirror CPUID flags
from CPUID_0x80000007_EBX but that leaf has still to this day only three bits
defined in it. So move those bits to scattered.c and free the capability
element for synthetic flags.

No functional changes.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
arch/x86/include/asm/cpufeature.h
arch/x86/include/asm/cpufeatures.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/scattered.c
arch/x86/kvm/reverse_cpuid.h
tools/arch/x86/include/asm/cpufeatures.h