mach-tegra: platsmp: use gmode_notifier

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:

	arch/arm/mach-tegra/platsmp.c

Conflicts:
	arch/arm/mach-tegra/tegra_mpdecision.c
mach-tegra: platsmp: this is only executed when the cpu is brought online, hence we don't need mpdecision here

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:

	arch/arm/mach-tegra/platsmp.c
mach-tegra: cpu-tegra: don't ignore the return value

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:

	arch/arm/mach-tegra/cpu-tegra.c
drivers: cpufreq: ondemand: add touchpoke & 2phase.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
mach-tegra: pm: fix wrong awake cpufreq

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
mach-tegra: pm: remove awake frequency lock

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
cpufreq: ondemand: limit 2phase freq to max lpcpu if only one cpu is online

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
cpufreq: ondemand: 2phase: double the counter if we have limited the freq

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
cpufreq: ondemand: 2phase: check for lp instead of online cpus

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
cpufreq: ondemand: update comments

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
cpufreq: ondemand: add earlysuspend/lateresume drivers

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:

	drivers/cpufreq/cpufreq_ondemand.c
cpufreq: ondemand: set 2phase to 204Mhz if lp && screen off

Since we are limited to 475Mhz either way while our screen is
offline reduce the 2phase freq to 204Mhz to avoid ramping to max.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
[CPUFREQ] CPUfreq ondemand: update sampling rate without waiting for next sampling

When a new sampling rate is shorter than the current one, (e.g., 1 sec
--> 10 ms) regardless how short the new one is, the current ondemand
mechanism wait for the previously set timer to be expired.

For example, if the user has just expressed that the sampling rate
should be 10 ms from now and the previous was 1000 ms, the new rate may
become effective 999 ms later, which could be not acceptable for the
user if the user has intended to speed up sampling because the system is
expected to react to CPU load fluctuation quickly from __now__.

In order to address this issue, we need to cancel the previously set
timer (schedule_delayed_work) and reset the timer if resetting timer is
expected to trigger the delayed_work ealier.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dave Jones <davej@redhat.com>
cpufreq: ondemand: adjust default parameters

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
cpufreq: ondemand: add power_save_bias screen off override

This will set power_save_bias to 200 on screen off and
restore it's original value once the screen comes back on
again.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:

	drivers/cpufreq/cpufreq_ondemand.c
defconfig: version 0.3 (first public release)

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
drivers: cpufreq: make unlock_policy_rwsem_write/read non static

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
cpufreq: ondemand: increase 2phase screen off lp frequency

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
mach-tegra: board-grouper: add ondemand two phase init

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
SCHEDULER: Autogroup patch group by current user android UID instead of task ID