Merge branch 'N3-CM-Unified-EXP' into N3-CM-Unified
ksm: Provide support to use deferred timers for scanner thread

KSM thread to scan pages is getting schedule on definite timeout.
That wakes up CPU from idle state and hence may affect the power
consumption. Provide an optional support to use deferred timer
which suites low-power use-cases.

To enable deferred timers,
$ echo 1 > /sys/kernel/mm/ksm/deferred_timer

Change-Id: I07fe199f97fe1f72f9a9e1b0b757a3ac533719e8
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
mm/ksm: engage deferred timer by default

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: only apply suspend/resume logic if active

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: fix incorrect cpufreq API usage

This resolves the wakeup kick and screen off max issues

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: initialize ip_info struct element during driver init

this will eliminate race issues

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: use primary CPU's info data for non-boot cpu's settings

Async CPU design has caused quite a bit of grief for controlling cpu
frequencies

bump to version 3.8

Signed-off-by: Paul Reioux <reioux@gmail.com>
drivers/cpufreq/cpufreq_intelliactive.c: GCC 4.9.x warning fix up

Signed-off-by: Paul Reioux <reioux@gmail.com>
include/linux/sunrpc/cache.h: GCC 4.9.x fixup

Signed-off-by: Paul Reioux <reioux@gmail.com>
net/sunrpc/svcauth_unix.c: GCC 4.9.x fixup

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: older Qualcomm kernel compatibility fixup

ARGH... really angry at CAF code.

some cpufreq driver APIs are incredibly unstable with some of the older
MSM kernels.  The correct way is the fix the cpufreq drivers, but there are
tons of variations out there, so rather than depending on a fix, make
intelli_plug more universal by avoiding the troubling APIs altogether

Signed-off-by: Paul Reioux <reioux@gmail.com>
drivers/exfat: add Samsung's open source exFat module version 1.2.4

Signed-off-by: Paul Reioux <reioux@gmail.com>
exfat: AIO Optimization compatibility fixup

Signe-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	fs/Kconfig
drivers/Makefile: add exFat support

Signed-off-by: Paul Reioux <reioux@gmail.com>
drivers/video/msm/mipi_novatek.c: gcc 4.8.x fixup

Signed-off-by: Paul Reioux <reioux@gmail.com>
Revert "intelli_thermal: compatibility fixup with latest msm_thermal driver"

This reverts commit d3cc175555f4ac3da83d5633488197aa0d067afe.
Revert "intelli-thermal: use its own dedicated workqueue"

This reverts commit d5390de93c39d57d628afe1b9b0a6ef31aab7801.
Revert "board-8974: initialize intelli_thermal engine"

This reverts commit 3f4728398ad5865e8c5bfb1d780ea06b17223339.
REVERT : intelli/msm_thermal: initial coding for Qualcomm Snapdragon 800 devices

an intelligent MSM thermal throttling kernel driver designed to replace the
closed sourced thermald(aemon) from Qualcomm.

The current driver can throttle the SOC via core frequency scaling or via
core hotplug with user configurable sysfs entries to adjust the throttling
temperature thresholds for each.

Derived from Qualcomm's Open source repo.

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	arch/arm/mach-msm/lge/board-8974-hammerhead.c
	drivers/thermal/Makefile (reverted from commit 4b184a088656cf025534ac5cd4746a8025cafbcc)
Linaro GCC 4.9.1: fix compilation errors