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)
commitce6c0a593b3cbeb35269c701fc90fc491dc3a348
treed1ac7ada8ae5ba26fedeaa267ca0a02dc07dd4f3
parentd11646b5ce930c4d5e933c4d97db5a06a67a211b
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