]> 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)
commit675d12fdc7c777b209d18fbcaa7dc28f574dad88
treed1ac7ada8ae5ba26fedeaa267ca0a02dc07dd4f3
parentea4a8089b25fee9d331b91b89bfeefe80420ae65
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