Skip to content

Commit 4168390

Browse files
committed
Merge tag 'powerpc-6.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fix from Michael Ellerman: - Reinstate ARCH_FORCE_MAX_ORDER ranges to fix various breakage * tag 'powerpc-6.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc/mm: Reinstate ARCH_FORCE_MAX_ORDER ranges
2 parents 4e893b5 + 358e526 commit 4168390

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/powerpc/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,11 +906,17 @@ config DATA_SHIFT
906906

907907
config ARCH_FORCE_MAX_ORDER
908908
int "Order of maximal physically contiguous allocations"
909+
range 7 8 if PPC64 && PPC_64K_PAGES
909910
default "8" if PPC64 && PPC_64K_PAGES
911+
range 12 12 if PPC64 && !PPC_64K_PAGES
910912
default "12" if PPC64 && !PPC_64K_PAGES
913+
range 8 10 if PPC32 && PPC_16K_PAGES
911914
default "8" if PPC32 && PPC_16K_PAGES
915+
range 6 10 if PPC32 && PPC_64K_PAGES
912916
default "6" if PPC32 && PPC_64K_PAGES
917+
range 4 10 if PPC32 && PPC_256K_PAGES
913918
default "4" if PPC32 && PPC_256K_PAGES
919+
range 10 10
914920
default "10"
915921
help
916922
The kernel page allocator limits the size of maximal physically

0 commit comments

Comments
 (0)