linux-stable/arch/csky/abiv1
Guo Ren eb2ac8c497 csky: Set regs->usp to kernel sp, when the exception is from kernel
[ Upstream commit f8e17c17b8 ]

In the past, we didn't care about kernel sp when saving pt_reg. But in some
cases, we still need pt_reg->usp to represent the kernel stack before enter
exception.

For cmpxhg in atomic.S, we need save and restore usp for above.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-03-12 13:00:16 +01:00
..
inc/abi csky: Set regs->usp to kernel sp, when the exception is from kernel 2020-03-12 13:00:16 +01:00
alignment.c csky: Support kernel non-aligned access 2019-08-20 20:15:44 +08:00
bswapdi.c csky: Library functions 2018-10-26 00:54:24 +08:00
bswapsi.c csky: Library functions 2018-10-26 00:54:24 +08:00
cacheflush.c csky: Fixup 610 vipt cache flush mechanism 2019-08-22 10:44:24 +08:00
Makefile csky: Fixup abiv1 memset error 2019-07-19 14:21:36 +08:00
memcpy.S csky: Library functions 2018-10-26 00:54:24 +08:00
mmap.c csky: Fixup arch_get_unmapped_area() implementation 2019-08-20 16:09:37 +08:00
strksyms.c csky: Fixup abiv1 memset error 2019-07-19 14:21:36 +08:00