[PATCH] riscv: Remove duplicate CLINT_TIMER selections

Conor Dooley conor.dooley at microchip.com
Wed Dec 4 02:30:44 PST 2024


On Tue, Dec 03, 2024 at 05:15:53PM +0100, Geert Uytterhoeven wrote:
> Since commit f862bbf4cdca696e ("riscv: Allow NOMMU kernels to run in
> S-mode") in v6.10, CLINT_TIMER is selected by the main RISCV symbol when
> RISCV_M_MODE is enabled.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>

Reviewed-by: Conor Dooley <conor.dooley at microchip.com>
and in case Palmer isn't sure if he should apply it or not:
Acked-by: Conor Dooley <conor.dooley at microchip.com>

Cheers,
Conor.

> ---
>  arch/riscv/Kconfig.socs | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> index f51bb24bc84c6e47..d4ea91cdb2b138b2 100644
> --- a/arch/riscv/Kconfig.socs
> +++ b/arch/riscv/Kconfig.socs
> @@ -53,7 +53,6 @@ config ARCH_THEAD
>  
>  config ARCH_VIRT
>  	bool "QEMU Virt Machine"
> -	select CLINT_TIMER if RISCV_M_MODE
>  	select POWER_RESET
>  	select POWER_RESET_SYSCON
>  	select POWER_RESET_SYSCON_POWEROFF
> @@ -73,7 +72,6 @@ config ARCH_CANAAN
>  config SOC_CANAAN_K210
>  	bool "Canaan Kendryte K210 SoC"
>  	depends on !MMU && ARCH_CANAAN
> -	select CLINT_TIMER if RISCV_M_MODE
>  	select ARCH_HAS_RESET_CONTROLLER
>  	select PINCTRL
>  	select COMMON_CLK
> -- 
> 2.34.1
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/kvm-riscv/attachments/20241204/4efaeb63/attachment-0001.sig>


More information about the kvm-riscv mailing list