]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/srso: Add SRSO_NO support
authorBorislav Petkov (AMD) <bp@alien8.de>
Thu, 29 Jun 2023 15:43:40 +0000 (17:43 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 27 Jul 2023 09:07:19 +0000 (11:07 +0200)
commit1b5277c0ea0b247393a9c426769fde18cff5e2f6
treea7b68ae056148d5304ca880ec781d80bdf41595c
parent79113e4060aba744787a81edb9014f2865193854
x86/srso: Add SRSO_NO support

Add support for the CPUID flag which denotes that the CPU is not
affected by SRSO.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
arch/x86/include/asm/cpufeatures.h
arch/x86/include/asm/msr-index.h
arch/x86/include/asm/nospec-branch.h
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/cpu/bugs.c
arch/x86/kernel/cpu/common.c
arch/x86/kvm/cpuid.c