cpufreq: conservative: Enable load tuning (thx myfluxi) (reverted from commit b285c666814c55a259411d42cdca707f2816e3cf)
Revert "arm: mako_hotplug: Add intermediate load level"

This reverts commit 056230921398850cec1ca19836a235fcfef9fae2.
Revert "mako_hotplug: Pull check routine optimizations from franco git"

This reverts commit ed6f0d792f8ded6201a779a9c73f71aa42db58dd.
Revert "mako_hotplug: Pull Chalhoubs circular buffer from franco git"

This reverts commit 6f7c8c511c5bfdd874e027b97f924210c174ba8b.
Revert "mako_hotplug: Properly set cpu freq policy on suspend/resume"

This reverts commit 00cef7391955edf26382fb9fba19b27e74ee619f.
cpufreq: Introduce governor load tuning

Credits to myfluxi (reverted from commit 4644ca89f7e8ee5d69d02d504ae45262bca14989)
Revert "mako_hotplug: Resume late from early suspend"

This reverts commit b16a4054fe89376873e17b772c610fadef67574b.
Revert "mako-hotplug: Fixup funtion declaration"

This reverts commit 0754dbbb7dc0b020f0d25a12fb6bad42763f70a7.
Revert "arm: mako_hotplug: Stop spamming the kernel log buffer"

This reverts commit 7864546ba2ec2cb743207aa9c9627f15c3138d83.
Revert "arm: mako_hotplug: Unify drivers, Lindent, cleanup interface"

This reverts commit 06a4d2c30b3cb79b1368b9f94f3f571125bf8691.
Revert "arm: mako_hotplug: Fix section mismatch"

This reverts commit 700348ca3114d3b55f49fc0225143dc9bd9ef610.
Revert "arm: mako_hotplug: Import from francoKernel"

This reverts commit f73123b6d25e7da77c494a20519536050a524c1f.
ARM: add auto hotplug driver
arm: auto hotplug - wrap all pr_info into the existing debug mode so we
don't spam the kernel log
auto_hotplug: enhancements

1) added module params so tuning an be adjusted in userspace and
debugging can easliy be enabled/disabled

/sys/module/auto_hotplug/parameters/debug
(N/Y - turn off/on debugging)

/sys/module/auto_hotplug/parameters/disable_load_threshold
(integer - load at which a CPU is disabled)

/sys/module/auto_hotplug/parameters/enable_load_threshold (integer -
load at which an extra CPU is enabled)

/sys/module/auto_hotplug/parameters/enable_all_load_threshold (integer -
load at wich all CPU's are enabled)

/sys/module/auto_hotplug/parameters/min_sampling_rate
(milliseconds, converted to jiffies at runtime)

2) lowered enable_load_threshold from 225 to 200 for a little more pep.

To-do: add get/set routines to keep values safe and in acceptable ranges
auto_hotplug: enhancements (rev 2)

1) Added ability to change the number of sampling_periods on the fly via
sysfs (while preserving past history).

2) Added get/set for module parameters so user's can't set incorrect or
unreasonable values.

3) Tweaked defaults

4) Don't wait as long to start auto_hotplug (referenced franco's
git). Today's devices are much faster to boot however
if this code is ported to a slower core device, it may need to be
raised.

5) Debug mode tweaks
-Organize and reduce the number of line output.
-Attempt to make output more user friendly for those that aren't
reading the code.
auto_hotplug: enable the min_online_cpus value

Use a module_param_cb to set the minimum number of online CPUs when the
screen is on.

The values are between 1-4.

usage:
echo '1' < /sys/module/auto_hotplug/parameters/min_online_cpus
auto_hotplug: enhancements (rev 3)

1) Added max_online_cpus (1-4) and exposed to sysfs via a module
parameter. Once set, only allow the chosen number of cores to be
online and make sure we compensate for it in the boostpulse function.

2) Make minor tweaks to mathkid's min_online_cpus

-Don't schedule work in the parameter set, just let it be done on the
next poll iteration.

-Misc style changes so that it matches the other code I have been
adding the module.
auto_hotplug: parameter validation for max_online_cpus

If validation fails, set max_online_cpus = CPUS_AVAILABLE instead of
"1"
auto_hotplug: stack the deck on auto_hotplug_late_resume to get things
moving quickly again