2023-03-30 11:12:59

by Lukas Bulwahn

[permalink] [raw]
Subject: [PATCH] csky: remove obsolete config CPU_TLB_SIZE

Commit 9d35dc3006a9 ("csky: Revert mmu ASID mechanism") removes the only
use of CONFIG_CPU_TLB_SIZE. Since then, this config has no effect and can
be deleted.

Remove the obsolete config CPU_TLB_SIZE.

Signed-off-by: Lukas Bulwahn <[email protected]>
---
arch/csky/Kconfig | 5 -----
1 file changed, 5 deletions(-)

diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
index dba02da6fa34..1fb5f066a885 100644
--- a/arch/csky/Kconfig
+++ b/arch/csky/Kconfig
@@ -166,11 +166,6 @@ config STACKTRACE_SUPPORT
config TIME_LOW_RES
def_bool y

-config CPU_TLB_SIZE
- int
- default "128" if (CPU_CK610 || CPU_CK807 || CPU_CK810)
- default "1024" if (CPU_CK860)
-
config CPU_ASID_BITS
int
default "8" if (CPU_CK610 || CPU_CK807 || CPU_CK810)
--
2.17.1


2023-04-01 03:25:15

by Guo Ren

[permalink] [raw]
Subject: Re: [PATCH] csky: remove obsolete config CPU_TLB_SIZE

Thx, got it.

On Thu, Mar 30, 2023 at 7:07 AM Lukas Bulwahn <[email protected]> wrote:
>
> Commit 9d35dc3006a9 ("csky: Revert mmu ASID mechanism") removes the only
> use of CONFIG_CPU_TLB_SIZE. Since then, this config has no effect and can
> be deleted.
>
> Remove the obsolete config CPU_TLB_SIZE.
>
> Signed-off-by: Lukas Bulwahn <[email protected]>
> ---
> arch/csky/Kconfig | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
> index dba02da6fa34..1fb5f066a885 100644
> --- a/arch/csky/Kconfig
> +++ b/arch/csky/Kconfig
> @@ -166,11 +166,6 @@ config STACKTRACE_SUPPORT
> config TIME_LOW_RES
> def_bool y
>
> -config CPU_TLB_SIZE
> - int
> - default "128" if (CPU_CK610 || CPU_CK807 || CPU_CK810)
> - default "1024" if (CPU_CK860)
> -
> config CPU_ASID_BITS
> int
> default "8" if (CPU_CK610 || CPU_CK807 || CPU_CK810)
> --
> 2.17.1
>


--
Best Regards
Guo Ren