linux/arch/xtensa/include/asm
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
..
asm-offsets.h
asm-uaccess.h uaccess: move VERIFY_{READ,WRITE} definitions to linux/uaccess.h 2017-03-05 20:40:25 -05:00
asmmacro.h xtensa: clean up word alignment macros in assembly code 2017-12-10 14:48:53 -08:00
atomic.h atomics/treewide: Make unconditional inc/dec ops optional 2018-06-21 14:25:24 +02:00
barrier.h xtensa: define __smp_xxx 2016-01-12 20:46:58 +02:00
bitops.h xtensa: fix __ffs result type 2016-07-24 06:33:29 +03:00
bootparam.h xtensa: split bootparam and kernel meminfo 2014-04-02 01:35:51 +04:00
bugs.h
cache.h
cacheasm.h xtensa: increase ranges in ___invalidate_{i,d}cache_all 2018-08-13 20:08:01 -07:00
cacheflush.h docs: Fix some broken references 2018-06-15 18:10:01 -03:00
checksum.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
cmpxchg.h xtensa: implement fake NMI 2015-08-17 07:33:39 +03:00
coprocessor.h
current.h xtensa: consolidate kernel stack size related definitions 2017-12-10 14:48:55 -08:00
delay.h xtensa: implement ndelay 2014-01-15 00:28:11 +04:00
dma.h
elf.h
fixmap.h xtensa: move fixmap and kmap just above the KSEG 2017-12-16 22:37:12 -08:00
flat.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ftrace.h ftrace: Make CALLER_ADDRx macros more generic 2014-05-21 03:10:32 -04:00
futex.h xtensa: fix futex_atomic_cmpxchg_inatomic 2018-01-05 15:55:59 -08:00
highmem.h xtensa: move fixmap and kmap just above the KSEG 2017-12-16 22:37:12 -08:00
hw_breakpoint.h perf/hw_breakpoint: Remove default hw_breakpoint_arch_parse() 2018-06-26 09:07:58 +02:00
hw_irq.h
initialize_mmu.h xtensa: rework noMMU cache attributes initialization 2018-08-13 20:08:19 -07:00
io.h xtensa: add ioremap_nocache declaration before include asm-generic/io.h. 2018-02-22 10:44:30 +08:00
irq.h xtensa: drop variant IRQ support 2018-08-20 12:28:05 -07:00
irqflags.h xtensa: support hardware breakpoints/watchpoints 2016-03-11 08:53:32 +00:00
kasan.h xtensa: fix build with KASAN 2018-02-11 09:18:12 -08:00
Kbuild xtensa: use generic dma_noncoherent_ops 2018-07-11 11:10:21 -07:00
kmem_layout.h xtensa: platform-specific handling of coherent memory 2018-07-11 15:59:41 -07:00
linkage.h xtensa: clean up functions in assembly code 2017-12-10 14:48:54 -08:00
mmu_context.h xtensa: extract init_kio 2017-12-16 22:37:10 -08:00
mmu.h xtensa: add SMP support 2014-01-14 10:19:58 -08:00
module.h
mxregs.h xtensa: add MX irqchip 2014-01-14 10:19:58 -08:00
nommu_context.h xtensa: extract init_kio 2017-12-16 22:37:10 -08:00
page.h xtensa: rework {CONFIG,PLATFORM}_DEFAULT_MEM_START 2018-08-20 12:28:03 -07:00
pci-bridge.h
pci.h pci-v4.18-changes 2018-06-07 12:45:58 -07:00
perf_event.h xtensa: enable HAVE_PERF_EVENTS 2014-01-15 00:27:03 +04:00
pgalloc.h tree wide: get rid of __GFP_REPEAT for order-0 allocations part I 2016-06-24 17:23:52 -07:00
pgtable.h xtensa: platform-specific handling of coherent memory 2018-07-11 15:59:41 -07:00
platform.h xtensa: platform-specific handling of coherent memory 2018-07-11 15:59:41 -07:00
processor.h xtensa: make sure bFLT stack is 16 byte aligned 2018-11-05 14:49:04 -08:00
ptrace.h xtensa: clean up exception handling structure 2017-12-16 22:37:09 -08:00
regs.h xtensa: clean up exception handling structure 2017-12-16 22:37:09 -08:00
segment.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
serial.h
shmparam.h
signal.h
smp.h xtensa: implement CPU hotplug 2014-01-14 10:19:59 -08:00
spinlock_types.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spinlock.h locking/arch: Remove dummy arch_{read,spin,write}_lock_flags() implementations 2017-10-10 11:50:19 +02:00
stackprotector.h xtensa: enable stack protector 2017-12-16 22:37:07 -08:00
stacktrace.h xtensa: move oprofile stack tracing to stacktrace.c 2015-08-17 07:32:49 +03:00
string.h xtensa: shut up gcc-8 warnings 2018-01-02 03:25:41 -08:00
switch_to.h
syscall.h
sysmem.h xtensa: drop sysmem and switch to memblock 2016-07-24 06:34:00 +03:00
thread_info.h Xtensa improvements for v4.16: 2018-01-29 16:40:28 -08:00
timex.h xtensa: use XTENSA_INT_LEVEL macro in asm/timex.h 2016-01-11 17:32:40 +03:00
tlb.h
tlbflush.h xtensa: optimize local_flush_tlb_kernel_range 2014-04-06 21:29:17 +04:00
traps.h xtensa: implement early_trap_init 2017-12-16 22:37:09 -08:00
types.h
uaccess.h xtensa: use generic strncpy_from_user with KASAN 2017-12-17 15:34:57 -08:00
ucontext.h
unaligned.h
unistd.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
user.h
vectors.h xtensa: drop unneeded platform/hardware.h headers 2018-08-20 12:28:04 -07:00
vga.h