Re: [PATCH] powerpc/8xx: use the fixmapped IMMR in cpm_reset()

2019-11-25 Thread Michael Ellerman
On Thu, 2019-09-12 at 13:29:07 UTC, Christophe Leroy wrote: > Since commit f86ef74ed919 ("powerpc/8xx: Fix vaddr for IMMR early > remap"), the IMMR area has been mapped at startup with fixmap. > > Use that fixmap directly instead of calling ioremap(), this > avoids calling ioremap() early before

[PATCH] powerpc/8xx: use the fixmapped IMMR in cpm_reset()

2019-09-12 Thread Christophe Leroy
Since commit f86ef74ed919 ("powerpc/8xx: Fix vaddr for IMMR early remap"), the IMMR area has been mapped at startup with fixmap. Use that fixmap directly instead of calling ioremap(), this avoids calling ioremap() early before the slab is available. Signed-off-by: Christophe Leroy ---