]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop xtensa patch from older kernels
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Mar 2019 06:20:32 +0000 (07:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Mar 2019 06:20:32 +0000 (07:20 +0100)
queue-3.18/series
queue-3.18/xtensa-fix-get_wchan.patch [deleted file]
queue-4.4/series
queue-4.4/xtensa-fix-get_wchan.patch [deleted file]
queue-4.9/series
queue-4.9/xtensa-fix-get_wchan.patch [deleted file]

index 2d9771878eeda1458610dce44171b36807da839a..8147bd974cae50d26489768a1acfd82e25f7f282 100644 (file)
@@ -52,4 +52,3 @@ net-phy-micrel-ksz8061-link-failure-after-cable-connect.patch
 netlabel-fix-out-of-bounds-memory-accesses.patch
 ip6mr-do-not-call-__ip6_inc_stats-from-preemptible-context.patch
 hugetlbfs-fix-races-and-page-leaks-during-migration.patch
-xtensa-fix-get_wchan.patch
diff --git a/queue-3.18/xtensa-fix-get_wchan.patch b/queue-3.18/xtensa-fix-get_wchan.patch
deleted file mode 100644 (file)
index 240495f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From d90b88fd3653f1fb66ecc6571b860d5a5749fa56 Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Wed, 2 Jan 2019 01:08:32 -0800
-Subject: xtensa: fix get_wchan
-
-From: Max Filippov <jcmvbkbc@gmail.com>
-
-commit d90b88fd3653f1fb66ecc6571b860d5a5749fa56 upstream.
-
-Stack unwinding is implemented incorrectly in xtensa get_wchan: instead
-of extracting a0 and a1 registers from the spill location under the
-stack pointer it extracts a word pointed to by the stack pointer and
-subtracts 4 or 3 from it.
-
-Cc: stable@vger.kernel.org
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- arch/xtensa/kernel/process.c |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/arch/xtensa/kernel/process.c
-+++ b/arch/xtensa/kernel/process.c
-@@ -303,8 +303,8 @@ unsigned long get_wchan(struct task_stru
-               /* Stack layout: sp-4: ra, sp-3: sp' */
--              pc = MAKE_PC_FROM_RA(*(unsigned long*)sp - 4, sp);
--              sp = *(unsigned long *)sp - 3;
-+              pc = MAKE_PC_FROM_RA(SPILL_SLOT(sp, 0), sp);
-+              sp = SPILL_SLOT(sp, 1);
-       } while (count++ < 16);
-       return 0;
- }
index aa0a9cad419c8237c29abdd83064071a93a11c09..f420af318048e7f601f5139ea83825b7ba2b8212 100644 (file)
@@ -74,7 +74,6 @@ x86-cpu-amd-set-the-cpb-bit-unconditionally-on-f17h.patch
 applicom-fix-potential-spectre-v1-vulnerabilities.patch
 mips-irq-allocate-accurate-order-pages-for-irq-stack.patch
 hugetlbfs-fix-races-and-page-leaks-during-migration.patch
-xtensa-fix-get_wchan.patch
 netlabel-fix-out-of-bounds-memory-accesses.patch
 net-dsa-mv88e6xxx-fix-u64-statistics.patch
 ip6mr-do-not-call-__ip6_inc_stats-from-preemptible-context.patch
diff --git a/queue-4.4/xtensa-fix-get_wchan.patch b/queue-4.4/xtensa-fix-get_wchan.patch
deleted file mode 100644 (file)
index 16cafd9..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From d90b88fd3653f1fb66ecc6571b860d5a5749fa56 Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Wed, 2 Jan 2019 01:08:32 -0800
-Subject: xtensa: fix get_wchan
-
-From: Max Filippov <jcmvbkbc@gmail.com>
-
-commit d90b88fd3653f1fb66ecc6571b860d5a5749fa56 upstream.
-
-Stack unwinding is implemented incorrectly in xtensa get_wchan: instead
-of extracting a0 and a1 registers from the spill location under the
-stack pointer it extracts a word pointed to by the stack pointer and
-subtracts 4 or 3 from it.
-
-Cc: stable@vger.kernel.org
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- arch/xtensa/kernel/process.c |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/arch/xtensa/kernel/process.c
-+++ b/arch/xtensa/kernel/process.c
-@@ -306,8 +306,8 @@ unsigned long get_wchan(struct task_stru
-               /* Stack layout: sp-4: ra, sp-3: sp' */
--              pc = MAKE_PC_FROM_RA(*(unsigned long*)sp - 4, sp);
--              sp = *(unsigned long *)sp - 3;
-+              pc = MAKE_PC_FROM_RA(SPILL_SLOT(sp, 0), sp);
-+              sp = SPILL_SLOT(sp, 1);
-       } while (count++ < 16);
-       return 0;
- }
index 4d0a8afdd6d576a25ee3efc1b99012329286eb07..abb83734fd7819cdb8e9b555a673c4051e683422 100644 (file)
@@ -29,5 +29,4 @@ x86-cpu-amd-set-the-cpb-bit-unconditionally-on-f17h.patch
 applicom-fix-potential-spectre-v1-vulnerabilities.patch
 mips-irq-allocate-accurate-order-pages-for-irq-stack.patch
 hugetlbfs-fix-races-and-page-leaks-during-migration.patch
-xtensa-fix-get_wchan.patch
 exec-fix-mem-leak-in-kernel_read_file.patch
diff --git a/queue-4.9/xtensa-fix-get_wchan.patch b/queue-4.9/xtensa-fix-get_wchan.patch
deleted file mode 100644 (file)
index 9c88358..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From d90b88fd3653f1fb66ecc6571b860d5a5749fa56 Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Wed, 2 Jan 2019 01:08:32 -0800
-Subject: xtensa: fix get_wchan
-
-From: Max Filippov <jcmvbkbc@gmail.com>
-
-commit d90b88fd3653f1fb66ecc6571b860d5a5749fa56 upstream.
-
-Stack unwinding is implemented incorrectly in xtensa get_wchan: instead
-of extracting a0 and a1 registers from the spill location under the
-stack pointer it extracts a word pointed to by the stack pointer and
-subtracts 4 or 3 from it.
-
-Cc: stable@vger.kernel.org
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- arch/xtensa/kernel/process.c |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/arch/xtensa/kernel/process.c
-+++ b/arch/xtensa/kernel/process.c
-@@ -311,8 +311,8 @@ unsigned long get_wchan(struct task_stru
-               /* Stack layout: sp-4: ra, sp-3: sp' */
--              pc = MAKE_PC_FROM_RA(*(unsigned long*)sp - 4, sp);
--              sp = *(unsigned long *)sp - 3;
-+              pc = MAKE_PC_FROM_RA(SPILL_SLOT(sp, 0), sp);
-+              sp = SPILL_SLOT(sp, 1);
-       } while (count++ < 16);
-       return 0;
- }