]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: fw: arc: use call_o32 to call ARC prom from 64bit kernel
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Wed, 9 Oct 2019 13:27:13 +0000 (15:27 +0200)
committerPaul Burton <paul.burton@mips.com>
Wed, 9 Oct 2019 21:55:51 +0000 (14:55 -0700)
commitdd7112c436c417843e429e3b850a0e4438a544de
treed1ac7ada8ae5ba26fedeaa267ca0a02dc07dd4f3
parent4f369e539cd8bf5b2f26cc7a12d0502e7d1a43e2
MIPS: fw: arc: use call_o32 to call ARC prom from 64bit kernel

When using a 64bit kernel with generic spaces setup stack is
also placed in XKPYHS, which the 32bit PROM can't handle.
By using call_o32 for ARC_CALLs a stack placed in KSEG0 is used
when calling PROM.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/fw/arc/init.c
arch/mips/include/asm/sgiarcs.h