Makefile: remove warning that the frame is bigger than 1024.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Makefile: remove stupid wrapper to stop compilation if there is a warning. Good find @morfic.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Makefile: use ccache
setlocalversion: remove + from kernel version
mkcompile_h: build changes
power: main: Resolve the oops error while suspend
Increase readahead to 1024
cpufreq: interactive: upgrade to Google's latest 3.4

Reference:
https://android.googlesource.com/kernel/common.git/+/android-3.4
drivers: cpufreq: ondemand: add touchpoke & 2phase.

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

Conflicts:

	drivers/cpufreq/cpufreq_ondemand.c
ondemand: tune default thresholds and change 2-phase to 1242MHz
cpufreq: conservative: Fix typos in comments

Fix a couple of typos in comments.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
cpufreq: conservative: Fix sampling_down_factor functionality

sampling_down_factor tunable is unused since commit
8e677ce83bf41ba9c74e5b6d9ee60b07d4e5ed93 (4 years ago).

This patch restores the original functionality and documents the
tunable.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
cpufreq: conservative: Fix the logic in frequency decrease checking

When we evaluate the CPU load for frequency decrease we have to compare
the load against down_threshold. There is no need to subtract 10 points
from down_threshold.

Instead, we have to use the default down_threshold or user's selection
unmodified.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
cpufreq: conservative: Use an inline function to evaluate freq_target

Use an inline function to evaluate freq_target to avoid duplicate code.

Also, define a macro for the default frequency step.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Userspace Voltage Control (thanks faux123)

-Changed CONFIG name to my liking
-Fixed spelling in the Kconfig
Userspace Voltage Control: tweaked faux's original work

1) Only get/set frequencies that are configured to be used as scaling
frequencies.

2) Lowered min voltage to 600mV in the voltage control interface as well
as in the regulators.
Undervolt: raise the minimum to 687.5mv
acpuclock-8064.c: Lower fast voltage table by -150mv
acpu: enable 192Mhz clock, lower respective values (authored by showp1984@gmail.com Dennis Rassmann)
msm: acpuclock-krait: NULL terminate L2 table for find_cur_l2_level()

find_cur_l2_level() assumes that the L2 table is NULL terminated
when it has never been terminated. Therefore, if the rate that is
read from the hardware during boot is not found in the table we
will run off the end of the table and read potential junk values.
NULL terminate all the L2 tables so that the loop in
find_cur_l2_level() is guaranteed to terminate.

Change-Id: Ia5d0213000b44def35e388fd3cadf0293344257b
Reported-by: Laura Abbot <lauraa@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>

Conflicts:

	arch/arm/mach-msm/acpuclock-8064.c