]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/4k: Limit 4k page size config to 64TB virtual address space
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 1 Jun 2017 14:35:04 +0000 (20:05 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 8 Jun 2017 10:42:56 +0000 (20:42 +1000)
commit6302413ca3569cdcc79a44c2fe46c02272cdcda2
tree1fa68d2a4d3a5857040e388f2d514ef25222b050
parent93d86585ab6829c4109e8dd21f050572b5139b07
powerpc/mm/4k: Limit 4k page size config to 64TB virtual address space

Supporting 512TB requires us to do a order 3 allocation for level 1 page
table (pgd). This results in page allocation failures with certain workloads.
For now limit 4k linux page size config to 64TB.

Fixes: 455b298ea1b9 ("powerpc/mm/hash: Increase VA range to 128TB")
Reported-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/hash-4k.h
arch/powerpc/include/asm/processor.h
arch/powerpc/kernel/setup-common.c
arch/powerpc/mm/mmu_context_book3s64.c