OSDN Git Service

powerpc/book3s64/kuap: Move Kconfig varriables to BOOK3S_64
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 18 Mar 2021 03:48:29 +0000 (09:18 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Mar 2021 02:22:15 +0000 (13:22 +1100)
With below two commits:
commit c91435d95c49 ("powerpc/book3s64/hash/kuep: Enable KUEP on hash")
commit b2ff33a10c8b ("powerpc/book3s64/hash/kuap: Enable kuap on hash")
the kernel now supports kuap/kuep with hash translation. Hence select the
Kconfig even when radix is disabled.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210318034829.72255-1-aneesh.kumar@linux.ibm.com
arch/powerpc/platforms/Kconfig.cputype

index 3ce9075..9240743 100644 (file)
@@ -101,6 +101,8 @@ config PPC_BOOK3S_64
        select ARCH_SUPPORTS_NUMA_BALANCING
        select IRQ_WORK
        select PPC_MM_SLICES
+       select PPC_HAVE_KUEP
+       select PPC_HAVE_KUAP
 
 config PPC_BOOK3E_64
        bool "Embedded processors"
@@ -363,8 +365,6 @@ config PPC_RADIX_MMU
        bool "Radix MMU Support"
        depends on PPC_BOOK3S_64
        select ARCH_HAS_GIGANTIC_PAGE
-       select PPC_HAVE_KUEP
-       select PPC_HAVE_KUAP
        default y
        help
          Enable support for the Power ISA 3.0 Radix style MMU. Currently this