ARM: tegra: power: Update Tegra3 LP2 time prediction
authorAlex Frid <afrid@nvidia.com>
Thu, 29 Sep 2011 05:42:06 +0000 (22:42 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:57:36 +0000 (00:57 -0700)
commit36c6bc2d5618a69ebc3b0e2133d83b640837179b
tree2d779b8db20ff18d0eede9b787a00212aa5517ef
parent78acfb482da84de0b8b212593954904d555edbe9
ARM: tegra: power: Update Tegra3 LP2 time prediction

Use local timer count to predict time to be spent by secondary CPU
in LP2 state instead of scheduler timing. This is more accurate, as
local timer wakes CPU after counts down to zero.

Change-Id: I28fe6c3153e1c527abf4cf66b556d64516582a35
Reviewed-on: http://git-master/r/55629
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>

Rebase-Id: R577246dfe6bce06bf7a1f87d0ab488322d98b631
arch/arm/mach-tegra/cpuidle-t3.c
arch/arm/mach-tegra/cpuidle.c
arch/arm/mach-tegra/cpuidle.h