linux-stable/arch/powerpc/platforms/embedded6xx
Christophe Leroy 39394decd8 powerpc/wii: properly disable use of BATs when requested.
commit 6d183ca8ba upstream.

'nobats' kernel parameter or some options like CONFIG_DEBUG_PAGEALLOC
deny the use of BATS for mapping memory.

This patch makes sure that the specific wii RAM mapping function
takes it into account as well.

Fixes: de32400dd2 ("wii: use both mem1 and mem2 as ram")
Cc: stable@vger.kernel.org
Reviewed-by: Jonathan Neuschafer <j.neuschaefer@gmx.net>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-23 14:35:26 +01:00
..
c2k.c powerpc: Get rid of ppc_md.init_early() 2016-07-21 19:07:26 +10:00
flipper-pic.c powerpc: Remove all usages of NO_IRQ 2016-09-20 20:57:12 +10:00
flipper-pic.h
gamecube.c powerpc: Get rid of ppc_md.init_early() 2016-07-21 19:07:26 +10:00
hlwd-pic.c powerpc/embedded6xx/hlwd-pic: Prevent interrupts from being handled by Starlet 2018-08-03 07:50:34 +02:00
hlwd-pic.h
holly.c powerpc: Add support for relative exception tables 2016-11-14 11:11:51 +11:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
linkstation.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
ls_uart.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpc10x.h powerpc32: remove ioremap_base 2016-03-11 17:18:02 -06:00
mpc7448_hpc2.c powerpc: Add support for relative exception tables 2016-11-14 11:11:51 +11:00
mvme5100.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
storcenter.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
usbgecko_udbg.c powerpc/gamecube/wii: delete unneeded test before of_node_put 2014-11-10 09:59:35 +11:00
usbgecko_udbg.h powerpc: gamecube/wii: early debugging using usbgecko 2009-12-12 22:24:31 -07:00
wii.c powerpc/wii: properly disable use of BATs when requested. 2019-03-23 14:35:26 +01:00