linux/arch/xtensa
Max Filippov 0773495b1f xtensa: make sure bFLT stack is 16 byte aligned
Xtensa ABI requires stack alignment to be at least 16. In noMMU
configuration ARCH_SLAB_MINALIGN is used to align stack. Make it at
least 16.

This fixes the following runtime error in noMMU configuration, caused by
interaction between insufficiently aligned stack and alloca function,
that results in corruption of on-stack variable in the libc function
glob:

 Caught unhandled exception in 'sh' (pid = 47, pc = 0x02d05d65)
  - should not happen
  EXCCAUSE is 15

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2018-11-05 14:49:04 -08:00
..
boot Kbuild updates for v4.19 (2nd) 2018-08-25 13:40:38 -07:00
configs xtensa: drop unused {CONFIG,PLATFORM}_DEFAULT_MEM_SIZE 2018-08-20 12:27:52 -07:00
include xtensa: make sure bFLT stack is 16 byte aligned 2018-11-05 14:49:04 -08:00
kernel Xtensa improvements for v4.19: 2018-08-22 14:04:41 -07:00
lib xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
mm mm: convert return type of handle_mm_fault() caller to vm_fault_t 2018-08-17 16:20:28 -07:00
oprofile
platforms xtensa: ISS: don't allocate memory in platform_setup 2018-09-06 11:29:31 -07:00
variants xtensa: add test_kc705_be variant 2018-08-20 12:34:45 -07:00
Kconfig xtensa: enable SG chaining in Kconfig 2018-09-11 22:12:59 -07:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile xtensa: remove unnecessary KBUILD_SRC ifeq conditional 2018-09-11 22:09:48 -07:00