Re: [RESENDING PATCH] powerpc/wii: properly disable use of BATs when requested.

2019-01-17 Thread Jonathan Neuschäfer
On Thu, Jan 17, 2019 at 11:29:06AM +0100, Christophe Leroy wrote: [...] > > > /* MEM2 64MB@0x1000 */ > > > delta = wii_hole_start + wii_hole_size; > > > + if (__map_without_bats) > > > + return delta; > > > + > > > > Nothing is visibly broken without this patch,

Re: [RESENDING PATCH] powerpc/wii: properly disable use of BATs when requested.

2019-01-17 Thread Christophe Leroy
Le 17/01/2019 à 02:05, Jonathan Neuschäfer a écrit : Hi again, On Tue, Jan 15, 2019 at 04:43:20PM +, Christophe Leroy wrote: '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

Re: [RESENDING PATCH] powerpc/wii: properly disable use of BATs when requested.

2019-01-16 Thread Jonathan Neuschäfer
Hi again, On Tue, Jan 15, 2019 at 04:43:20PM +, Christophe Leroy wrote: > '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. >

[RESENDING PATCH] powerpc/wii: properly disable use of BATs when requested.

2019-01-15 Thread Christophe Leroy
'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: de32400dd26e ("wii: use both mem1 and mem2 as ram") Cc: sta...@vger.kernel.org