Re: [PATCH] soc: fsl/qe: fix Oops on CPM1 (and likely CPM2)

2016-08-11 Thread Christophe Leroy
Le 12/08/2016 à 01:29, Scott Wood a écrit : On Mon, 2016-08-08 at 18:08 +0200, Christophe Leroy wrote: Commit 0e6e01ff694ee ("CPM/QE: use genalloc to manage CPM/QE muram") has changed the way muram is managed. genalloc uses kmalloc(), hence requires the SLAB to be up and running. On powerpc 8

Re: [PATCH] soc: fsl/qe: fix Oops on CPM1 (and likely CPM2)

2016-08-11 Thread Scott Wood
On Mon, 2016-08-08 at 18:08 +0200, Christophe Leroy wrote: > Commit 0e6e01ff694ee ("CPM/QE: use genalloc to manage CPM/QE muram") > has changed the way muram is managed. > genalloc uses kmalloc(), hence requires the SLAB to be up and running. > > On powerpc 8xx, cpm_reset() is called early during

[PATCH] soc: fsl/qe: fix Oops on CPM1 (and likely CPM2)

2016-08-08 Thread Christophe Leroy
Commit 0e6e01ff694ee ("CPM/QE: use genalloc to manage CPM/QE muram") has changed the way muram is managed. genalloc uses kmalloc(), hence requires the SLAB to be up and running. On powerpc 8xx, cpm_reset() is called early during startup. cpm_reset() then calls cpm_muram_init() before SLAB is avail