Re: [PATCH] powerpc/8xx: Fix permanently mapped IMMR region.

From: Christophe Leroy
Date: Tue Nov 19 2019 - 12:49:51 EST


Michael Ellerman <mpe@xxxxxxxxxxxxxx> a ÃcritÂ:

Christophe Leroy <christophe.leroy@xxxxxx> writes:
When not using large TLBs, the IMMR region is still
mapped as a whole block in the FIXMAP area.

Do not remove pages mapped in the FIXMAP region when
initialising paging.

Properly report that the IMMR region is block-mapped even
when not using large TLBs.

Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
---
arch/powerpc/mm/mem.c | 8 --------
arch/powerpc/mm/nohash/8xx.c | 13 +++++++------
2 files changed, 7 insertions(+), 14 deletions(-)

This blows up pmac32_defconfig + qemu mac99 for me with:

Ok, then there is still something I have not understood about fixmap. I'll look at it next week

Christophe