[PATCH 0/2] ARM: EXYNOS: Allow to use architected timer

Arnd Bergmann arnd at arndb.de
Tue Oct 6 01:37:16 PDT 2015


On Tuesday 06 October 2015 11:23:58 Pavel Fedin wrote:
> Exynos platform officially uses "multi-core timer" AKA MCT. However, it
> also has a possibility to access the same timer using CP15 (AKA
> architected timer) registers.
> 
> In order to be able to use KVM, we need CP15 timer support. In its turn,
> MCT needs to be turned on before any accesses will work. This patchset
> allows to specify "CP15 compatibility mode" for the MCT by inserting
> armv7-timer node as a child for MCT device. In this case MCT driver will
> only enable the timer, leaving the rest for architected timer driver.

IIRC the use of the CP15 timer is not reliable on this platform.
I don't have a link ready, but this has come up a few times.

Kukjin Kim probably knows the details.

Regarding KVM usage, would it be possible to emulate the architected
timer from qemu instead?

	Arnd



More information about the linux-arm-kernel mailing list