Skip to content

Commit 7d082fb

Browse files
jgross1gregkh
authored andcommitted
x86/xen: fix SLS mitigation in xen_hypercall_iret()
The backport of upstream patch a2796df ("x86/xen: don't do PV iret hypercall through hypercall page") missed to adapt the SLS mitigation config check from CONFIG_MITIGATION_SLS to CONFIG_SLS. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 80d39b5 commit 7d082fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/xen/xen-asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ SYM_CODE_END(xen_early_idt_handler_array)
221221
push %rax
222222
mov $__HYPERVISOR_iret, %eax
223223
syscall /* Do the IRET. */
224-
#ifdef CONFIG_MITIGATION_SLS
224+
#ifdef CONFIG_SLS
225225
int3
226226
#endif
227227
.endm

0 commit comments

Comments
 (0)