]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/srso: Correct the mitigation status when SMT is disabled
authorBorislav Petkov (AMD) <bp@alien8.de>
Tue, 15 Aug 2023 09:53:13 +0000 (11:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Aug 2023 12:23:40 +0000 (14:23 +0200)
commit9080f4fcc20260a1c9e15f19e660e824ccc9b994
tree78bf04a91b0fa539c03caa2fa494c420644274a9
parent484eefc6ff9c6dc03f056d0ec4056fc667cef3d2
x86/srso: Correct the mitigation status when SMT is disabled

commit 6405b72e8d17bd1875a56ae52d23ec3cd51b9d66 upstream.

Specify how is SRSO mitigated when SMT is disabled. Also, correct the
SMT check for that.

Fixes: e9fbc47b818b ("x86/srso: Disable the mitigation on unaffected configurations")
Suggested-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/20230814200813.p5czl47zssuej7nv@treble
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/bugs.c