]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2015 19:12:15 +0000 (11:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2015 19:12:15 +0000 (11:12 -0800)
added patches:
xen-fix-backport-of-previous-kexec-patch.patch

queue-3.14/series
queue-3.14/xen-fix-backport-of-previous-kexec-patch.patch [new file with mode: 0644]

index 02567d7284352837da8eb5572a183d9672bc056c..a0cfc85efcff6cc35b63a420e9638343c8a78583 100644 (file)
@@ -34,3 +34,4 @@ ib-cm-fix-rb-tree-duplicate-free-and-use-after-free.patch
 md-raid5-fix-locking-in-handle_stripe_clean_event.patch
 serial-8250_pci-add-support-for-16-port-exar-boards.patch
 serial-8250_pci-add-support-for-12-port-exar-boards.patch
+xen-fix-backport-of-previous-kexec-patch.patch
diff --git a/queue-3.14/xen-fix-backport-of-previous-kexec-patch.patch b/queue-3.14/xen-fix-backport-of-previous-kexec-patch.patch
new file mode 100644 (file)
index 0000000..25e8fe8
--- /dev/null
@@ -0,0 +1,50 @@
+From foo@baz Fri Nov  6 11:07:07 PST 2015
+Date: Fri, 06 Nov 2015 11:07:07 -0800
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: xen: fix backport of previous kexec patch
+
+Fixes the backport of 0b34a166f291d255755be46e43ed5497cdd194f2 upstream
+
+Commit 0b34a166f291d255755be46e43ed5497cdd194f2 "x86/xen: Support
+kexec/kdump in HVM guests by doing a soft reset" has been added to the
+4.2-stable tree" needed to correct the CONFIG variable, as
+CONFIG_KEXEC_CORE only showed up in 4.3.
+
+Reported-by: David Vrabel <david.vrabel@citrix.com>
+Reported-by: Luis Henriques <luis.henriques@canonical.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/x86/xen/enlighten.c |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- a/arch/x86/xen/enlighten.c
++++ b/arch/x86/xen/enlighten.c
+@@ -33,7 +33,7 @@
+ #include <linux/memblock.h>
+ #include <linux/edd.h>
+-#ifdef CONFIG_KEXEC_CORE
++#ifdef CONFIG_KEXEC
+ #include <linux/kexec.h>
+ #endif
+@@ -1848,7 +1848,7 @@ static struct notifier_block xen_hvm_cpu
+       .notifier_call  = xen_hvm_cpu_notify,
+ };
+-#ifdef CONFIG_KEXEC_CORE
++#ifdef CONFIG_KEXEC
+ static void xen_hvm_shutdown(void)
+ {
+       native_machine_shutdown();
+@@ -1879,7 +1879,7 @@ static void __init xen_hvm_guest_init(vo
+       x86_init.irqs.intr_init = xen_init_IRQ;
+       xen_hvm_init_time_ops();
+       xen_hvm_init_mmu_ops();
+-#ifdef CONFIG_KEXEC_CORE
++#ifdef CONFIG_KEXEC
+       machine_ops.shutdown = xen_hvm_shutdown;
+       machine_ops.crash_shutdown = xen_hvm_crash_shutdown;
+ #endif