debug: fail to show active cpu stacks [1/1]
authorJiamin Ma <jiamin.ma@amlogic.com>
Thu, 31 Jan 2019 08:41:15 +0000 (16:41 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 31 Jan 2019 09:04:08 +0000 (01:04 -0800)
commit879ae884b04ba97b656f0c0aff1b90aea92aa4b7
tree1b0e6ac9d64b088813460b6deb3bcaccdc700fbe
parent7ea990553810905626415cb69c663b1411907f78
debug: fail to show active cpu stacks [1/1]

PD#SWPL-4718

Problem:
The task stack address is not saved to irq_stack_ptr-0x08,
so when switching from irq stack to task stack, we can not
obtain the right task stack address

Solution:
save task stack address to irq_stack_ptr-0x08

Verify:
Locally on Ampere

Change-Id: I8ad9a45cee33681cc00de3a0bb264dbd9f1b859f
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
arch/arm64/kernel/entry.S