mbox series

[0/5] Exynos SoCs: enable support for ARM Architected Timers

Message ID 20190215125229.30180-1-m.szyprowski@samsung.com
Headers show
Series Exynos SoCs: enable support for ARM Architected Timers | expand

Message

Marek Szyprowski Feb. 15, 2019, 12:52 p.m. UTC
Dear All,

ARM Architected Timers are present in all CortexA7/A15 based Samsung
Exynos SoCs. So far they were not enabled, because there were some issues
related to their initialization. Samsung Exynos SoCs used custom timer
hardware - Exynos MultiCore Timer. It turned out that enabling MCT it is
also needed to get ARM Architected Timers working, because they both
share some common hardware blocks (global system counter).

This patchset enables support for ARM Architected Timer driver together
with a standard Exynos MultiCore Timer driver, which is kept as a default
timer source on ARM 32bit platforms. Support for ARM architected timers
is essential for enabling proper KVM support on those platforms.

Some of the MCT cleanup patches were earlier a part of the similar
patchset for ARM64-based Exynos5433 SoC.

Best regards
Marek Szyprowski
Samsung R&D Institute Poland

Marek Szyprowski (5):
  clocksource: exynos_mct: Remove dead code
  clocksource: exynos_mct: Fix error path in timer resources
    initialization
  clocksource: exynos_mct: Increase priority over ARM arch timer
  ARM: dts: exynos: Add support ARM architected timers
  ARM: exynos: Enable support for ARM architected timers

 arch/arm/boot/dts/exynos3250.dtsi | 10 ++++++++++
 arch/arm/boot/dts/exynos5250.dtsi |  1 +
 arch/arm/boot/dts/exynos54xx.dtsi | 10 ++++++++++
 arch/arm/mach-exynos/Kconfig      |  1 +
 drivers/clocksource/exynos_mct.c  | 27 +++++++++++++++++----------
 include/linux/cpuhotplug.h        |  2 +-
 6 files changed, 40 insertions(+), 11 deletions(-)

-- 
2.17.1

Comments

Daniel Lezcano Feb. 15, 2019, 4:36 p.m. UTC | #1
Hi Marek,

I will pick patch 1 and 2 for 5.1

Thanks

  -- Daniel


On 15/02/2019 13:52, Marek Szyprowski wrote:
> Dear All,

> 

> ARM Architected Timers are present in all CortexA7/A15 based Samsung

> Exynos SoCs. So far they were not enabled, because there were some issues

> related to their initialization. Samsung Exynos SoCs used custom timer

> hardware - Exynos MultiCore Timer. It turned out that enabling MCT it is

> also needed to get ARM Architected Timers working, because they both

> share some common hardware blocks (global system counter).

> 

> This patchset enables support for ARM Architected Timer driver together

> with a standard Exynos MultiCore Timer driver, which is kept as a default

> timer source on ARM 32bit platforms. Support for ARM architected timers

> is essential for enabling proper KVM support on those platforms.

> 

> Some of the MCT cleanup patches were earlier a part of the similar

> patchset for ARM64-based Exynos5433 SoC.

> 

> Best regards

> Marek Szyprowski

> Samsung R&D Institute Poland

> 

> Marek Szyprowski (5):

>   clocksource: exynos_mct: Remove dead code

>   clocksource: exynos_mct: Fix error path in timer resources

>     initialization

>   clocksource: exynos_mct: Increase priority over ARM arch timer

>   ARM: dts: exynos: Add support ARM architected timers

>   ARM: exynos: Enable support for ARM architected timers

> 

>  arch/arm/boot/dts/exynos3250.dtsi | 10 ++++++++++

>  arch/arm/boot/dts/exynos5250.dtsi |  1 +

>  arch/arm/boot/dts/exynos54xx.dtsi | 10 ++++++++++

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

>  drivers/clocksource/exynos_mct.c  | 27 +++++++++++++++++----------

>  include/linux/cpuhotplug.h        |  2 +-

>  6 files changed, 40 insertions(+), 11 deletions(-)

> 



-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog