[v3,2/2] ARM: exynos: Enable support for ARM architected timers

Message ID 20190828121005.29368-3-m.szyprowski@samsung.com
State New
Headers show
Series
  • Exynos SoCs: enable support for ARM Architected Timers
Related show

Commit Message

Marek Szyprowski Aug. 28, 2019, 12:10 p.m.
ARM architected timer can be used together with Exynos MultiCore Timer
driver, so enable support for it. Support for ARM architected timers is
essential for enabling proper KVM support.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

---
 arch/arm/mach-exynos/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1

Comments

Chanwoo Choi Sept. 6, 2019, 1:10 a.m. | #1
Dear Marek,

On 19. 8. 28. 오후 9:10, Marek Szyprowski wrote:
> ARM architected timer can be used together with Exynos MultiCore Timer

> driver, so enable support for it. Support for ARM architected timers is

> essential for enabling proper KVM support.

> 

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  arch/arm/mach-exynos/Kconfig | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig

> index f83786640f94..9dab1f50a02f 100644

> --- a/arch/arm/mach-exynos/Kconfig

> +++ b/arch/arm/mach-exynos/Kconfig

> @@ -19,6 +19,7 @@ menuconfig ARCH_EXYNOS

>  	select EXYNOS_SROM

>  	select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS

>  	select GPIOLIB

> +	select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5 && VIRTUALIZATION

>  	select HAVE_ARM_SCU if SMP

>  	select HAVE_S3C2410_I2C if I2C

>  	select HAVE_S3C2410_WATCHDOG if WATCHDOG

> 


Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>


-- 
Best Regards,
Chanwoo Choi
Samsung Electronics
Krzysztof Kozlowski Sept. 9, 2019, 6:58 p.m. | #2
On Wed, Aug 28, 2019 at 02:10:05PM +0200, Marek Szyprowski wrote:
> ARM architected timer can be used together with Exynos MultiCore Timer

> driver, so enable support for it. Support for ARM architected timers is

> essential for enabling proper KVM support.

> 

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  arch/arm/mach-exynos/Kconfig | 1 +


Thanks, applied this one only from the set (I will have send another soc
pull request before merge window).

Best regards,
Krzysztof

Patch

diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index f83786640f94..9dab1f50a02f 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -19,6 +19,7 @@  menuconfig ARCH_EXYNOS
 	select EXYNOS_SROM
 	select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
 	select GPIOLIB
+	select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5 && VIRTUALIZATION
 	select HAVE_ARM_SCU if SMP
 	select HAVE_S3C2410_I2C if I2C
 	select HAVE_S3C2410_WATCHDOG if WATCHDOG