]> Git Repo - linux.git/commit
x86/cpufeatures: Assign dedicated feature word for CPUID_0x8000001F[EAX]
authorSean Christopherson <[email protected]>
Fri, 22 Jan 2021 20:40:46 +0000 (12:40 -0800)
committerBorislav Petkov <[email protected]>
Thu, 28 Jan 2021 16:41:24 +0000 (17:41 +0100)
commitfb35d30fe5b06cc24444f0405da8fbe0be5330d1
tree1f257d2806bd8f77a72a1a9819268206986b3954
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837
x86/cpufeatures: Assign dedicated feature word for CPUID_0x8000001F[EAX]

Collect the scattered SME/SEV related feature flags into a dedicated
word.  There are now five recognized features in CPUID.0x8000001F.EAX,
with at least one more on the horizon (SEV-SNP).  Using a dedicated word
allows KVM to use its automagic CPUID adjustment logic when reporting
the set of supported features to userspace.

No functional change intended.

Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Brijesh Singh <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/include/asm/cpufeature.h
arch/x86/include/asm/cpufeatures.h
arch/x86/include/asm/disabled-features.h
arch/x86/include/asm/required-features.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/scattered.c
tools/arch/x86/include/asm/disabled-features.h
tools/arch/x86/include/asm/required-features.h
This page took 0.063667 seconds and 4 git commands to generate.