On Thursday 10 October 2013 03:43 AM, Sricharan R wrote: > From: R Sricharan <r.sricharan@xxxxxx> > > 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 > secure rom code. Setting this register helps in propagating the right > frequency value across OSes. > > 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@xxxxxxxxxxxxxxx/msg93832.html > > So configuring this secure register for all the cpus here. > > Cc: Santosh Shilimkar <santosh.shilimkar@xxxxxx> > Cc: Nishanth Menon <nm@xxxxxx> > Cc: Rajendra Nayak <rnayak@xxxxxx> > Cc: Marc Zyngier <marc.zyngier@xxxxxxx> > Cc: Mark Rutland <mark.rutland@xxxxxxx> > Cc: Tony Lindgren <tony@xxxxxxxxxxx> > Tested-by: Nishanth Menon <nm@xxxxxx> > Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx> > Signed-off-by: Sricharan R <r.sricharan@xxxxxx> > --- > [V5] Removed the use of extern variable in omap-smp.c > as per suggestion from Santosh Shilimkar <santosh.shilimkar@xxxxxx> > Thanks for the updates Sricharan. Looks fine now. Tony, Can you apply this version if you are fine with it. Regards, Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html