summaryrefslogtreecommitdiffstats
path: root/drivers/virt
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-09-21 16:53:00 -0700
committerKevin Hilman <khilman@ti.com>2011-11-08 11:42:16 -0800
commit46c12216c81b470b957d7fdefd8630efc2edddd0 (patch)
tree8d0431c6cc43bd3d63759684cd215a6b02dca49b /drivers/virt
parent731e0cc639364646d36981d90ab0b6af12b8face (diff)
downloadlinux-46c12216c81b470b957d7fdefd8630efc2edddd0.tar.bz2
cpufreq: OMAP: Add SMP support for OMAP4+
On OMAP SMP configuartion, both processors share the voltage and clock. So both CPUs needs to be scaled together and hence needs software co-ordination. Also, update lpj with reference value to avoid progressive error. Adjust _both_ the per-cpu loops_per_jiffy and global lpj. Calibrate them with with reference to the initial values to avoid a progressively bigger and bigger error in the value over time. While at this, re-use the notifiers for UP/SMP since on UP machine or UP_ON_SMP policy->cpus mask would contain only the boot CPU. Based on initial SMP support by Santosh Shilimkar. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> [khilman@ti.com: due to overlap/rework, combined original Santosh patch and Russell's rework] Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions