1
0
Files
linux/arch/mips/include/asm
Matt Redfearn 5fdc66e046 MIPS: Fix minimum alignment requirement of IRQ stack
Commit db8466c581 ("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: db8466c581 ("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>
2017-07-11 14:13:06 +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
2014-01-22 20:19:02 +01:00
2017-03-28 16:43:25 -04:00
2015-11-12 11:35:47 +01:00
2017-06-28 12:22:39 +02:00
2017-07-05 14:06:44 +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-05-28 12:35:06 +02:00
2017-06-29 02:42:26 +02:00
2015-09-03 12:08:05 +02:00
2016-05-28 12:35:07 +02:00
2017-06-08 14:51:58 +02:00
2016-10-04 16:13:57 +02:00
2017-03-28 16:43:25 -04: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-01-03 16:34:44 +01:00
2017-01-03 16:34:42 +01:00
2017-07-11 14:13:06 +02:00
2017-04-06 02:08:09 -04:00
2017-06-28 12:22:39 +02:00
2013-09-18 17:13:58 +02:00
2016-05-09 12:00:02 +02:00