Re: [RFC PATCH] powerpc/64s: CONFIG_PPC_HASH_MMU

2020-03-19 Thread Nicholas Piggin
Michael Ellerman's on March 19, 2020 2:15 pm: > Nicholas Piggin writes: >> This allows the 64s hash MMU code to be compiled out if radix is >> selected. This saves about 128kB kernel image size (90kB text) on >> powernv_defconfig minus KVM, 40kB on a tiny config. > > TBH my feelings are: > - the

Re: [RFC PATCH] powerpc/64s: CONFIG_PPC_HASH_MMU

2020-03-18 Thread Michael Ellerman
Nicholas Piggin writes: > This allows the 64s hash MMU code to be compiled out if radix is > selected. This saves about 128kB kernel image size (90kB text) on > powernv_defconfig minus KVM, 40kB on a tiny config. TBH my feelings are: - the size savings don't excite me much, given our kernels can

[RFC PATCH] powerpc/64s: CONFIG_PPC_HASH_MMU

2020-03-01 Thread Nicholas Piggin
This allows the 64s hash MMU code to be compiled out if radix is selected. This saves about 128kB kernel image size (90kB text) on powernv_defconfig minus KVM, 40kB on a tiny config. Signed-off-by: Nicholas Piggin --- arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm