From mboxrd@z Thu Jan 1 00:00:00 1970 From: nm@ti.com (Nishanth Menon) Date: Wed, 18 Sep 2013 08:00:13 -0500 Subject: [PATCH] ARM: OMAP5/DRA7: realtime_counter: Configure CNTFRQ register In-Reply-To: <1379503416-26318-1-git-send-email-r.sricharan@ti.com> References: <1379503416-26318-1-git-send-email-r.sricharan@ti.com> Message-ID: <20130918130012.GB3579@kahuna> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 at vger.kernel.org/msg93832.html > > So configuring this secure register for all the cpus here. > > Cc: Santosh Shilimkar > Cc: Nishanth Menon > Cc: Rajendra Nayak > Cc: Marc Zyngier > Cc: Mark Rutland > Cc: Tony Lindgren > Signed-off-by: Sricharan R Tested-by: Nishanth Menon thanks for a better alternative. [...] -- Regards, Nishanth Menon