linux/arch/xtensa
Max Filippov ab0a85f0cb xtensa: fix kernel register spilling
[ Upstream commit 77d6273e79 ]

call12 can't be safely used as the first call in the inline function,
because the compiler does not extend the stack frame of the bounding
function accordingly, which may result in corruption of local variables.

If a call needs to be done, do call8 first followed by call12.

For pure assembly code in _switch_to increase stack frame size of the
bounding function.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-10-27 22:14:47 -04:00
..
boot xtensa: xtfpga: add lx200 SMP DTS and defconfig 2014-10-21 13:28:43 +04:00
configs xtensa: xtfpga: add lx200 SMP DTS and defconfig 2014-10-21 13:28:43 +04:00
include xtensa: fix kernel register spilling 2015-10-27 22:14:47 -04:00
kernel xtensa: fix kernel register spilling 2015-10-27 22:14:47 -04:00
lib xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
mm vm: add VM_FAULT_SIGSEGV handling support 2015-02-05 22:36:01 -08:00
oprofile xtensa: fix oprofile building as module 2013-05-09 01:07:09 -07:00
platforms xtensa: ISS: fix locking in TAP network adapter 2015-05-17 19:12:17 -04:00
variants xtensa: fsf: drop nonexistent GPIO32 support 2014-02-21 21:33:40 +04:00
Kconfig xtensa: xtfpga: fix hardware lockup caused by LCD driver 2015-06-28 13:39:15 -04:00
Kconfig.debug xtensa: check TLB sanity on return to userspace 2013-07-08 01:18:56 -07:00
Makefile xtensa: simplify addition of new core variants 2014-08-14 11:59:08 +04:00