Re-enable standalone power collapse on d2 and apex devices

Change-Id: I20ece0b0ffc356e5d8a9112dba505a65f7f85fc3
defconfig: Enable NOTRACK target

Configuration changes to enable NOTRACK target in iptables to
provide the ability to exempt certain traffic from being tracked
by the Linux connection tracking mechanism

CRs-Fixed: 534213
Change-Id: I6a51c9d26543de185c9d4d6c9f3abec61687a2a6
Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
diag: Change maximum size of error response

Diag currently allows error responses of length 490 bytes. This is
outdated as we support 4K responses on the Apps. This patch changes
the Apps buffer size to 4K and also the limit on the error response
length.

Change-Id: I8212bf000a7493b756b5ac0e428c3b2e4be9e9c6

CRs-Fixed: 512035
Signed-off-by: Ravi Aravamudhan <aravamud@codeaurora.org>
diag: NRT read wakelocks held for very long time

During on-device logging with '-b' option,
NRT read wakelocks i.e. diag_nrt_modem_read
and diag_nrt_wcnss_read were held for more than
a day's time. This patch releases the wakelocks
even if SMD channel will be closed.

Change-Id: I7d211aaeaeb8d59369a191c5eef54c02a1b4a61d
CRs-Fixed: 513309
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
msm: kgsl: Hold driver process mutex till sysfs entries deleted

sysfs entries deletion logic is not under the driver
process mutex lock, there was a Camera test case
where a single process was trying to call
kgsl_open/kgsl_release very rapidly from multiple
thread, sometimes sysfs entries remained valid
and kgsl_open was trying to create new sysfs
entries for same process id. This caused
WARNING in kernel logs "sysfs: cannot create
duplicate filename '/devices/virtual/kgsl/kgsl/proc/277'"
This change holds the driver process mutex
lock till sysfs entries are deleted.

Change-Id: I0f66314e704c2b53657961303f76e2bd4f34e5b5
Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org>
msm_serial_hs:Enable Error/Break Char off

Following the Hardware Sequence enabling
RX_ERROR_CHAR_OFF and RX_BREAK_ZERO_CHAR_OFF in
MR2 register, for not allowing the Break and
parity/frame Error characters into Rx FIFO.

CR Fixed: CR538141

Change-Id: I1b6aaf60e6850cf6281abcc3c841bb6a316e81a4
Signed-off-by: Dilip Kota <c_dkota@codeaurora.org>
msm_serial_hs:Wake locks

Adding wake locks while issuing force stale event

CR Fixed: CR538259
Change-Id: I47b55831154f34cbb8e1aaa3a7d11ed2b652e804
Signed-off-by: Dilip Kota <c_dkota@codeaurora.org>
msm: wfd: Flush encoder after stopping VSG

VSG_STOP's completion is dependent on all buffers being returned back
to VSG. Hence, flush encoder earlier so that the core returns all input
buffers back.

Change-Id: I0324a4c1ec04bc91fef94b11b54c2721dbf73322
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
Merge "msm_serial_hs:Enable Error/Break Char off"
Merge "msm_serial_hs:Wake locks"
msm: vidc: free the recon buffers in cleanup function

- The recon buffers were not released when video recording
  was killed abruptly leading to memory leak.

- Fix provided to release the recon buffers when media
  server killed abruptly.

Change-Id: I48ac1a592719446b7e4bf87bbd707d09351d1e61
Signed-off-by: srikarri <sridur@codeaurora.org>
Merge "msm: wfd: Flush encoder after stopping VSG"
msm_fb: display: Add support to YCBYCR MDP format

Add support of MDP_YCBYCR_H2V1 interleaved YUV format to MDP
for a-family targets.

Change-Id: I5afb84a95693d1ced114152364782a10c4d56bc2
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
msm: rotator: Add support to YCBYCR rotator format

Add support for MDP_YCBYCR_H2V1 interleaved YUV format in rotator
block.

Change-Id: I4bb192aaab1e72f6e5687ae222a5f9ea2c254bd4
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
Merge "msm: vidc: free the recon buffers in cleanup function"
Revert "hwmon: qpnp-adc-scale: Fix batt_therm mapping table"

This reverts commit d880c962244e39a4f51406c3154c5dd65f596e3a

Change-Id: Ie850e18f6d226a33964c091d2bb894f6e0866997
Merge "diag: NRT read wakelocks held for very long time"
Merge "Revert "hwmon: qpnp-adc-scale: Fix batt_therm mapping table""
d2 et al.: disable OABI compat

Commit fefc65c201fc50bd4f22602292bbf48c8df23450 removed the requirement
for OABI compatibility back in April due to TLB crashes, but we still
have it on.

There is no reason I can think of to leave this on.

Change-Id: Idec3a3f4a931db601ad469e892b30eb18be4deed
prima 3.2.3.172

Change-Id: Ic8e7d319f76430ad5b807eb2a5264d2c66c86359