Skip to content

Commit af189c9

Browse files
darrenkennyKAGA-KOKO
authored andcommitted
x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
Fixes: 117cc7a ("x86/retpoline: Fill return stack buffer on vmexit") Signed-off-by: Darren Kenny <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> Cc: Tom Lendacky <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: David Woodhouse <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 4bf5d56 commit af189c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/include/asm/nospec-branch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ extern char __indirect_thunk_end[];
150150
* On VMEXIT we must ensure that no RSB predictions learned in the guest
151151
* can be followed in the host, by overwriting the RSB completely. Both
152152
* retpoline and IBRS mitigations for Spectre v2 need this; only on future
153-
* CPUs with IBRS_ATT *might* it be avoided.
153+
* CPUs with IBRS_ALL *might* it be avoided.
154154
*/
155155
static inline void vmexit_fill_RSB(void)
156156
{

0 commit comments

Comments
 (0)