Author: nbd
Date: 2015-09-02 11:26:22 +0200 (Wed, 02 Sep 2015)
New Revision: 46767

Added:
   
branches/chaos_calmer/target/linux/ramips/patches-3.18/0065-fix_dts_cache_issues.patch
Log:
ramips: fix devicetree corruption with some boot loaders if the caches are not 
ready at boot

Signed-off-by: John Crispin <[email protected]>

Backport of r46766

Added: 
branches/chaos_calmer/target/linux/ramips/patches-3.18/0065-fix_dts_cache_issues.patch
===================================================================
--- 
branches/chaos_calmer/target/linux/ramips/patches-3.18/0065-fix_dts_cache_issues.patch
                              (rev 0)
+++ 
branches/chaos_calmer/target/linux/ramips/patches-3.18/0065-fix_dts_cache_issues.patch
      2015-09-02 09:26:22 UTC (rev 46767)
@@ -0,0 +1,18 @@
+--- a/arch/mips/kernel/setup.c
++++ b/arch/mips/kernel/setup.c
+@@ -675,7 +675,6 @@
+                               crashk_res.end - crashk_res.start + 1,
+                               BOOTMEM_DEFAULT);
+ #endif
+-      device_tree_init();
+       sparse_init();
+       plat_swiotlb_setup();
+       paging_init();
+@@ -784,6 +783,7 @@
+       prefill_possible_map();
+ 
+       cpu_cache_init();
++      device_tree_init();
+ }
+ 
+ unsigned long kernelsp[NR_CPUS];
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to