msm: restart: Allow reboot to bootloader

 - boot path is laf partition
 - There is no such thing as magic!

MOV             R3, #0x6C616664
CMP             R5, R3
BEQ             loc_FF04E7C
e7wifi/lte: Fix build with dtb
e7wifi/lte: Remove LGE's LCD_KCAL driver
msm: mdss: Add KCAL support for rgb/lut control

 - Supports only mdss_mdp lut
 - mdp3 support requires direct integration with the display controller

Change-Id: I86ceb83cdf9af92f628ea0572b13040c04b7e5ea
configs: Add furnace config
PM: devfreq: Fix simple_ondemand crashing on startup

simple_ondemands private data must be set to NULL, otherwise we would
run into a NULL pointer in kgsl_devfreq_get_dev_status().

Change-Id: I6cc6a8b11e3b58b8c3e3c26d43ee36949cf62351

Signed-off-by: flar2 <asegaert@gmail.com>
scripts: Do not append plus character if dirty
setlocalversion: only use first line of git show-ref

When executing the code "git show-ref -s --abbrev --tags $tag" and the
output spans multiple lines, it results in generation of a directory
in the kernel objects causing build failure.

Ex:

$ git show-ref -s --abbrev --tags LNX.LA.3.2-00520-8x26
04163f5
04163f5

Results in:

"ln: target `04163f5-00951-g2403ab9/source' is not a directory"

Fix this by pruning anything after the first line of output.

Change-Id: Iebe1e6fa88951ec0f1dab383adeb6faa72872295
Signed-off-by: Jason Hrycay <jason.hrycay@motorola.com>
Added fsync on/off support.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
fs: sync: enable fsync by default.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
fs: sync: add missing return if fsync is disabled from userspace.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
cpufreq: interactive: delete timers for GOV_START

Make sure that timers cpu_timer and cpu_slack_timer
deactivated before addition of new.

Change-Id: If31c4049606871df6f00efdc24b1d713c86a6f69
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Git-commit: b430123367e78a6557bac3cf1558bcb85193fb12
Git-repo: https://android.googlesource.com/kernel/common/
[mattw@codeaurora.org: resolved trivial context conflict]
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
cpufreq: interactive: don't schedule timer on offline cpu

It shall not add timer on an offline CPUs, else it will cause
kernel panic.

And also don't reschedule the timer on an offline cpu in idle
and timer callback. Actually the timer shall be cancelled when
cpu is offline.

Change-Id: Id314f15be3d12ab49e5cdcf6ae89bd88b376308a
Signed-off-by: Lianwei Wang <a22439@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/539160
SLT-Approved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
cpufreq: Manage only online cpus

cpufreq core doesn't manage offline cpus and if driver->init() has returned
mask including offline cpus, it may result in unwanted behavior by cpufreq core
or governors.

We need to get only online cpus in this mask. There are two places to fix this
mask, cpufreq core and cpufreq driver. It makes sense to do this at common place
and hence is done in core.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Change-Id: If6c5f430bd0319c16e628cc4c281bdbe62dd3b6a
Reviewed-on: http://gerrit.pcs.mot.com/550667
Reviewed-by: Lian-Wei Wang <a22439@motorola.com>
SLT-Approved: Slta Waiver <sltawvr@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Guo-Jian Chen <a21757@motorola.com>
Reviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>
furnace: Enable CPU_FREQ_GOV_INTERACTIVE
msm: restart: Add furnace boot mode