]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/bugs: Restructure L1TF mitigation
authorDavid Kaplan <david.kaplan@amd.com>
Fri, 18 Apr 2025 16:17:20 +0000 (11:17 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 29 Apr 2025 16:57:30 +0000 (18:57 +0200)
commitd43ba2dc8eeeca21811fd9b30e3bd15bb35caaec
tree900621ab2ef80fa1b91903e9510daac9a4196589
parent5ece59a2fca6e1467558467a05cf742b7e52d1b7
x86/bugs: Restructure L1TF mitigation

Restructure L1TF to use select/apply functions to create consistent
vulnerability handling.

Define new AUTO mitigation for L1TF.

Signed-off-by: David Kaplan <david.kaplan@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/20250418161721.1855190-16-david.kaplan@amd.com
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/bugs.c
arch/x86/kvm/vmx/vmx.c