Re: [PATCH v2 2/2] powerpc/8xx: Map a second 8M text page at startup when needed.

2019-02-13 Thread Christophe Leroy
Le 21/01/2019 à 12:34, Christophe Leroy a écrit : Some debug setup like CONFIG_KASAN generate huge kernels with text size over the 8M limit. This patch maps a second 8M page when _einittext is over 8M. This is not enough for CONFIG_KASAN_INLINE. I'll send a v3 which maps up to 32M based on

[PATCH v2 2/2] powerpc/8xx: Map a second 8M text page at startup when needed.

2019-01-21 Thread Christophe Leroy
Some debug setup like CONFIG_KASAN generate huge kernels with text size over the 8M limit. This patch maps a second 8M page when _einittext is over 8M. Signed-off-by: Christophe Leroy --- v2: Using IS_ENABLED() instead of #ifdef in 8xx_mmu.c arch/powerpc/kernel/head_8xx.S | 27 +++