aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2017-07-06 18:39:05 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-06 19:24:33 -0400
commitf7fb506fef6e8701bdb0ea7bb4f01148efd7416c (patch)
treed19a34aceec3bd6823ec53d60351abf852ff60f8
parent28c057160e8ae7538e5237744e6ec845d134975a (diff)
powerpc/hugetlb: enable hugetlb migration for ppc64
Link: http://lkml.kernel.org/r/1494926612-23928-10-git-send-email-aneesh.kumar@linux.vnet.ibm.com Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Cc: Anshuman Khandual <khandual@linux.vnet.ibm.com> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Mike Kravetz <kravetz@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/powerpc/platforms/Kconfig.cputype5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index 684e886eaae4..d5ea976509d7 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -350,6 +350,11 @@ config PPC_RADIX_MMU
350 is only implemented by IBM Power9 CPUs, if you don't have one of them 350 is only implemented by IBM Power9 CPUs, if you don't have one of them
351 you can probably disable this. 351 you can probably disable this.
352 352
353config ARCH_ENABLE_HUGEPAGE_MIGRATION
354 def_bool y
355 depends on PPC_BOOK3S_64 && HUGETLB_PAGE && MIGRATION
356
357
353config PPC_MMU_NOHASH 358config PPC_MMU_NOHASH
354 def_bool y 359 def_bool y
355 depends on !PPC_STD_MMU 360 depends on !PPC_STD_MMU