Merge Samsung release N9005XXUFNF4 (Update 8)

Change-Id: I36dd5d2d17648c3e9b33757f5659f5a59866e79e

Conflicts:
	arch/arm/kernel/smp.c
	arch/arm/mach-msm/Kconfig
	drivers/input/keyboard/gpio_keys.c
	drivers/media/isdbt/Makefile

Includes revert of this
ARM: smp: BUG() if smp_send_reschedule() is called for an offline cpu
https://github.com/temasek/android_kernel_samsung_hlte/commit/45682cf04d8f42ac245b70355689cbf0b27c17a9

Patchset: 1
http://review.cyanogenmod.org/#/c/68869/

Conflicts:
	arch/arm/configs/msm8974_sec_defconfig

Conflicts:
	arch/arm/mm/proc-v7-2level.S
isdbt: Fix the build

 * "make mrproper" failed due to missing files.

Change-Id: I604d3e8fcc029b05a86438b0eb0540ad8fab87aa
msm: kgsl: Protect CP_STATE_DEBUG_INDEX

Put CP_STATE_DEBUG_INDEX and CP_STATE_DEBUG_DATA under protection
to keep it from being written from an IB1. Doing so however opens
up a subtle "feature" in the microcode: memory read opcodes turn off
protected mode in the microcode to do the read and then turns it
back on regardless of the initial state. This is a problem if the
memory read happens while protected mode is turned off and then we
try to access a protected register which then complains and goes boom.

To account for this irregularity explicitly turn back off protected
mode in all the places where we know this will be a problem.

Change-Id: Ic0dedbad1397ca9b80132241ac006560a615e042
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
msm: kgsl: Mark mmapped objects with VM_DONTCOPY

Add VM_DONTCOPY to the default set of mmap flags to keep VM objects
from being copied on fork() and causing issues.  KGSL file descriptors
copied to a child are not expected to be usable.

Change-Id: Ic0dedbad85c07118a931ccb9f7a6fd0507da3e5a
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
msm: kgsl: Cleanup the memory free list

Tighten up the memory free list code and remove the memory unused
debugfs file.  Outside of the cleanup the functional changes are
a) move the mutex to a spinlock for speed, and b) only return the
last entry in the list for given pid/gpu address combination.

Conflicts:
	drivers/gpu/msm/kgsl.c
	drivers/gpu/msm/kgsl.h
	drivers/gpu/msm/kgsl_debugfs.c

Change-Id: Ic0dedbad9595302e2b42de2807fa82c425d1717f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
msm: kgsl: hold a process_private refcount in process_mem_print

There is a possible race condition where the process can be going
away while its debugfs 'mem' file is being read, which could cause
memory corruption.

Conflicts:

	drivers/gpu/msm/kgsl.c

CRs-Fixed: 627780
Change-Id: I697486faeb3f186fd1220d0acc1e449a4f7b77b0
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Revert "fs: exFAT: Update to v1.2.9"

This reverts commit 998391ee0b5ca35027d8980989fa5596b1cd7157.
Merge Samsung release N9005XXUFNG2 (Update 9)

SM-N9005_KK_Opensource_Update9.zip

 - Properly merge mdss changes
 - Fix previously durped fs/exfat (during Update 8)
 - After batch merging with 'patch -p1',
   all changes were validated with human eyes to remove
   duplicates(e.g. kernel/futex.c)
   and mismatched functions(e.g. sound/soc/soc-dapm.c)

Change-Id: I923889f048b4a0984e73c1eaec79851f6bda7f78
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>

Conflicts:
	drivers/net/wireless/bcmdhd/Makefile
	drivers/video/msm/mdss/mdnie_lite_tuning_data_hlte.h
	drivers/video/msm/mdss/mdss_samsung_dsi_panel.c
	drivers/w1/w1.c
	fs/buffer.c
	fs/exfat/exfat_version.h
	net/ipv4/ping.c
	net/netlink/af_netlink.c

Conflicts:
	drivers/net/wireless/bcmdhd/Makefile
	drivers/tty/serial/msm_serial_hs_lite.c
	fs/sdcardfs/mmap.c
Build v0.32