]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00223450 [MX6]Fix secondary cores BogoMIPs error
authorAnson Huang <b20788@freescale.com>
Mon, 10 Sep 2012 18:41:54 +0000 (02:41 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:24 +0000 (08:35 +0200)
commitf969dcc8f61a5fc861b11db885971d95f0165f52
treef103595e43665623ba5e9bc88ad7d524f8fe363c
parentbfe7bd1edbb183c169691d99b9b1a26b6a41be16
ENGR00223450 [MX6]Fix secondary cores BogoMIPs error

After doing some suspend/resuem test, secondary cores BogoMIPs
will be wrong, the root cause is that when cpufreq is changed,
we only update the online cpus' loops_per_jiffy, and when secondary
cores back to online, we skip the loops_per_jiffy calibration. During
suspend/resume, the cpufreq can be changed during disabling/enabling
secondary cores, which will make secondary cores loops_per_jiffy
wrong, so here we need to update all possible cpus' loops_per_jiffy
when cpufreq is changed.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/plat-mxc/cpufreq.c