[ARM] msm: trout/sapphire: move *_CPLD_BASE outside the vmalloc range

SAPPHIRE_CPLD_BASE and TROUT_CPLD_BASE were inside the range of memory
allocated by the kernel for virtual mappings, causing the IO mapping
to be overwritten if the kernel allocated the space.

To reproduce, allocate then deallocate all virtual kernel memory.
The mapping will be removed and the kernel will crash when any of
the IO memory is accessed (e.g. for changing phone brightness).

Change-Id: I74d0afa61535ae1ce27c7d1332ff0155af860799
Signed-off-by: Christopher Lais <chris+android@zenthought.org>
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
[ARM] msm: mahimahi: Debounce power key.

Change-Id: Idab3e31b5c9627056f6e8addc58b3338ffb22433
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
sched: Add a generic notifier when a task struct is about to be freed

This patch adds a notifier which can be used by subsystems that may
be interested in when a task has completely died and is about to
have it's last resource freed.

  The Android lowmemory killer uses this to determine when a task
it has killed has finally given up its goods.

Change-Id: I76ca195f88c264c7af21ff6458df05d0a03b3434
Signed-off-by: San Mehat <san@google.com>
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
[ARM] msm: sapphire: give 3MB back to the system (with radio update)

Change-Id: Ifbefabfe65b4fb2b38aa3b2ea4a3336d09ad534a
Signed-off-by: Iliyan Malchev <malchev@google.com>
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
net: wireless: bcm4329: Add SoftAP MAC address randomization

Change-Id: I269942b34912d349fe57cbdd9d212fcfdf976446
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
msm: 7x27: Add TSIF driver platform specific data

Add TSIF driver 7x27 platform specific configuration.

Change-Id: I17cabec4f7c10b8f20d36908124616e3b439817c
Signed-off-by: Lena Salman <esalman@codeaurora.org>
msm: 8x50: Add TSIF clock names to board file

TSIF clocks change between platforms, so declare those as platform data.

Change-Id: Ia86b60b7c1c764e5b5ff03af6e9fc74bead01803
Signed-off-by: Lena Salman <esalman@codeaurora.org>
msm: 7x30: Add TSIF driver platform specific data

Add TSIF driver 7x30 platform specific configuration.

Change-Id: I3af481c371e36db35b84ea68e2f20e538cc64b6c
Signed-off-by: Lena Salman <esalman@codeaurora.org>
misc: tsif: Change the order of stop TSIF HW and DMA exit

Current order was causing DMA to be stalled on some platforms.
Also add better handling or error cases in the action_open
function.

Change-Id: I6250e88a7beec8cc23498d15db62a2dd94ed48f4
Signed-off-by: Lena Salman <esalman@codeaurora.org>
input: cy8c_ts: Add early suspend feature.

Support early suspend for tmg200 touchscreen so that
it can goto sleep after screen is blank and not to wait
till system power collapse.

Change-Id: I4acc939940c14c8e85f77363b78077e9e3d782ff
Signed-off-by: Mohan Pallaka <mpallaka@qualcomm.com>
defconfig: 7630: Enable performance profiling for SD/MMC.

Change-Id: I9bde72d2bdacc432ad42fb01999c430a5318ab3d
Signed-off-by: Aparna Mallavarapu <aparnam@qualcomm.com>
defconfig: 8660: Enable performance profiling for SD/MMC.

Change-Id: I4e7311d1ee3be620dda7b6dc7d7497f84c6c02c1
Signed-off-by: Aparna Mallavarapu <aparnam@qualcomm.com>
msm: defconfig: Enable performance profiling for SD/MMC.

Change-Id: I0faa640c497360f134f1e97ef9189895b103b70f
Signed-off-by: Aparna Mallavarapu <aparnam@qualcomm.com>
defconfig: 8x50: Enable performance profiling for SD/MMC.

Change-Id: I7e24d7e94ba0fa998929d12e801da6f710d05766
Signed-off-by: Aparna Mallavarapu <aparnam@qualcomm.com>
misc: pmic8058-vibrator: Add suspend and resume functionality

Change-Id: I3c1d78f450d775d602c2b58c07f28983b69eaba8
Signed-off-by: Mohan Pallaka <mpallaka@qualcomm.com>
rtc: rtc-pm8058: Move suspend and resume to dev_pm_ops

Change-Id: Ib72e53db2c3822d7f785221989fa224f746df240
Signed-off-by: Mohan Pallaka <mpallaka@qualcomm.com>