]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.2-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 01:46:26 +0000 (18:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 01:46:26 +0000 (18:46 -0700)
added patches:
arm-rockchip-fix-broken-build.patch

queue-4.2/arm-rockchip-fix-broken-build.patch [new file with mode: 0644]
queue-4.2/series

diff --git a/queue-4.2/arm-rockchip-fix-broken-build.patch b/queue-4.2/arm-rockchip-fix-broken-build.patch
new file mode 100644 (file)
index 0000000..093da5e
--- /dev/null
@@ -0,0 +1,47 @@
+From cb8cc37f4d38d96552f2c52deb15e511cdacf906 Mon Sep 17 00:00:00 2001
+From: Caesar Wang <wxt@rock-chips.com>
+Date: Mon, 6 Jul 2015 11:37:23 +0800
+Subject: ARM: rockchip: fix broken build
+
+From: Caesar Wang <wxt@rock-chips.com>
+
+commit cb8cc37f4d38d96552f2c52deb15e511cdacf906 upstream.
+
+The following was seen in branch[0] build.
+
+arch/arm/mach-rockchip/platsmp.c:154:23: error:
+    'rockchip_secondary_startup' undeclared (first use in this function)
+
+branch[0]:
+git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git
+v4.3-armsoc/soc
+
+The broken build is caused by the commit fe4407c0dc58
+("ARM: rockchip: fix the CPU soft reset").
+
+Signed-off-by: Caesar Wang <wxt@rock-chips.com>
+
+The breakage was a result of it being wrongly merged in my branch with
+the cache invalidation rework from Russell 02b4e2756e01c
+("ARM: v7 setup function should invalidate L1 cache").
+
+Signed-off-by: Heiko Stuebner <heiko@sntech.de>
+Cc: Willy Tarreau <w@1wt.eu>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm/mach-rockchip/platsmp.c |    3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+--- a/arch/arm/mach-rockchip/platsmp.c
++++ b/arch/arm/mach-rockchip/platsmp.c
+@@ -151,8 +151,7 @@ static int rockchip_boot_secondary(unsig
+                * */
+               mdelay(1); /* ensure the cpus other than cpu0 to startup */
+-              writel(virt_to_phys(rockchip_secondary_startup),
+-                      sram_base_addr + 8);
++              writel(virt_to_phys(secondary_startup), sram_base_addr + 8);
+               writel(0xDEADBEAF, sram_base_addr + 4);
+               dsb_sev();
+       }
index 9d8ea1eebd6054347edaa385463bc39f86ad13b5..0f436895a703a7ab1bc0f880a3c32bf0796bc499 100644 (file)
@@ -118,3 +118,4 @@ hpfs-update-ctime-and-mtime-on-directory-modification.patch
 ocfs2-direct-write-will-call-ocfs2_rw_unlock-twice-when-doing-aio-dio.patch
 memory-hotplug-add-hot-added-memory-ranges-to-memblock-before-allocate-node_data-for-a-node.patch
 fs-create-and-use-seq_show_option-for-escaping.patch
+arm-rockchip-fix-broken-build.patch