arm: tegra: governor:  change governor using cpufreq interface

Older code sets "conservative" governor in early-suspend
using sysfs entries.This implementation changes governor
in early-suspend using cpufreq interfaces.

bug 871958

Change-Id: I721afb6184982a063dc5f330da31f8fb88481cfd
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/100849
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arm: tegra: Decrease voltage.
arm: tegra: remove 1.6GHz frenquancy table & remove 51MHz step.
cpufreq: conservative: tweak conservative governor for saving power.
tegra: add GPU overclock interface.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Increase PLL clock
Revert "tegra: add GPU overclock interface."

This reverts commit 09f0b22dfdeca745e7863e56f06a5de3e27cd04c.
hashtable: introduce a small and naive hashtable

This hashtable implementation is using hlist buckets to provide a simple
hashtable to prevent it from getting reimplemented all over the kernel.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
[ Merging this now, so that subsystems can start applying Sasha's
  patches that use this   - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
block,elevator: use new hashtable implementation

Switch elevator to use the new hashtable implementation. This reduces the
amount of generic unrelated code in the elevator.

This also removes the dymanic allocation of the hash table. The size of the table is
constant so there's no point in paying the price of an extra dereference when accessing
it.

This patch depends on d9b482c ("hashtable: introduce a small and naive
hashtable") which was merged in v3.6.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
sched: remove one division operation in find_buiest_queue()

Thu, 28 Mar 2013 16:58:52 +0900

Remove one division operation in find_buiest_queue().

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
backported for Linux 3.1

Signed-off-by: faux123 <reioux@gmail.com>
Remove TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>

Conflicts:
	arch/arm/mach-tegra/Kconfig
	arch/arm/mach-tegra/board.h
	arch/arm/mach-tegra/common.c
arm: tegra3: soc_speed_id
arm: tegra3: core_process_id
Revert "Add Thalamus ARM Generic Hotplug. Grew tired of Tegra3 auto-hotplug + CPUQuiet framework."

This reverts commit 9abae58e3e5cc4e15a623927ef768941ec120eae.

Conflicts:
	arch/arm/kernel/auto_hotplug.c
Port my Mako Hotplug driver to this device. rq_stats code is from Codeaurora I just ported it to work with Grouper. Also being merged is the driver to control the Hotplug driver from userspace.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Conflicts:
	arch/arm/kernel/Makefile
mach-tegra: baseband-xmm-power: fix wrong ooperator.
Decrease panel brightness.
grouper: panel: Decrease brightness table
arm: tegra: cpu-tegra.c: prevent stress_test_enable error.
sched: EXPORT sched_setscheduler_nocheck

Make interactive could build as a kernel module.