diff --git a/debian/patches/bugfix/mips/MIPS-O32-32-bit-Fix-bug-which-can-cause-incorrect-sy.patch b/debian/patches/bugfix/mips/MIPS-O32-32-bit-Fix-bug-which-can-cause-incorrect-sy.patch index fa1c65377..e15ce085a 100644 --- a/debian/patches/bugfix/mips/MIPS-O32-32-bit-Fix-bug-which-can-cause-incorrect-sy.patch +++ b/debian/patches/bugfix/mips/MIPS-O32-32-bit-Fix-bug-which-can-cause-incorrect-sy.patch @@ -2,7 +2,7 @@ From: Alex Smith Date: Wed, 23 Jul 2014 14:40:11 +0100 Subject: MIPS: O32/32-bit: Fix bug which can cause incorrect system call restarts -Origin: http://www.linux-mips.org/archives/linux-mips/2014-07/msg00548.html +Origin: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=0ae0fe30fc3415727960270bd8fd61aea4c8a882 On 32-bit/O32, pt_regs has a padding area at the beginning into which the syscall arguments passed via the user stack are copied. 4 arguments diff --git a/debian/patches/bugfix/mips/MIPS-OCTEON-make-get_system_type-thread-safe.patch b/debian/patches/bugfix/mips/MIPS-OCTEON-make-get_system_type-thread-safe.patch index 4b80e6ded..ae6514660 100644 --- a/debian/patches/bugfix/mips/MIPS-OCTEON-make-get_system_type-thread-safe.patch +++ b/debian/patches/bugfix/mips/MIPS-OCTEON-make-get_system_type-thread-safe.patch @@ -1,7 +1,7 @@ From: Aaro Koskinen Date: Tue, 22 Jul 2014 14:51:08 +0300 Subject: MIPS: OCTEON: make get_system_type() thread-safe -Origin: https://git.kernel.org/cgit/linux/kernel/git/jhogan/mips.git/commit?id=726d129dfdc9622197a8c3f5947ce09c1a4c935e +Origin: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=726d129dfdc9622197a8c3f5947ce09c1a4c935e get_system_type() is not thread-safe on OCTEON. It uses static data, also more dangerous issue is that it's calling cvmx_fuse_read_byte() diff --git a/debian/patches/bugfix/mips/MIPS-prevent-user-from-setting-FCSR-cause-bits.patch b/debian/patches/bugfix/mips/MIPS-prevent-user-from-setting-FCSR-cause-bits.patch index 2d58817ea..52a2c4eef 100644 --- a/debian/patches/bugfix/mips/MIPS-prevent-user-from-setting-FCSR-cause-bits.patch +++ b/debian/patches/bugfix/mips/MIPS-prevent-user-from-setting-FCSR-cause-bits.patch @@ -1,7 +1,7 @@ From: Paul Burton Date: Tue, 22 Jul 2014 14:21:21 +0100 Subject: MIPS: prevent user from setting FCSR cause bits -Origin: https://git.kernel.org/cgit/linux/kernel/git/jhogan/mips.git/commit?id=07d8a26cb44dbbbea721da0fd0b7f79ffffe7ab7 +Origin: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=b1442d39fac2fcfbe6a4814979020e993ca59c9e If one or more matching FCSR cause & enable bits are set in saved thread context then when that context is restored the kernel will take an FP diff --git a/debian/patches/bugfix/mips/MIPS-tlbex-fix-a-missing-statement-for-HUGETLB.patch b/debian/patches/bugfix/mips/MIPS-tlbex-fix-a-missing-statement-for-HUGETLB.patch index 3dea9be9d..46cd961b9 100644 --- a/debian/patches/bugfix/mips/MIPS-tlbex-fix-a-missing-statement-for-HUGETLB.patch +++ b/debian/patches/bugfix/mips/MIPS-tlbex-fix-a-missing-statement-for-HUGETLB.patch @@ -1,7 +1,7 @@ From: Huacai Chen Date: Tue, 29 Jul 2014 14:54:40 +0800 Subject: MIPS: tlbex: fix a missing statement for HUGETLB -Origin: http://www.linux-mips.org/archives/linux-mips/2014-07/msg00797.html +Origin: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=8393c524a25609a30129e4a8975cf3b91f6c16a5 In commit 2c8c53e28f1 (MIPS: Optimize TLB handlers for Octeon CPUs) build_r4000_tlb_refill_handler() is modified. But it doesn't compatible