public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] riscv: Remove duplicate CLINT_TIMER selections
@ 2024-12-03 16:15 Geert Uytterhoeven
  2024-12-04 10:30 ` Conor Dooley
  2025-03-27  3:25 ` patchwork-bot+linux-riscv
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2024-12-03 16:15 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Damien Le Moal,
	Anup Patel, Atish Patra
  Cc: linux-riscv, kvm, kvm-riscv, Geert Uytterhoeven

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@glider.be>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] riscv: Remove duplicate CLINT_TIMER selections
  2024-12-03 16:15 [PATCH] riscv: Remove duplicate CLINT_TIMER selections Geert Uytterhoeven
@ 2024-12-04 10:30 ` Conor Dooley
  2025-03-27  3:25 ` patchwork-bot+linux-riscv
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2024-12-04 10:30 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, Damien Le Moal,
	Anup Patel, Atish Patra, linux-riscv, kvm, kvm-riscv

[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]

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@glider.be>

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] riscv: Remove duplicate CLINT_TIMER selections
  2024-12-03 16:15 [PATCH] riscv: Remove duplicate CLINT_TIMER selections Geert Uytterhoeven
  2024-12-04 10:30 ` Conor Dooley
@ 2025-03-27  3:25 ` patchwork-bot+linux-riscv
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-riscv @ 2025-03-27  3:25 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-riscv, paul.walmsley, palmer, aou, dlemoal, anup, atishp,
	kvm, kvm-riscv

Hello:

This patch was applied to riscv/linux.git (for-next)
by Alexandre Ghiti <alexghiti@rivosinc.com>:

On Tue,  3 Dec 2024 17:15:53 +0100 you 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@glider.be>
> ---
>  arch/riscv/Kconfig.socs | 2 --
>  1 file changed, 2 deletions(-)

Here is the summary with links:
  - riscv: Remove duplicate CLINT_TIMER selections
    https://git.kernel.org/riscv/c/72770690e02c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-27  3:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03 16:15 [PATCH] riscv: Remove duplicate CLINT_TIMER selections Geert Uytterhoeven
2024-12-04 10:30 ` Conor Dooley
2025-03-27  3:25 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox