android/lowmemorykiller: Ignore tasks with freed mm

A killed task can stay in the task list long after its
memory has been returned to the system, therefore
ignore any tasks whose mm struct has been freed.

Change-Id: I76394b203b4ab2312437c839976f0ecb7b6dde4e
CRs-fixed: 450383
Signed-off-by: Liam Mark <lmark@codeaurora.org>
msm_fb: display: calculate mdp clock including borderfill pipe

For hdmi case, mdp clock calculation needs including borderfill
pipe to prevent dtv underrun while system is in suspend.

Change-Id: Ibf6d9ab05b4f2d0666df9d82f8e9bd79b41bafbf
Crs-fixed: 449027
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Merge "android/lowmemorykiller: Ignore tasks with freed mm"
Merge "msm_fb: display: calculate mdp clock including borderfill pipe"
msm:camera: Add new vfe32 commands

Add new vfe32 commands for independent
gamma R, G, B values update and config

Change-Id: If81b3c1257a64c5c26f8baf7264cae79cd682675
Signed-off-by: Hariram Purushothaman <hpurus@codeaurora.org>
Merge "msm:camera: Add new vfe32 commands"
Merge commit 'AU_LINUX_ANDROID_JB_2.5.04.02.02.40.173' into HEAD

* commit 'AU_LINUX_ANDROID_JB_2.5.04.02.02.40.173': (47 commits)
  ASoC: msm: Add support to fix up the channels for HDMI
  msm: clock-8960: Correctly measure KPSS pass3 debug clocks
  ASoC: wcd9310: Reset OTHR_RESET_CTR before power down
  msm: kgsl: Always send fence sync the timestamp it expects
  USB: android: Rate limit android enable warning
  USB: Rate limit adb open and release messages
  USB: mdm_bridge: Fix control bridge suspend
  USB: mdm_bridge: Simplify data bridge suspend/resume path
  msm_fb: display: balance secure map and unmap in each mfd
  msm:camera: Add new vfe32 commands
  msm_fb: Update MDP fence wait behaviour
  misc: isa1200: properly disable clocks
  misc: isa1200: add device tree support
  media: dvb: Fix secure demux application load check
  wcnss: Add support for nv bin download at coldboot
  msm: audio: qdsp6v2: Add support to configure ISO and ARIB coefficients
  ASoC: msm: qdsp6: Add support to configure ISO and ARIB coefficients
  msm_fb: display: fix fence fd list be put twice
  ASoC: msm: Mixer control to update the sample rate of HDMI interface
  msm: Add null pointer checks
  ...

Change-Id: Ib3c203fc14760f185b85d2ded827bc66a549c2d8
Signed-off-by: Dhivya Subramanian <dthiru@codeaurora.org>
msm: Camera: Add new Actuator type and register init in config

Add HALL EFFECT Actuator and REG_INIT config for Actuator.

Change-Id: I775e2c58fd32b4371b1805ecfe48e88703715141
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Merge "Merge commit 'AU_LINUX_ANDROID_JB_2.5.04.02.02.40.173' into HEAD"
Merge "msm: Camera: Add new Actuator type and register init in config"
Merge commit 'AU_LINUX_ANDROID_JB_2.5.04.02.02.40.184' into HEAD

* commit 'AU_LINUX_ANDROID_JB_2.5.04.02.02.40.184': (62 commits)
  ASoC: msm: qdsp6: Check copp_id's array index
  msm_serial_hs_lite: Don't set UART clock to zero always
  msm: 8064: Add support for GSBI4 based UARTDM
  usb: f_serial: Remove unnecessary return statements in gport_setup
  wcnss: Configure bite interrupt as edge triggered
  mobicore: t-base-200 Engineering Release.
  mobicore: t-base-200 Engineering Release.
  msm: 8064: add platform device info for the sglte2 target
  msm: socinfo: add new subtype definition for the SGLTE2 target
  qup_i2c: Update clock ready check condition
  msm: kgsl: Add event tracepoints
  msm: kgsl: Resolve a potential race in the interrupt handler
  msm: kgsl: Check the current interrupt status before power operations
  power: pm8921-charger: Make charger removal detection workaround optional
  mobicore: statically assign minor device numbers
  mobicore: t-base-200 Engineering Release
  mobicore: MobiCore 1.2 kernel module Changes to MC11
  mobicore: New branch incorporating QC code review suggestions.
  net: usb: Add MUX support in embedded rmnet driver
  power: pm8921-charger: get rid of using LPM
  ...

Change-Id: I1e03b74fb1a49294563e31b9a8ac6e80477c2405
Signed-off-by: Dhivya Subramanian <dthiru@codeaurora.org>
msm: camera: Add IOCTL to set VFE Stats Version

Add new IOCTL for camera to get VFE stats version

Change-Id: I5e7cc57bdc5d8fec576a9880de7de0b604dcccb0
Signed-off-by: Hariram Purushothaman <hpurus@codeaurora.org>
Merge "Merge commit 'AU_LINUX_ANDROID_JB_2.5.04.02.02.40.184' into HEAD"
msm: pm: Update spm retention sequence to support per core retention

On krait revision < 3, power driver is not using full spm sequence and
calling into trustzone as a part of executing krait retention.
Also krait retention is not supported on secondary cores.

krait pass3 is upgraded to use full spm sequence, hence add support
for per core retention and avoid calling into trustzone
while executing retention.

CRs-fixed: 437281
Change-Id: I6a2b3d7c4d0fd5b9a340957b16b940b7a09bbd91
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
msm: pm: Add support for retention on each core

Allow each core on 8974 to enter retention and retain
the state of the CPU. On 8960 as hardware restriction does
not permit all cores to enter retention at the same time,
allow only core 0 to enter retention when all other cores
are offline to maintain backward compatibility.

CRs-fixed: 437281
Change-Id: I6690e901afc9fa3a27010c264fa3acc9a0722c1a
Signed-off-by: Priyanka Mathur <pmathur@codeaurora.org>
Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
Merge "msm: pm: Update spm retention sequence to support per core retention"
Merge "msm: pm: Add support for retention on each core"
msm: kgsl: Delete the context event while the context is still valid

Make sure that the context is freed only after the event is deleted
from the list to avoid accessing invalid list pointers. This makes
sure that the context memory is not accessed after being freed.

Change-Id: I9196219f1472396c0063dbeaa5351f66e6e5648f
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Signed-off-by: Uma Maheshwari Bhiram <ubhira@codeaurora.org>
Merge "msm: kgsl: Delete the context event while the context is still valid"
Merge "msm: camera: Add IOCTL to set VFE Stats Version"