]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.6-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Apr 2020 11:06:11 +0000 (13:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Apr 2020 11:06:11 +0000 (13:06 +0200)
added patches:
x86-xen-fix-booting-32-bit-pv-guest.patch

queue-5.6/series
queue-5.6/x86-xen-fix-booting-32-bit-pv-guest.patch [new file with mode: 0644]

index c9a4911696ee9e84e3f81bb536b26da97641a202..beff2235b23a3cafd43da070baab935d4aca4fa8 100644 (file)
@@ -164,3 +164,4 @@ bpf-fix-buggy-r0-retval-refinement-for-tracing-helpers.patch
 bpf-test_verifier-bpf_get_stack-return-value-add-0.patch
 bpf-test_progs-add-test-to-catch-retval-refine-error-handling.patch
 bpf-test_verifier-switch-bpf_get_stack-s-0-s-r8-test.patch
+x86-xen-fix-booting-32-bit-pv-guest.patch
diff --git a/queue-5.6/x86-xen-fix-booting-32-bit-pv-guest.patch b/queue-5.6/x86-xen-fix-booting-32-bit-pv-guest.patch
new file mode 100644 (file)
index 0000000..a04b114
--- /dev/null
@@ -0,0 +1,35 @@
+From d6f34f4c6b4a962eb7a86c923fea206f866a40be Mon Sep 17 00:00:00 2001
+From: Juergen Gross <jgross@suse.com>
+Date: Thu, 9 Apr 2020 09:00:01 +0200
+Subject: x86/xen: fix booting 32-bit pv guest
+
+From: Juergen Gross <jgross@suse.com>
+
+commit d6f34f4c6b4a962eb7a86c923fea206f866a40be upstream.
+
+Commit 2f62f36e62daec ("x86/xen: Make the boot CPU idle task reliable")
+introduced a regression for booting 32 bit Xen PV guests: the address
+of the initial stack needs to be a virtual one.
+
+Fixes: 2f62f36e62daec ("x86/xen: Make the boot CPU idle task reliable")
+Signed-off-by: Juergen Gross <jgross@suse.com>
+Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
+Link: https://lore.kernel.org/r/20200409070001.16675-1-jgross@suse.com
+Signed-off-by: Juergen Gross <jgross@suse.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/x86/xen/xen-head.S |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/x86/xen/xen-head.S
++++ b/arch/x86/xen/xen-head.S
+@@ -38,7 +38,7 @@ SYM_CODE_START(startup_xen)
+ #ifdef CONFIG_X86_64
+       mov initial_stack(%rip), %rsp
+ #else
+-      mov pa(initial_stack), %esp
++      mov initial_stack, %esp
+ #endif
+ #ifdef CONFIG_X86_64