]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/xen: fix SLS mitigation in xen_hypercall_iret()
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jan 2025 11:05:51 +0000 (12:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2025 16:16:04 +0000 (17:16 +0100)
commit9a4d196e8a5e67bb46f3be3860e9f20ac5284018
tree9d97cae8922aeede6a2660ad579624cd534f888e
parent167cbd3e5268991afdcb3b0fbb8d2255bb00a924
x86/xen: fix SLS mitigation in xen_hypercall_iret()

The backport of upstream patch a2796dff62d6 ("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>
arch/x86/xen/xen-asm.S