csky: Fixup abiv2 syscall_trace break a4 & a5
authorGuo Ren <guoren@linux.alibaba.com>
Sun, 24 May 2020 10:44:38 +0000 (10:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jun 2020 14:41:50 +0000 (16:41 +0200)
commit3a5837c692918c229baf63fe7950965d27c48ac2
treea46d655142994491bf36763eb98e4d15b25d05d2
parent73fc7a40af3944f3b770985e9250e8bd7108beca
csky: Fixup abiv2 syscall_trace break a4 & a5

[ Upstream commit e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 ]

Current implementation could destory a4 & a5 when strace, so we need to get them
from pt_regs by SAVE_ALL.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/csky/abiv2/inc/abi/entry.h
arch/csky/kernel/entry.S