d2: wifi: pass ipv6 in suspend

fixes no notifications on ip6 networks

Change-Id: Ic2b93d67eba92be90a9b403f27d5a0ab97446cf9
d2: turn on IPC Router Security and IPC Logging

Logcat---
Fixes I/irsc_util(  189): irsc_feed_config: Security config ioctl failed

and

dmesg---
msm_ipc_router_init: Unable to create IPC logging for IPC RTR
msm_ipc_router_ipc_log_init: Unable to create IPC logging for Req/Resp
msm_ipc_router_ipc_log_init: Unable to create IPC logging for Indications
bam_dmux_init : unable to create IPC Logging Context

Change-Id: Ice7e27a5daf6700c51fd739fb9ca450c34612dc4
ARM: mm: avoid flushing exec anonymous pages with non-aliasing caches

Given that userspace can't rely on the kernel to flush pages that are
mapped as executable after having been written to by the user, we can
avoid flushing anonymous executable pages when we don't have an aliasing
data cache.

This patch skips the cache maintenance in __sync_icache_dcache for this
scenario, bringing us in-line with the arm64 implementation.

Cc: Albin Tonnerre <albin.tonnerre@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Revert "ASoC: msm: qdsp6v2: add support to enable TTY during VoLTE call"

This reverts commit 4abc766f35314bb799d66e62a794df0702fc0dbe.

Change-Id: I80f3906a1dcc48acc59e015bf6e319d3b6b16c57
Merge "Revert "ASoC: msm: qdsp6v2: add support to enable TTY during VoLTE call"" into cm-11.0
mm: pksm: Import AnonPage-KSM v0.2

PKSM v0.2 by Figo.zhang with some minor changes for linux-3.4.104

Change-Id: I9c442b807c9017f979f894319511a90ac0964d14
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
mm: pksm: Provide support to use deferred timers for scanner thread

Based on CodeAurora's dd4c913102343a7aa8940a422ab2eacc58ada928, allowing
pksm to use deferred timers in the same manner as ksm.

Change-Id: Iecfe35eafbc957f8abde6fd69a3abd72b363d6a2
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
Merge remote-tracking branch 'cm/cm-11.0' into A3-21
mm: pksm: Split common ksm sysfs from pksm (for CM init)

CyanogenMod modifies ksm on init, so keep the common ksm sysfs files
in their original place.

Change-Id: I43bc7028092953ead37077931ab95270630dbe8c
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
mm: pksm: Clean up warnings

Skimp out on some unused functions.

Also fix:
mm/pksm.c: In function 'is_full_zero':
mm/pksm.c:156:23: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]

Change-Id: I65cf0de70aaf0708cc57e278682358cad6f5fed8
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
mm: pksm: Optimize is_full_zero for ARM

Include a slightly more optimized is_full_zero, using bits from
ARM's memcmp.

Change-Id: I1403bdd13639f66284dc9a08e56a811031cd1b15
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
mm: pksm: Attempt to fix null pointer dereference

Remove unneeded initializations & structure alloc_stable_anon to be
more like its non-anon counterpart in ksm.

(2 days of testing show no null pointer dereferencing)

Change-Id: Ica923048f7eb9127621b59e0b0e0d8135cd87cb9
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
mm: pksm: Use hash_cmp for x86 only

Change-Id: I122aaa39e70b39c04bcd6d15f1aa82f31eda45dd
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
Revert "msm: memutils:  memcpy, memmove, copy_page optimization"

Incorrect patch is incorrect.
This reverts commit 8442033a3cfcaaffafc427a67b74752f10cf2c16.
msm: memutils:  memcpy, memmove, copy_page optimization

Preload farther to take advantage of the memory bus, and assume
64-byte cache lines.  Unroll some pairs of ldm/stm as well, for
unexplainable reasons.

Future enhancements should include,

- #define for how far to preload, possibly defined separately for
  memcpy, copy_*_user
- Tuning for misaligned buffers
- Tuning for memmove
- Tuning for small buffers
- Understanding mechanism behind ldm/stm unroll causing some gains
  in copy_to_user

BASELINE (msm8960pro):
======================================================================
memcpy 1000MB at 5MB       : took 808850 usec, bandwidth 1236.236 MB/s
copy_to_user 1000MB at 5MB : took 810071 usec, bandwidth 1234.234 MB/s
copy_from_user 1000MB at 5M: took 942926 usec, bandwidth 1060.060 MB/s
memmove 1000GB at 5MB      : took 848588 usec, bandwidth 1178.178 MB/s
copy_to_user 1000GB at 4kB : took 847916 usec, bandwidth 1179.179 MB/s
copy_from_user 1000GB at 4k: took 935113 usec, bandwidth 1069.069 MB/s
copy_page 1000GB at 4kB    : took 779459 usec, bandwidth 1282.282 MB/s

THIS PATCH:
======================================================================
memcpy 1000MB at 5MB       : took 346223 usec, bandwidth 2888.888 MB/s
copy_to_user 1000MB at 5MB : took 348084 usec, bandwidth 2872.872 MB/s
copy_from_user 1000MB at 5M: took 348176 usec, bandwidth 2872.872 MB/s
memmove 1000GB at 5MB      : took 348267 usec, bandwidth 2871.871 MB/s
copy_to_user 1000GB at 4kB : took 377018 usec, bandwidth 2652.652 MB/s
copy_from_user 1000GB at 4k: took 371829 usec, bandwidth 2689.689 MB/s
copy_page 1000GB at 4kB    : took 383763 usec, bandwidth 2605.605 MB/s

Change-Id: I843fe77192d61ce35a81e75d76fc09f0a472e98a
Signed-off-by: Chris Fries <C.Fries@motorola.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
	arch/arm/mach-msm/Makefile
arm: memutils: Do not build duplicate memcpy

The memcpy in arch/arm/lib isn't needed for msm memutils.

Change-Id: Ibf9d2db271d572d95942020112b49740bcb338a4
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
Merge "d2: wifi: pass ipv6 in suspend" into cm-11.0
Merge "d2: turn on IPC Router Security and IPC Logging" into cm-11.0
Merge branch 'harkness2' into A3-21
bluetooth: update bluetooth-power platform data

Update bluetooth power driver to support both device tree and
board specific platform data to power on bluetooth chipset.

Current driver supports only gpio data from the device node.
Now the driver first checks for device tree node and if it
does not exist then checks for the platform data from the
board file.

Updated the platform data for the driver to provide all the
required vregs and gpio data to power on the bluetooth
chipset.

Change-Id: Ie71115ad7173fc527e46b334a8b548762b40aa46
Signed-off-by: Ram Mohan Korukonda <rkorukon@codeaurora.org>
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>