]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/srso: Print actual mitigation if requested mitigation isn't possible
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 5 Sep 2023 05:04:50 +0000 (22:04 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 20 Oct 2023 09:44:26 +0000 (11:44 +0200)
commit3fc7b28e831f15274a5526197b54a73a88620584
tree22ac9be74458f2f0e17d94594530abc58f2ff157
parent1d1142ac51307145dbb256ac3535a1d43a1c9800
x86/srso: Print actual mitigation if requested mitigation isn't possible

If the kernel wasn't compiled to support the requested option, print the
actual option that ends up getting used.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/7e7a12ea9d85a9f76ca16a3efb71f262dee46ab1.1693889988.git.jpoimboe@kernel.org
arch/x86/kernel/cpu/bugs.c