]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 01:01:58 +0000 (18:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 01:01:58 +0000 (18:01 -0700)
added patches:
drivers-rtc-rtc-puv3.c-remove-dev-for-typo-issue.patch
drivers-rtc-rtc-puv3.c-use-dev_dbg-instead-of-dev_debug-for-typo-issue.patch
powerpc-disable-relocatable-for-compile_test-with-ppc64.patch

queue-3.14/drivers-rtc-rtc-puv3.c-remove-dev-for-typo-issue.patch [new file with mode: 0644]
queue-3.14/drivers-rtc-rtc-puv3.c-use-dev_dbg-instead-of-dev_debug-for-typo-issue.patch [new file with mode: 0644]
queue-3.14/powerpc-disable-relocatable-for-compile_test-with-ppc64.patch [new file with mode: 0644]
queue-3.14/series

diff --git a/queue-3.14/drivers-rtc-rtc-puv3.c-remove-dev-for-typo-issue.patch b/queue-3.14/drivers-rtc-rtc-puv3.c-remove-dev-for-typo-issue.patch
new file mode 100644 (file)
index 0000000..e12f9c8
--- /dev/null
@@ -0,0 +1,40 @@
+From 73fa540618d8b1f8c2266934f23bd84bb9e28d9e Mon Sep 17 00:00:00 2001
+From: Chen Gang <gang.chen.5i5j@gmail.com>
+Date: Sat, 3 May 2014 13:09:02 +0800
+Subject: drivers/rtc/rtc-puv3.c: remove "&dev->" for typo issue
+
+From: Chen Gang <gang.chen.5i5j@gmail.com>
+
+commit 73fa540618d8b1f8c2266934f23bd84bb9e28d9e upstream.
+
+It is only a typo issue, the related commit:
+
+  "1fbc4c4 drivers/rtc/rtc-puv3.c: use dev_dbg() instead of pr_debug()"
+
+The related error (for unicore32 with allmodconfig):
+
+    CC [M]  drivers/rtc/rtc-puv3.o
+  drivers/rtc/rtc-puv3.c: In function 'puv3_rtc_setalarm':
+  drivers/rtc/rtc-puv3.c:143: error: 'struct device' has no member named 'dev'
+
+Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
+Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
+Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
+Cc: Guenter Roeck <linux@roeck-us.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/rtc/rtc-puv3.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/rtc/rtc-puv3.c
++++ b/drivers/rtc/rtc-puv3.c
+@@ -140,7 +140,7 @@ static int puv3_rtc_setalarm(struct devi
+       rtc_tm_to_time(tm, &rtcalarm_count);
+       writel(rtcalarm_count, RTC_RTAR);
+-      puv3_rtc_setaie(&dev->dev, alrm->enabled);
++      puv3_rtc_setaie(dev, alrm->enabled);
+       if (alrm->enabled)
+               enable_irq_wake(puv3_rtc_alarmno);
diff --git a/queue-3.14/drivers-rtc-rtc-puv3.c-use-dev_dbg-instead-of-dev_debug-for-typo-issue.patch b/queue-3.14/drivers-rtc-rtc-puv3.c-use-dev_dbg-instead-of-dev_debug-for-typo-issue.patch
new file mode 100644 (file)
index 0000000..39be540
--- /dev/null
@@ -0,0 +1,40 @@
+From c863810cefc7ffd782e5648a21bfb36a32c8b081 Mon Sep 17 00:00:00 2001
+From: Chen Gang <gang.chen.5i5j@gmail.com>
+Date: Sat, 3 May 2014 13:07:57 +0800
+Subject: drivers/rtc/rtc-puv3.c: use dev_dbg() instead of dev_debug() for typo issue
+
+From: Chen Gang <gang.chen.5i5j@gmail.com>
+
+commit c863810cefc7ffd782e5648a21bfb36a32c8b081 upstream.
+
+It is only a typo issue, the related commit:
+
+  "1fbc4c4 drivers/rtc/rtc-puv3.c: use dev_dbg() instead of pr_debug()"
+
+The related error (unicore32 with allmodconfig):
+
+    CC [M]  drivers/rtc/rtc-puv3.o
+  drivers/rtc/rtc-puv3.c: In function 'puv3_rtc_setpie':
+  drivers/rtc/rtc-puv3.c:74: error: implicit declaration of function 'dev_debug'
+
+Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
+Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
+Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
+Cc: Guenter Roeck <linux@roeck-us.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/rtc/rtc-puv3.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/rtc/rtc-puv3.c
++++ b/drivers/rtc/rtc-puv3.c
+@@ -71,7 +71,7 @@ static int puv3_rtc_setpie(struct device
+ {
+       unsigned int tmp;
+-      dev_debug(dev, "%s: pie=%d\n", __func__, enabled);
++      dev_dbg(dev, "%s: pie=%d\n", __func__, enabled);
+       spin_lock_irq(&puv3_rtc_pie_lock);
+       tmp = readl(RTC_RTSR) & ~RTC_RTSR_HZE;
diff --git a/queue-3.14/powerpc-disable-relocatable-for-compile_test-with-ppc64.patch b/queue-3.14/powerpc-disable-relocatable-for-compile_test-with-ppc64.patch
new file mode 100644 (file)
index 0000000..cf1dcd8
--- /dev/null
@@ -0,0 +1,52 @@
+From fb43e8477ed9006c4f397f904c691a120503038c Mon Sep 17 00:00:00 2001
+From: Guenter Roeck <linux@roeck-us.net>
+Date: Mon, 30 Jun 2014 11:45:30 -0700
+Subject: powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64
+
+From: Guenter Roeck <linux@roeck-us.net>
+
+commit fb43e8477ed9006c4f397f904c691a120503038c upstream.
+
+powerpc:allmodconfig has been failing for some time with the following
+error.
+
+arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
+arch/powerpc/kernel/exceptions-64s.S:1312: Error: attempt to move .org backwards
+make[1]: *** [arch/powerpc/kernel/head_64.o] Error 1
+
+A number of attempts to fix the problem by moving around code have been
+unsuccessful and resulted in failed builds for some configurations and
+the discovery of toolchain bugs.
+
+Fix the problem by disabling RELOCATABLE for COMPILE_TEST builds instead.
+While this is less than perfect, it avoids substantial code changes
+which would otherwise be necessary just to make COMPILE_TEST builds
+happy and might have undesired side effects.
+
+Signed-off-by: Guenter Roeck <linux@roeck-us.net>
+Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/powerpc/Kconfig |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/arch/powerpc/Kconfig
++++ b/arch/powerpc/Kconfig
+@@ -410,7 +410,7 @@ config KEXEC
+ config CRASH_DUMP
+       bool "Build a kdump crash kernel"
+       depends on PPC64 || 6xx || FSL_BOOKE || (44x && !SMP)
+-      select RELOCATABLE if PPC64 || 44x || FSL_BOOKE
++      select RELOCATABLE if (PPC64 && !COMPILE_TEST) || 44x || FSL_BOOKE
+       help
+         Build a kernel suitable for use as a kdump capture kernel.
+         The same kernel binary can be used as production kernel and dump
+@@ -1000,6 +1000,7 @@ endmenu
+ if PPC64
+ config RELOCATABLE
+       bool "Build a relocatable kernel"
++      depends on !COMPILE_TEST
+       select NONSTATIC_KERNEL
+       help
+         This builds a kernel image that is capable of running anywhere
index a536c1038ca840267f11e1690ae4cee0a938fd18..479e736cedf8d257d8b62fef9f842120c6b703c9 100644 (file)
@@ -54,3 +54,6 @@ drm-i915-don-t-clobber-the-gtt-when-it-s-within-stolen-memory.patch
 dma-cma-fix-possible-memory-leak.patch
 ring-buffer-check-if-buffer-exists-before-polling.patch
 x86-64-espfix-don-t-leak-bits-31-16-of-esp-returning-to-16-bit-stack.patch
+drivers-rtc-rtc-puv3.c-remove-dev-for-typo-issue.patch
+drivers-rtc-rtc-puv3.c-use-dev_dbg-instead-of-dev_debug-for-typo-issue.patch
+powerpc-disable-relocatable-for-compile_test-with-ppc64.patch