diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-03-17 21:41:07 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2016-03-17 21:41:07 +0000 |
commit | b3aae4c6722b164477726b9120c919739d5c47c7 (patch) | |
tree | 1b664b1bc381b1ac160aa7cabb7a616686dc60a9 /target/linux/generic/patches-4.4 | |
parent | 4d6c4994fc609ac40884631ced2d4e4127c8958e (diff) | |
download | upstream-b3aae4c6722b164477726b9120c919739d5c47c7.tar.gz upstream-b3aae4c6722b164477726b9120c919739d5c47c7.tar.bz2 upstream-b3aae4c6722b164477726b9120c919739d5c47c7.zip |
kernel: update kernel 4.4 to version 4.4.6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49032
Diffstat (limited to 'target/linux/generic/patches-4.4')
7 files changed, 7 insertions, 38 deletions
diff --git a/target/linux/generic/patches-4.4/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch b/target/linux/generic/patches-4.4/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch index 619a44b5ce..cb65ee360c 100644 --- a/target/linux/generic/patches-4.4/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch +++ b/target/linux/generic/patches-4.4/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch @@ -16,7 +16,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> # extract linker version number from stdin and turn into single number +exec awk ' { - gsub(".*)", ""); + gsub(".*\\)", ""); split($1,a, "."); print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5]; exit diff --git a/target/linux/generic/patches-4.4/103-MIPS-smp.c-Fix-uninitialised-temp_foreign_map.patch b/target/linux/generic/patches-4.4/103-MIPS-smp.c-Fix-uninitialised-temp_foreign_map.patch deleted file mode 100644 index 6fe9d96ccc..0000000000 --- a/target/linux/generic/patches-4.4/103-MIPS-smp.c-Fix-uninitialised-temp_foreign_map.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: James Hogan <james.hogan@imgtec.com> -Date: Fri, 4 Mar 2016 10:10:51 +0000 -Subject: [PATCH] MIPS: smp.c: Fix uninitialised temp_foreign_map - -When calculate_cpu_foreign_map() recalculates the cpu_foreign_map -cpumask it uses the local variable temp_foreign_map without initialising -it to zero. Since the calculation only ever sets bits in this cpumask -any existing bits at that memory location will remain set and find their -way into cpu_foreign_map too. This could potentially lead to cache -operations suboptimally doing smp calls to multiple VPEs in the same -core, even though the VPEs share primary caches. - -Therefore initialise temp_foreign_map using cpumask_clear() before use. - -Fixes: cccf34e9411c ("MIPS: c-r4k: Fix cache flushing for MT cores") -Signed-off-by: James Hogan <james.hogan@imgtec.com> -Cc: Ralf Baechle <ralf@linux-mips.org> -Cc: Paul Burton <paul.burton@imgtec.com> -Cc: linux-mips@linux-mips.org ---- - ---- a/arch/mips/kernel/smp.c -+++ b/arch/mips/kernel/smp.c -@@ -121,6 +121,7 @@ static inline void calculate_cpu_foreign - cpumask_t temp_foreign_map; - - /* Re-calculate the mask */ -+ cpumask_clear(&temp_foreign_map); - for_each_online_cpu(i) { - core_present = 0; - for_each_cpu(k, &temp_foreign_map) diff --git a/target/linux/generic/patches-4.4/111-jffs2-add-RENAME_EXCHANGE-support.patch b/target/linux/generic/patches-4.4/111-jffs2-add-RENAME_EXCHANGE-support.patch index f9d5261cad..d718885654 100644 --- a/target/linux/generic/patches-4.4/111-jffs2-add-RENAME_EXCHANGE-support.patch +++ b/target/linux/generic/patches-4.4/111-jffs2-add-RENAME_EXCHANGE-support.patch @@ -47,7 +47,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> else /* Unlink the original */ ret = jffs2_do_unlink(c, JFFS2_INODE_INFO(old_dir_i), -@@ -877,7 +883,7 @@ static int jffs2_rename (struct inode *o +@@ -882,7 +888,7 @@ static int jffs2_rename (struct inode *o return ret; } diff --git a/target/linux/generic/patches-4.4/204-module_strip.patch b/target/linux/generic/patches-4.4/204-module_strip.patch index b2a3230dbe..225fc6927e 100644 --- a/target/linux/generic/patches-4.4/204-module_strip.patch +++ b/target/linux/generic/patches-4.4/204-module_strip.patch @@ -109,7 +109,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> config MODULES_TREE_LOOKUP --- a/kernel/module.c +++ b/kernel/module.c -@@ -2840,6 +2840,7 @@ static struct module *setup_load_info(st +@@ -2859,6 +2859,7 @@ static struct module *setup_load_info(st static int check_modinfo(struct module *mod, struct load_info *info, int flags) { @@ -117,7 +117,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> const char *modmagic = get_modinfo(info, "vermagic"); int err; -@@ -2865,6 +2866,7 @@ static int check_modinfo(struct module * +@@ -2884,6 +2885,7 @@ static int check_modinfo(struct module * pr_warn("%s: module is from the staging directory, the quality " "is unknown, you have been warned.\n", mod->name); } diff --git a/target/linux/generic/patches-4.4/300-mips_expose_boot_raw.patch b/target/linux/generic/patches-4.4/300-mips_expose_boot_raw.patch index e6a0c9ce0a..cd7d28a2c9 100644 --- a/target/linux/generic/patches-4.4/300-mips_expose_boot_raw.patch +++ b/target/linux/generic/patches-4.4/300-mips_expose_boot_raw.patch @@ -18,7 +18,7 @@ Acked-by: Rob Landley <rob@landley.net> config CEVT_BCM1480 bool -@@ -2809,6 +2806,18 @@ choice +@@ -2810,6 +2807,18 @@ choice bool "Bootloader kernel arguments if available" endchoice diff --git a/target/linux/generic/patches-4.4/304-mips_disable_fpu.patch b/target/linux/generic/patches-4.4/304-mips_disable_fpu.patch index c8900c33e3..599e950ac8 100644 --- a/target/linux/generic/patches-4.4/304-mips_disable_fpu.patch +++ b/target/linux/generic/patches-4.4/304-mips_disable_fpu.patch @@ -26,7 +26,7 @@ v2: incorporated changes suggested by Jonas Gorski --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -2723,6 +2723,20 @@ config MIPS_O32_FP64_SUPPORT +@@ -2724,6 +2724,20 @@ config MIPS_O32_FP64_SUPPORT If unsure, say N. diff --git a/target/linux/generic/patches-4.4/532-jffs2_eofdetect.patch b/target/linux/generic/patches-4.4/532-jffs2_eofdetect.patch index 9cbe183138..8ce53d8bed 100644 --- a/target/linux/generic/patches-4.4/532-jffs2_eofdetect.patch +++ b/target/linux/generic/patches-4.4/532-jffs2_eofdetect.patch @@ -1,6 +1,6 @@ --- a/fs/jffs2/build.c +++ b/fs/jffs2/build.c -@@ -114,6 +114,16 @@ static int jffs2_build_filesystem(struct +@@ -116,6 +116,16 @@ static int jffs2_build_filesystem(struct dbg_fsbuild("scanned flash completely\n"); jffs2_dbg_dump_block_lists_nolock(c); |