Excerpts from Christophe Leroy's message of November 26, 2021 3:52 am: > CONFIG_PPC_MM_SLICES is always selected by hash book3s/64. > CONFIG_PPC_MM_SLICES is never selected by other platforms. > > Remove it. I guess there is some remnants of code/data to build 64s hash without slices. Maybe without any huge page support? I guess it's probably broken if it never =n, and not worth maintaining anyway? Reviewed-by: Nicholas Piggin <npiggin@xxxxxxxxx> > > Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx> > --- > arch/powerpc/include/asm/book3s/64/hash.h | 4 ++-- > arch/powerpc/include/asm/hugetlb.h | 2 +- > arch/powerpc/include/asm/paca.h | 7 ------- > arch/powerpc/include/asm/slice.h | 13 ++----------- > arch/powerpc/kernel/paca.c | 5 ----- > arch/powerpc/mm/book3s64/Makefile | 3 +-- > arch/powerpc/mm/book3s64/hash_utils.c | 14 -------------- > arch/powerpc/platforms/Kconfig.cputype | 4 ---- > 8 files changed, 6 insertions(+), 46 deletions(-)