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 <darren.kenny@oracle.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: David Woodhouse <dwmw@amazon.co.uk> Link: https://lkml.kernel.org/r/20180202191220.blvgkgutojecxr3b@starbug-vm.ie.oracle.com
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)