Files
linux/arch/mips/include/asm
Matt Redfearn 0054c0bca3 MIPS: Fix minimum alignment requirement of IRQ stack
commit 5fdc66e046206306bf61ff2d626bfa52ca087f7b upstream.

Commit db8466c581cc ("MIPS: IRQ Stack: Unwind IRQ stack onto task
stack") erroneously set the initial stack pointer of the IRQ stack to a
value with a 4 byte alignment. The MIPS32 ABI requires that the minimum
stack alignment is 8 byte, and the MIPS64 ABIs(n32/n64) require 16 byte
minimum alignment. Fix IRQ_STACK_START such that it leaves space for the
dummy stack frame (containing interrupted task kernel stack pointer)
while also meeting minimum alignment requirements.

Fixes: db8466c581cc ("MIPS: IRQ Stack: Unwind IRQ stack onto task stack")
Reported-by: Darius Ivanauskas <dasilt@yahoo.com>
Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Aaron Tomlin <atomlin@redhat.com>
Cc: Jason A. Donenfeld <jason@zx2c4.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/16760/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-21 17:21:33 +02:00
..
2016-05-28 12:35:06 +02:00
2015-06-21 21:52:44 +02:00
2014-08-26 02:18:58 +02:00
2016-05-28 12:35:07 +02:00
2016-04-03 12:32:09 +02:00
2016-05-28 12:35:08 +02:00
2016-04-03 12:32:09 +02:00
2015-11-11 08:36:36 +01:00
2014-01-22 20:19:02 +01:00
2015-05-13 10:55:42 +02:00
2015-11-12 11:35:47 +01:00
2016-10-04 16:13:57 +02:00
2015-05-28 15:31:53 +02:00
2014-08-26 02:18:56 +02:00
2014-05-24 00:07:01 +02:00
2016-02-01 23:36:38 +01:00
2016-05-28 12:35:06 +02:00
2016-05-13 14:01:58 +02:00
2015-09-03 12:08:05 +02:00
2016-05-28 12:35:07 +02:00
2016-10-04 16:13:57 +02:00
2014-08-02 00:06:38 +02:00
2014-01-22 20:19:02 +01:00
2016-04-03 12:32:09 +02:00
2017-04-12 12:41:14 +02:00
2015-09-03 12:08:05 +02:00
2016-07-05 16:08:35 +02:00
2016-05-09 12:00:02 +02:00