boot: Enable XZ compression
cpufreq-4210: Update asv voltage table
exynos: cpufreq: Make asv voltage table elements selectable

We can now use the eight asv voltage table elements as 'presets'
via sysfs. Pretty useful considering our sixteen available steps:

/sys/devices/system/cpu/cpu0/cpufreq/asv_group [0 - 7]
XZ: Gain 70 kilobytes and (maybe) get rid of half a second

Kernel is 4.1 MB including everything, so who cares.
cpufreq interactive governor: event tracing

Change-Id: Ic13614a3da2faa2d4bd215ca3eb7191614f0cf66
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: netchip <netchip@netchip-archer.localdomain>
cpufreq: interactive: apply intermediate load to max speed not current

Evaluate spikes in load (below go_hispeed_load) against the maximum
speed supported by the device, not the current speed (which tends to
make it too difficult to raise speed to intermediate levels until
very busy).

Change-Id: Ib937006abf8bedb60891a739acd733e89b732ae0
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: netchip <netchip@netchip-archer.localdomain>
cpufreq: interactive: set at least hispeed when above hispeed load

If load is above go_hispeed_load, always go to at least hispeed_freq,
even when reducing speed from a higher speed, not just when jumping
up from minimum speed.  Avoids running at a lower than intended
speed after a burst of even higher load.

Change-Id: I5b9d2a15ba25ce609b21bac7c724265cf6838dee
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: netchip <netchip@netchip-archer.localdomain>
cpufreq: interactive: don't drop speed if recently at higher load

Apply min_sample_time to the last time the current target speed
was originally requested or re-validated as appropriate for the
current load, not to the time since the current speed was
originally set.  Avoids periodic dips in speed during bursty
loads.

Change-Id: I250bda657985de60373f9897cc41f480664d51a1
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: netchip <netchip@netchip-archer.localdomain>
cpufreq: interactive: Remove redundant include

Signed-off-by: netchip <netchip@netchip-archer.localdomain>
Fix most compiler warnings

Linaro gcc 4.6.3 12.03. If interested, read https://lkml.org/lkml/2011/7/25/331.

Signed-off-by: netchip <netchip@netchip-archer.localdomain>
ARM: clean up idle handlers

Let's factor out the need_resched() check instead of having it duplicated
in every pm_idle implementations to avoid inconsistencies (omap2_pm_idle
is missing it already).

The forceful re-enablement of IRQs after pm_idle has returned can go.
The warning certainly doesn't trigger for existing users.

To get rid of the pm_idle calling convention oddity, let's introduce
arm_pm_idle() allowing for the local_irq_enable() to be factored out
from SOC specific implementations. The default pm_idle function becomes
a wrapper for arm_pm_idle and it takes care of enabling IRQs closer to
where they are initially disabled.

And finally move the comment explaining the reason for that turning off
of IRQs to a more proper location.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-and-tested-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: netchip <netchip@netchip-archer.localdomain>
ARM: substitute arch_idle(), remove system.h

Maybe a little bit too much effort for one less compiler warning.

Signed-off-by: netchip <netchip@netchip-archer.localdomain>