tegra_hotplug: sync changes from mako.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Revert "tegra: make sure the device enters LP0 state on screen off and remove some remnants of autohotplug code from nvidia."

This reverts commit fd2863dc08019b0a1554f9964fa2f6f54c3d4c23.
interface: update edp voltage
interface: changes to voltages for oc interface
actmon: decrease latency might improve performance on emc
gov: interactive change scaling based on lucius.zen results
Revert "gov: interactive change scaling based on lucius.zen results"

This reverts commit 6be05cf4214a1f5b432e23841d768d9df190b8d6.
hotplug: new hotplugging thresholds
tegra: attempt to fix device not going to deep sleep
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>
block: row: hardcode tunables.

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

Conflicts:
	block/row-iosched.c
tegra_hotplug: sync it from mako.

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

Conflicts:
	arch/arm/kernel/tegra_hotplug.c
	drivers/misc/tegra_hotplug_control.c
rq_stats: forgot to port the changes on tick-sched.

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

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

Conflicts:
	arch/arm/mach-tegra/pm.c
tegra3: clocks: allow g cluster to use low frequency ( you can now manually set lowest freq)