linux/arch/xtensa
Max Filippov 3799248733 xtensa: fix kernel register spilling
commit 77d6273e79 upstream.

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.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-09-21 10:05:42 -07:00
..
boot xtensa: xtfpga: add audio card to xtfpga DTS 2015-02-07 11:21:39 +03:00
configs xtensa: xtfpga: provide defconfig with audio subsystem 2015-02-07 12:52:12 +03:00
include xtensa: fix kernel register spilling 2015-09-21 10:05:42 -07:00
kernel xtensa: fix kernel register spilling 2015-09-21 10:05:42 -07: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-01-29 10:51:32 -08:00
oprofile xtensa: fix oprofile building as module 2013-05-09 01:07:09 -07:00
platforms Xtensa improvements for 4.1: 2015-04-14 04:47:53 +00:00
variants xtensa: remove s6000 variant and s6105 platform 2014-10-21 13:29:01 +04:00
Kconfig xtensa: xtfpga: fix hardware lockup caused by LCD driver 2015-02-27 07:55:29 +03:00
Kconfig.debug xtensa: disable link optimization 2014-12-15 23:47:24 -08:00
Makefile xtensa: remove s6000 variant and s6105 platform 2014-10-21 13:29:01 +04:00