[PATCH] ARM: OMAP5/DRA7: realtime_counter: Configure CNTFRQ register

Nishanth Menon nm at ti.com
Wed Sep 18 09:00:13 EDT 2013


On 16:53-20130918, Sricharan R wrote:
> The realtime counter called master counter, produces the count
> used by the private timer peripherals in the MPU_CLUSTER. The
> CNTFRQ per cpu register is used to denote the frequency of the counter.
> Currently the frequency value is passed from the
> DT file, but this is not scalable when we have other non-DT guest
> OS. This register must be set to the right value by the
> host OS, as this will be propagated to the guests as well.
> 
> More discussions and the reason for adding this in a non-DT
> way can be seen from below.
> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg93832.html
> 
> So configuring this secure register for all the cpus here.
> 
> Cc: Santosh Shilimkar <santosh.shilimkar at ti.com>
> Cc: Nishanth Menon <nm at ti.com>
> Cc: Rajendra Nayak <rnayak at ti.com>
> Cc: Marc Zyngier <marc.zyngier at arm.com>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Cc: Tony Lindgren <tony at atomide.com>
> Signed-off-by: Sricharan R <r.sricharan at ti.com>

Tested-by: Nishanth Menon <nm at ti.com>
thanks for a better alternative.

[...]

-- 
Regards,
Nishanth Menon



More information about the linux-arm-kernel mailing list