All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: mediatek: select arch timer for mt7629
@ 2022-04-09  9:13 ` Chuanhong Guo
  0 siblings, 0 replies; 6+ messages in thread
From: Chuanhong Guo @ 2022-04-09  9:13 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Chuanhong Guo, Matthias Brugger, Russell King, Ryder Lee,
	moderated list:ARM/Mediatek SoC support, open list

This chip has an armv7 arch timer according to the dts. Select it in
Kconfig to enforce the support for it.
Otherwise the system time is just completely wrong if user forget to
enable ARM_ARCH_TIMER in kernel config.

Fixes: a43379dddf1b ("arm: mediatek: add MT7629 smp bring up code")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
---
 arch/arm/mach-mediatek/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
index 9e0f592d87d8..35a3430c7942 100644
--- a/arch/arm/mach-mediatek/Kconfig
+++ b/arch/arm/mach-mediatek/Kconfig
@@ -30,6 +30,7 @@ config MACH_MT7623
 config MACH_MT7629
 	bool "MediaTek MT7629 SoCs support"
 	default ARCH_MEDIATEK
+	select HAVE_ARM_ARCH_TIMER
 
 config MACH_MT8127
 	bool "MediaTek MT8127 SoCs support"
-- 
2.35.1


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

* [PATCH] arm: mediatek: select arch timer for mt7629
@ 2022-04-09  9:13 ` Chuanhong Guo
  0 siblings, 0 replies; 6+ messages in thread
From: Chuanhong Guo @ 2022-04-09  9:13 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Chuanhong Guo, Matthias Brugger, Russell King, Ryder Lee,
	moderated list:ARM/Mediatek SoC support, open list

This chip has an armv7 arch timer according to the dts. Select it in
Kconfig to enforce the support for it.
Otherwise the system time is just completely wrong if user forget to
enable ARM_ARCH_TIMER in kernel config.

Fixes: a43379dddf1b ("arm: mediatek: add MT7629 smp bring up code")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
---
 arch/arm/mach-mediatek/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
index 9e0f592d87d8..35a3430c7942 100644
--- a/arch/arm/mach-mediatek/Kconfig
+++ b/arch/arm/mach-mediatek/Kconfig
@@ -30,6 +30,7 @@ config MACH_MT7623
 config MACH_MT7629
 	bool "MediaTek MT7629 SoCs support"
 	default ARCH_MEDIATEK
+	select HAVE_ARM_ARCH_TIMER
 
 config MACH_MT8127
 	bool "MediaTek MT8127 SoCs support"
-- 
2.35.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* [PATCH] arm: mediatek: select arch timer for mt7629
@ 2022-04-09  9:13 ` Chuanhong Guo
  0 siblings, 0 replies; 6+ messages in thread
From: Chuanhong Guo @ 2022-04-09  9:13 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Chuanhong Guo, Matthias Brugger, Russell King, Ryder Lee,
	moderated list:ARM/Mediatek SoC support, open list

This chip has an armv7 arch timer according to the dts. Select it in
Kconfig to enforce the support for it.
Otherwise the system time is just completely wrong if user forget to
enable ARM_ARCH_TIMER in kernel config.

Fixes: a43379dddf1b ("arm: mediatek: add MT7629 smp bring up code")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
---
 arch/arm/mach-mediatek/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
index 9e0f592d87d8..35a3430c7942 100644
--- a/arch/arm/mach-mediatek/Kconfig
+++ b/arch/arm/mach-mediatek/Kconfig
@@ -30,6 +30,7 @@ config MACH_MT7623
 config MACH_MT7629
 	bool "MediaTek MT7629 SoCs support"
 	default ARCH_MEDIATEK
+	select HAVE_ARM_ARCH_TIMER
 
 config MACH_MT8127
 	bool "MediaTek MT8127 SoCs support"
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm: mediatek: select arch timer for mt7629
  2022-04-09  9:13 ` Chuanhong Guo
  (?)
@ 2022-04-22 15:12   ` Matthias Brugger
  -1 siblings, 0 replies; 6+ messages in thread
From: Matthias Brugger @ 2022-04-22 15:12 UTC (permalink / raw)
  To: Chuanhong Guo, linux-arm-kernel
  Cc: Russell King, Ryder Lee, moderated list:ARM/Mediatek SoC support,
	open list



On 09/04/2022 11:13, Chuanhong Guo wrote:
> This chip has an armv7 arch timer according to the dts. Select it in
> Kconfig to enforce the support for it.
> Otherwise the system time is just completely wrong if user forget to
> enable ARM_ARCH_TIMER in kernel config.
> 
> Fixes: a43379dddf1b ("arm: mediatek: add MT7629 smp bring up code")
> Signed-off-by: Chuanhong Guo <gch981213@gmail.com>

Applied, thanks!

> ---
>   arch/arm/mach-mediatek/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
> index 9e0f592d87d8..35a3430c7942 100644
> --- a/arch/arm/mach-mediatek/Kconfig
> +++ b/arch/arm/mach-mediatek/Kconfig
> @@ -30,6 +30,7 @@ config MACH_MT7623
>   config MACH_MT7629
>   	bool "MediaTek MT7629 SoCs support"
>   	default ARCH_MEDIATEK
> +	select HAVE_ARM_ARCH_TIMER
>   
>   config MACH_MT8127
>   	bool "MediaTek MT8127 SoCs support"

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

* Re: [PATCH] arm: mediatek: select arch timer for mt7629
@ 2022-04-22 15:12   ` Matthias Brugger
  0 siblings, 0 replies; 6+ messages in thread
From: Matthias Brugger @ 2022-04-22 15:12 UTC (permalink / raw)
  To: Chuanhong Guo, linux-arm-kernel
  Cc: Russell King, Ryder Lee, moderated list:ARM/Mediatek SoC support,
	open list



On 09/04/2022 11:13, Chuanhong Guo wrote:
> This chip has an armv7 arch timer according to the dts. Select it in
> Kconfig to enforce the support for it.
> Otherwise the system time is just completely wrong if user forget to
> enable ARM_ARCH_TIMER in kernel config.
> 
> Fixes: a43379dddf1b ("arm: mediatek: add MT7629 smp bring up code")
> Signed-off-by: Chuanhong Guo <gch981213@gmail.com>

Applied, thanks!

> ---
>   arch/arm/mach-mediatek/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
> index 9e0f592d87d8..35a3430c7942 100644
> --- a/arch/arm/mach-mediatek/Kconfig
> +++ b/arch/arm/mach-mediatek/Kconfig
> @@ -30,6 +30,7 @@ config MACH_MT7623
>   config MACH_MT7629
>   	bool "MediaTek MT7629 SoCs support"
>   	default ARCH_MEDIATEK
> +	select HAVE_ARM_ARCH_TIMER
>   
>   config MACH_MT8127
>   	bool "MediaTek MT8127 SoCs support"

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: [PATCH] arm: mediatek: select arch timer for mt7629
@ 2022-04-22 15:12   ` Matthias Brugger
  0 siblings, 0 replies; 6+ messages in thread
From: Matthias Brugger @ 2022-04-22 15:12 UTC (permalink / raw)
  To: Chuanhong Guo, linux-arm-kernel
  Cc: Russell King, Ryder Lee, moderated list:ARM/Mediatek SoC support,
	open list



On 09/04/2022 11:13, Chuanhong Guo wrote:
> This chip has an armv7 arch timer according to the dts. Select it in
> Kconfig to enforce the support for it.
> Otherwise the system time is just completely wrong if user forget to
> enable ARM_ARCH_TIMER in kernel config.
> 
> Fixes: a43379dddf1b ("arm: mediatek: add MT7629 smp bring up code")
> Signed-off-by: Chuanhong Guo <gch981213@gmail.com>

Applied, thanks!

> ---
>   arch/arm/mach-mediatek/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
> index 9e0f592d87d8..35a3430c7942 100644
> --- a/arch/arm/mach-mediatek/Kconfig
> +++ b/arch/arm/mach-mediatek/Kconfig
> @@ -30,6 +30,7 @@ config MACH_MT7623
>   config MACH_MT7629
>   	bool "MediaTek MT7629 SoCs support"
>   	default ARCH_MEDIATEK
> +	select HAVE_ARM_ARCH_TIMER
>   
>   config MACH_MT8127
>   	bool "MediaTek MT8127 SoCs support"

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-04-22 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-09  9:13 [PATCH] arm: mediatek: select arch timer for mt7629 Chuanhong Guo
2022-04-09  9:13 ` Chuanhong Guo
2022-04-09  9:13 ` Chuanhong Guo
2022-04-22 15:12 ` Matthias Brugger
2022-04-22 15:12   ` Matthias Brugger
2022-04-22 15:12   ` Matthias Brugger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.