2021-06-03 07:56:57

by Christophe Leroy

[permalink] [raw]
Subject: [PATCH] powerpc: Remove CONFIG_PPC_MMU_NOHASH_32

Since commit Fixes: 555904d07eef ("powerpc/8xx: MM_SLICE is not needed anymore"),
CONFIG_PPC_MMU_NOHASH_32 has not been used.

Remove it.

Reported-by: Tom Rix <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
---
arch/powerpc/platforms/Kconfig.cputype | 4 ----
1 file changed, 4 deletions(-)

diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index 885140055b7a..dc7c46f92302 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -424,10 +424,6 @@ config PPC_MMU_NOHASH
def_bool y
depends on !PPC_BOOK3S

-config PPC_MMU_NOHASH_32
- def_bool y
- depends on PPC_MMU_NOHASH && PPC32
-
config PPC_BOOK3E_MMU
def_bool y
depends on FSL_BOOKE || PPC_BOOK3E
--
2.25.0


2021-06-03 13:25:40

by Tom Rix

[permalink] [raw]
Subject: Re: [PATCH] powerpc: Remove CONFIG_PPC_MMU_NOHASH_32


On 6/3/21 12:53 AM, Christophe Leroy wrote:
> Since commit Fixes: 555904d07eef ("powerpc/8xx: MM_SLICE is not needed anymore"),
> CONFIG_PPC_MMU_NOHASH_32 has not been used.
>
> Remove it.
>
> Reported-by: Tom Rix <[email protected]>
> Signed-off-by: Christophe Leroy <[email protected]>

Thanks, one less for me to do.

There are about ~100 similar tree wide, I'll be posting these soon.

Tom

> ---
> arch/powerpc/platforms/Kconfig.cputype | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
> index 885140055b7a..dc7c46f92302 100644
> --- a/arch/powerpc/platforms/Kconfig.cputype
> +++ b/arch/powerpc/platforms/Kconfig.cputype
> @@ -424,10 +424,6 @@ config PPC_MMU_NOHASH
> def_bool y
> depends on !PPC_BOOK3S
>
> -config PPC_MMU_NOHASH_32
> - def_bool y
> - depends on PPC_MMU_NOHASH && PPC32
> -
> config PPC_BOOK3E_MMU
> def_bool y
> depends on FSL_BOOKE || PPC_BOOK3E

2021-06-18 06:18:57

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH] powerpc: Remove CONFIG_PPC_MMU_NOHASH_32

On Thu, 3 Jun 2021 07:53:49 +0000 (UTC), Christophe Leroy wrote:
> Since commit Fixes: 555904d07eef ("powerpc/8xx: MM_SLICE is not needed anymore"),
> CONFIG_PPC_MMU_NOHASH_32 has not been used.
>
> Remove it.

Applied to powerpc/next.

[1/1] powerpc: Remove CONFIG_PPC_MMU_NOHASH_32
https://git.kernel.org/powerpc/c/c0ca0fe08c9213a5187e4513b5506667f249030f

cheers