mbox series

[v3,0/2] Exynos SoCs: enable support for ARM Architected Timers

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

Message

Marek Szyprowski Aug. 28, 2019, 12:10 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.

Best regards
Marek Szyprowski
Samsung R&D Institute Poland


Changelog:

v3:
- checked the status of arch timer registers on all Exynos5 SoCs,
  dropped 'not-fw-configured' property on most of them as requested
  by Marc Zyngier
- dropped enabling arch timers on Exynos3250, as there is no benefit from
  that (none of the Exynos3250-based board boots in HYP mode)

v2: https://www.spinics.net/lists/arm-kernel/msg751017.html
- dropped MCT patches (merged to v5.1)
- dropped timer priority change patch (merged to v5.3)

v1: https://www.spinics.net/lists/arm-kernel/msg751018.html
- initial version, covers some MCT patches previously sent as a timer
  rework for Exynos5433


Patch summary:

Marek Szyprowski (2):
  ARM: dts: exynos: Add support ARM architected timers on Exynos5
  ARM: exynos: Enable support for ARM architected timers

 arch/arm/boot/dts/exynos5420-peach-pit.dts | 4 ++++
 arch/arm/boot/dts/exynos54xx.dtsi          | 9 +++++++++
 arch/arm/boot/dts/exynos5800-peach-pi.dts  | 4 ++++
 arch/arm/mach-exynos/Kconfig               | 1 +
 4 files changed, 18 insertions(+)

-- 
2.17.1