mm: fix crash in vmap stack [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Mon, 28 Oct 2019 09:22:50 +0000 (17:22 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 4 Nov 2019 06:05:07 +0000 (23:05 -0700)
commitb183f51456f22526101fdac36bf3ac8a2e6a130a
tree8feb12aedd565dcf5968f87fc5912335daf7c763
parenta8b8b96e53a43b0ca150f941bd0deefbc656d0d4
mm: fix crash in vmap stack [1/1]

PD#SWPL-12145

Problem:
When switch IRQ stack, there is a 16 bytes miss match of irq
stack. This may cause context not match some times;

Solution:
Save sp to right place

Verify:
X301

Change-Id: I75dfa5208cb3cec050c1568ac78ae2e783ca106b
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
arch/arm/kernel/entry-armv.S
arch/arm/kernel/unwind.c
drivers/amlogic/memory_ext/vmap_stack.c