]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/srso: Print mitigation for retbleed IBPB case
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 5 Sep 2023 05:04:51 +0000 (22:04 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 20 Oct 2023 09:45:24 +0000 (11:45 +0200)
commitde9f5f7b06a5b7adbfdd8016f011120a4e928add
tree81cf7a50b8a76e66305efe8ed41f98d2ce614bf0
parent3fc7b28e831f15274a5526197b54a73a88620584
x86/srso: Print mitigation for retbleed IBPB case

When overriding the requested mitigation with IBPB due to retbleed=ibpb,
print the mitigation in the usual format instead of a custom error
message.

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>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/ec3af919e267773d896c240faf30bfc6a1fd6304.1693889988.git.jpoimboe@kernel.org
arch/x86/kernel/cpu/bugs.c