diff options
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/patches/4.11.4/0001-sparc64.patch | 70 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/0001-sparc64-make-string-buffers-large-enough.patch | 41 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/coldfire-sighandler.patch (renamed from target/linux/patches/4.4.70/coldfire-sighandler.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/crisv32.patch (renamed from target/linux/patches/4.4.70/crisv32.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/crisv32_ethernet_driver.patch (renamed from target/linux/patches/4.4.70/crisv32_ethernet_driver.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/initramfs-nosizelimit.patch (renamed from target/linux/patches/4.4.70/initramfs-nosizelimit.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/ld-or1k.patch (renamed from target/linux/patches/4.4.70/ld-or1k.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/macsonic.patch (renamed from target/linux/patches/4.4.70/macsonic.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/mips-xz.patch (renamed from target/linux/patches/4.4.70/mips-xz.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/patch-realtime (renamed from target/linux/patches/4.4.70/patch-realtime) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/startup.patch (renamed from target/linux/patches/4.4.70/startup.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/use-libgcc-for-sh.patch (renamed from target/linux/patches/4.4.70/use-libgcc-for-sh.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.4.72/versatile-nommu.patch (renamed from target/linux/patches/4.4.70/versatile-nommu.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/0001-sparc64-make-string-buffers-large-enough.patch | 41 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/crisv32_ethernet_driver.patch (renamed from target/linux/patches/4.9.31/crisv32_ethernet_driver.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/h8300.patch (renamed from target/linux/patches/4.9.31/h8300.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/initramfs-nosizelimit.patch (renamed from target/linux/patches/4.9.31/initramfs-nosizelimit.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/ld-or1k.patch (renamed from target/linux/patches/4.9.31/ld-or1k.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/macsonic.patch (renamed from target/linux/patches/4.9.31/macsonic.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/microblaze-sigaltstack.patch (renamed from target/linux/patches/4.9.31/microblaze-sigaltstack.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/or1k-more-ram.patch (renamed from target/linux/patches/4.9.31/or1k-more-ram.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/patch-realtime (renamed from target/linux/patches/4.9.31/patch-realtime) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/sh2.patch (renamed from target/linux/patches/4.9.31/sh2.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/startup.patch (renamed from target/linux/patches/4.9.31/startup.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.32/vdso2.patch (renamed from target/linux/patches/4.9.31/vdso2.patch) | 0 |
25 files changed, 82 insertions, 70 deletions
diff --git a/target/linux/patches/4.11.4/0001-sparc64.patch b/target/linux/patches/4.11.4/0001-sparc64.patch deleted file mode 100644 index f75eb5a23..000000000 --- a/target/linux/patches/4.11.4/0001-sparc64.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 1b4af13ff2cc6897557bb0b8d9e2fad4fa4d67aa Mon Sep 17 00:00:00 2001 -From: "David S. Miller" <davem@davemloft.net> -Date: Mon, 5 Jun 2017 11:28:57 -0700 -Subject: [PATCH] sparc64: Add __multi3 for gcc 7.x and later. - -Reported-by: Waldemar Brodkorb <wbx@openadk.org> -Signed-off-by: David S. Miller <davem@davemloft.net> ---- - arch/sparc/lib/Makefile | 1 + - arch/sparc/lib/multi3.S | 35 +++++++++++++++++++++++++++++++++++ - 2 files changed, 36 insertions(+) - create mode 100644 arch/sparc/lib/multi3.S - -diff --git a/arch/sparc/lib/Makefile b/arch/sparc/lib/Makefile -index 69912d2..07c03e7 100644 ---- a/arch/sparc/lib/Makefile -+++ b/arch/sparc/lib/Makefile -@@ -15,6 +15,7 @@ lib-$(CONFIG_SPARC32) += copy_user.o locks.o - lib-$(CONFIG_SPARC64) += atomic_64.o - lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o - lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o -+lib-$(CONFIG_SPARC64) += multi3.o - - lib-$(CONFIG_SPARC64) += copy_page.o clear_page.o bzero.o - lib-$(CONFIG_SPARC64) += csum_copy.o csum_copy_from_user.o csum_copy_to_user.o -diff --git a/arch/sparc/lib/multi3.S b/arch/sparc/lib/multi3.S -new file mode 100644 -index 0000000..d6b6c97 ---- /dev/null -+++ b/arch/sparc/lib/multi3.S -@@ -0,0 +1,35 @@ -+#include <linux/linkage.h> -+#include <asm/export.h> -+ -+ .text -+ .align 4 -+ENTRY(__multi3) /* %o0 = u, %o1 = v */ -+ mov %o1, %g1 -+ srl %o3, 0, %g4 -+ mulx %g4, %g1, %o1 -+ srlx %g1, 0x20, %g3 -+ mulx %g3, %g4, %g5 -+ sllx %g5, 0x20, %o5 -+ srl %g1, 0, %g4 -+ sub %o1, %o5, %o5 -+ srlx %o5, 0x20, %o5 -+ addcc %g5, %o5, %g5 -+ srlx %o3, 0x20, %o5 -+ mulx %g4, %o5, %g4 -+ mulx %g3, %o5, %o5 -+ sethi %hi(0x80000000), %g3 -+ addcc %g5, %g4, %g5 -+ srlx %g5, 0x20, %g5 -+ add %g3, %g3, %g3 -+ movcc %xcc, %g0, %g3 -+ addcc %o5, %g5, %o5 -+ sllx %g4, 0x20, %g4 -+ add %o1, %g4, %o1 -+ add %o5, %g3, %g2 -+ mulx %g1, %o2, %g1 -+ add %g1, %g2, %g1 -+ mulx %o0, %o3, %o0 -+ retl -+ add %g1, %o0, %o0 -+ENDPROC(__multi3) -+EXPORT_SYMBOL(__multi3) --- -2.1.2.532.g19b5d50 - - diff --git a/target/linux/patches/4.4.72/0001-sparc64-make-string-buffers-large-enough.patch b/target/linux/patches/4.4.72/0001-sparc64-make-string-buffers-large-enough.patch new file mode 100644 index 000000000..2b1eaeedf --- /dev/null +++ b/target/linux/patches/4.4.72/0001-sparc64-make-string-buffers-large-enough.patch @@ -0,0 +1,41 @@ +From b5c3206190f1fddd100b3060eb15f0d775ffeab8 Mon Sep 17 00:00:00 2001 +From: Dan Carpenter <dan.carpenter@oracle.com> +Date: Fri, 25 Nov 2016 14:03:55 +0300 +Subject: [PATCH] sparc64: make string buffers large enough + +My static checker complains that if "lvl" is ULONG_MAX (this is 64 bit) +then some of the strings will overflow. I don't know if that's possible +but it seems simple enough to make the buffers slightly larger. + +Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> +Signed-off-by: David S. Miller <davem@davemloft.net> +Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> +--- + arch/sparc/kernel/traps_64.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/sparc/kernel/traps_64.c b/arch/sparc/kernel/traps_64.c +index 4094a51..496fa92 100644 +--- a/arch/sparc/kernel/traps_64.c ++++ b/arch/sparc/kernel/traps_64.c +@@ -85,7 +85,7 @@ static void dump_tl1_traplog(struct tl1_traplog *p) + + void bad_trap(struct pt_regs *regs, long lvl) + { +- char buffer[32]; ++ char buffer[36]; + siginfo_t info; + + if (notify_die(DIE_TRAP, "bad trap", regs, +@@ -116,7 +116,7 @@ void bad_trap(struct pt_regs *regs, long lvl) + + void bad_trap_tl1(struct pt_regs *regs, long lvl) + { +- char buffer[32]; ++ char buffer[36]; + + if (notify_die(DIE_TRAP_TL1, "bad trap tl1", regs, + 0, lvl, SIGTRAP) == NOTIFY_STOP) +-- +2.1.4 + diff --git a/target/linux/patches/4.4.70/coldfire-sighandler.patch b/target/linux/patches/4.4.72/coldfire-sighandler.patch index c52a4e228..c52a4e228 100644 --- a/target/linux/patches/4.4.70/coldfire-sighandler.patch +++ b/target/linux/patches/4.4.72/coldfire-sighandler.patch diff --git a/target/linux/patches/4.4.70/crisv32.patch b/target/linux/patches/4.4.72/crisv32.patch index cb9b0d028..cb9b0d028 100644 --- a/target/linux/patches/4.4.70/crisv32.patch +++ b/target/linux/patches/4.4.72/crisv32.patch diff --git a/target/linux/patches/4.4.70/crisv32_ethernet_driver.patch b/target/linux/patches/4.4.72/crisv32_ethernet_driver.patch index 0cef202fc..0cef202fc 100644 --- a/target/linux/patches/4.4.70/crisv32_ethernet_driver.patch +++ b/target/linux/patches/4.4.72/crisv32_ethernet_driver.patch diff --git a/target/linux/patches/4.4.70/initramfs-nosizelimit.patch b/target/linux/patches/4.4.72/initramfs-nosizelimit.patch index 40d2f6bd8..40d2f6bd8 100644 --- a/target/linux/patches/4.4.70/initramfs-nosizelimit.patch +++ b/target/linux/patches/4.4.72/initramfs-nosizelimit.patch diff --git a/target/linux/patches/4.4.70/ld-or1k.patch b/target/linux/patches/4.4.72/ld-or1k.patch index 264f9166f..264f9166f 100644 --- a/target/linux/patches/4.4.70/ld-or1k.patch +++ b/target/linux/patches/4.4.72/ld-or1k.patch diff --git a/target/linux/patches/4.4.70/macsonic.patch b/target/linux/patches/4.4.72/macsonic.patch index 75a6fcad2..75a6fcad2 100644 --- a/target/linux/patches/4.4.70/macsonic.patch +++ b/target/linux/patches/4.4.72/macsonic.patch diff --git a/target/linux/patches/4.4.70/mips-xz.patch b/target/linux/patches/4.4.72/mips-xz.patch index 5cfac6254..5cfac6254 100644 --- a/target/linux/patches/4.4.70/mips-xz.patch +++ b/target/linux/patches/4.4.72/mips-xz.patch diff --git a/target/linux/patches/4.4.70/patch-realtime b/target/linux/patches/4.4.72/patch-realtime index 1d870326c..1d870326c 100644 --- a/target/linux/patches/4.4.70/patch-realtime +++ b/target/linux/patches/4.4.72/patch-realtime diff --git a/target/linux/patches/4.4.70/startup.patch b/target/linux/patches/4.4.72/startup.patch index e54ac19a6..e54ac19a6 100644 --- a/target/linux/patches/4.4.70/startup.patch +++ b/target/linux/patches/4.4.72/startup.patch diff --git a/target/linux/patches/4.4.70/use-libgcc-for-sh.patch b/target/linux/patches/4.4.72/use-libgcc-for-sh.patch index 6420219b0..6420219b0 100644 --- a/target/linux/patches/4.4.70/use-libgcc-for-sh.patch +++ b/target/linux/patches/4.4.72/use-libgcc-for-sh.patch diff --git a/target/linux/patches/4.4.70/versatile-nommu.patch b/target/linux/patches/4.4.72/versatile-nommu.patch index 96140b30c..96140b30c 100644 --- a/target/linux/patches/4.4.70/versatile-nommu.patch +++ b/target/linux/patches/4.4.72/versatile-nommu.patch diff --git a/target/linux/patches/4.9.32/0001-sparc64-make-string-buffers-large-enough.patch b/target/linux/patches/4.9.32/0001-sparc64-make-string-buffers-large-enough.patch new file mode 100644 index 000000000..2b1eaeedf --- /dev/null +++ b/target/linux/patches/4.9.32/0001-sparc64-make-string-buffers-large-enough.patch @@ -0,0 +1,41 @@ +From b5c3206190f1fddd100b3060eb15f0d775ffeab8 Mon Sep 17 00:00:00 2001 +From: Dan Carpenter <dan.carpenter@oracle.com> +Date: Fri, 25 Nov 2016 14:03:55 +0300 +Subject: [PATCH] sparc64: make string buffers large enough + +My static checker complains that if "lvl" is ULONG_MAX (this is 64 bit) +then some of the strings will overflow. I don't know if that's possible +but it seems simple enough to make the buffers slightly larger. + +Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> +Signed-off-by: David S. Miller <davem@davemloft.net> +Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> +--- + arch/sparc/kernel/traps_64.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/sparc/kernel/traps_64.c b/arch/sparc/kernel/traps_64.c +index 4094a51..496fa92 100644 +--- a/arch/sparc/kernel/traps_64.c ++++ b/arch/sparc/kernel/traps_64.c +@@ -85,7 +85,7 @@ static void dump_tl1_traplog(struct tl1_traplog *p) + + void bad_trap(struct pt_regs *regs, long lvl) + { +- char buffer[32]; ++ char buffer[36]; + siginfo_t info; + + if (notify_die(DIE_TRAP, "bad trap", regs, +@@ -116,7 +116,7 @@ void bad_trap(struct pt_regs *regs, long lvl) + + void bad_trap_tl1(struct pt_regs *regs, long lvl) + { +- char buffer[32]; ++ char buffer[36]; + + if (notify_die(DIE_TRAP_TL1, "bad trap tl1", regs, + 0, lvl, SIGTRAP) == NOTIFY_STOP) +-- +2.1.4 + diff --git a/target/linux/patches/4.9.31/crisv32_ethernet_driver.patch b/target/linux/patches/4.9.32/crisv32_ethernet_driver.patch index 0cef202fc..0cef202fc 100644 --- a/target/linux/patches/4.9.31/crisv32_ethernet_driver.patch +++ b/target/linux/patches/4.9.32/crisv32_ethernet_driver.patch diff --git a/target/linux/patches/4.9.31/h8300.patch b/target/linux/patches/4.9.32/h8300.patch index a58b3f137..a58b3f137 100644 --- a/target/linux/patches/4.9.31/h8300.patch +++ b/target/linux/patches/4.9.32/h8300.patch diff --git a/target/linux/patches/4.9.31/initramfs-nosizelimit.patch b/target/linux/patches/4.9.32/initramfs-nosizelimit.patch index 40d2f6bd8..40d2f6bd8 100644 --- a/target/linux/patches/4.9.31/initramfs-nosizelimit.patch +++ b/target/linux/patches/4.9.32/initramfs-nosizelimit.patch diff --git a/target/linux/patches/4.9.31/ld-or1k.patch b/target/linux/patches/4.9.32/ld-or1k.patch index 264f9166f..264f9166f 100644 --- a/target/linux/patches/4.9.31/ld-or1k.patch +++ b/target/linux/patches/4.9.32/ld-or1k.patch diff --git a/target/linux/patches/4.9.31/macsonic.patch b/target/linux/patches/4.9.32/macsonic.patch index 75a6fcad2..75a6fcad2 100644 --- a/target/linux/patches/4.9.31/macsonic.patch +++ b/target/linux/patches/4.9.32/macsonic.patch diff --git a/target/linux/patches/4.9.31/microblaze-sigaltstack.patch b/target/linux/patches/4.9.32/microblaze-sigaltstack.patch index c4064e8b9..c4064e8b9 100644 --- a/target/linux/patches/4.9.31/microblaze-sigaltstack.patch +++ b/target/linux/patches/4.9.32/microblaze-sigaltstack.patch diff --git a/target/linux/patches/4.9.31/or1k-more-ram.patch b/target/linux/patches/4.9.32/or1k-more-ram.patch index de848c838..de848c838 100644 --- a/target/linux/patches/4.9.31/or1k-more-ram.patch +++ b/target/linux/patches/4.9.32/or1k-more-ram.patch diff --git a/target/linux/patches/4.9.31/patch-realtime b/target/linux/patches/4.9.32/patch-realtime index ab9028ddd..ab9028ddd 100644 --- a/target/linux/patches/4.9.31/patch-realtime +++ b/target/linux/patches/4.9.32/patch-realtime diff --git a/target/linux/patches/4.9.31/sh2.patch b/target/linux/patches/4.9.32/sh2.patch index 9debe80ad..9debe80ad 100644 --- a/target/linux/patches/4.9.31/sh2.patch +++ b/target/linux/patches/4.9.32/sh2.patch diff --git a/target/linux/patches/4.9.31/startup.patch b/target/linux/patches/4.9.32/startup.patch index e54ac19a6..e54ac19a6 100644 --- a/target/linux/patches/4.9.31/startup.patch +++ b/target/linux/patches/4.9.32/startup.patch diff --git a/target/linux/patches/4.9.31/vdso2.patch b/target/linux/patches/4.9.32/vdso2.patch index 35df488a8..35df488a8 100644 --- a/target/linux/patches/4.9.31/vdso2.patch +++ b/target/linux/patches/4.9.32/vdso2.patch |