[PATCH] powerpc/book3s64/kuap: Move Kconfig varriables to BOOK3S_64

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE1981d LANDED

Landed in mainline as 8b8adeb3007f on 2021-03-29.

2 messages, 2 authors, 2021-03-31 · open the first message on its own page

[PATCH] powerpc/book3s64/kuap: Move Kconfig varriables to BOOK3S_64

From: Aneesh Kumar K.V <hidden>
Date: 2021-03-18 03:49:21

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 <redacted>
---
 arch/powerpc/platforms/Kconfig.cputype | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index 2e666e569fdf..8e585d8e77ce 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -103,6 +103,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"
@@ -365,8 +367,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
-- 
2.30.2

Re: [PATCH] powerpc/book3s64/kuap: Move Kconfig varriables to BOOK3S_64

From: Michael Ellerman <hidden>
Date: 2021-03-31 01:10:29

On Thu, 18 Mar 2021 09:18:29 +0530, Aneesh Kumar K.V wrote:
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.
Applied to powerpc/next.

[1/1] powerpc/book3s64/kuap: Move Kconfig varriables to BOOK3S_64
      https://git.kernel.org/powerpc/c/8b8adeb3007f67076141f547f0b2f62b299a383c

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help