From: Christophe Leroy Date: Thu, 22 Feb 2018 14:27:30 +0000 (+0100) Subject: powerpc/8xx: Increase number of slices to 64 X-Git-Tag: v5.15~9084^2~174 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4bd13772eeb2b9989789e8dbc183026867168db4;p=platform%2Fkernel%2Flinux-starfive.git powerpc/8xx: Increase number of slices to 64 On the 8xx, the minimum slice size is the size of the area covered by a single PMD entry, ie 4M in 4K pages mode and 64M in 16K pages mode. This patch increases the number of slices from 16 to 64 on the 8xx. Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/include/asm/nohash/32/slice.h b/arch/powerpc/include/asm/nohash/32/slice.h index 95d532e..777d62e 100644 --- a/arch/powerpc/include/asm/nohash/32/slice.h +++ b/arch/powerpc/include/asm/nohash/32/slice.h @@ -4,7 +4,7 @@ #ifdef CONFIG_PPC_MM_SLICES -#define SLICE_LOW_SHIFT 28 +#define SLICE_LOW_SHIFT 26 /* 64 slices */ #define SLICE_LOW_TOP (0x100000000ull) #define SLICE_NUM_LOW (SLICE_LOW_TOP >> SLICE_LOW_SHIFT) #define GET_LOW_SLICE_INDEX(addr) ((addr) >> SLICE_LOW_SHIFT)