Commit graph

593720 commits

Author SHA1 Message Date
Linux Build Service Account
e3d53f3d2e Merge "msm: camera: fix off-by-one overflow in msm_isp_get_bufq" 2017-09-13 10:58:07 -07:00
Linux Build Service Account
9d4ca70315 Merge "msm: ais: sensor: flash: add conditional check for ioctl" 2017-09-13 10:58:06 -07:00
Linux Build Service Account
581c8764e2 Merge "msm: ais: Return -NOTTY on invalid ioctl command" 2017-09-13 10:58:05 -07:00
Linux Build Service Account
5a5b79c5fc Merge "msm: mdss: hdmi: configure hdcp feature support" 2017-09-13 10:58:04 -07:00
Linux Build Service Account
6b61088893 Merge "power: qcom: smb135x: change OTG regulator ops to static" 2017-09-13 00:17:51 -07:00
Linux Build Service Account
7d33335338 Merge "power: qpnp-fg-gen3: adjust ki coefficient for full soc dynamically" 2017-09-13 00:17:50 -07:00
Linux Build Service Account
234a1f3c32 Merge "usb: gadget: u_ether: Add NULL check in helper APIs" 2017-09-13 00:17:49 -07:00
Linux Build Service Account
c0125f4c90 Merge "usb: gadget: Update default class subclass and protocol for rndis" 2017-09-13 00:17:48 -07:00
Gaoxiang Chen
a476e30e30 msm: camera: fix off-by-one overflow in msm_isp_get_bufq
In msm_isp_get_bufq, if bufq_index == buf_mgr->num_buf_q,
it will pass the check, leading to off-by-one overflow
(exceed the length of array by one element).

CRs-Fixed: 2031677
Change-Id: I7ea465897e2c37de6ca0155c3e225f1444b3cf13
Signed-off-by: Gaoxiang Chen <gaochen@codeaurora.org>
2017-09-12 23:18:38 -07:00
Linux Build Service Account
14f6bfeeeb Merge "Merge android-4.4@610af85 (v4.4.85) into msm-4.4" 2017-09-12 14:41:58 -07:00
Linux Build Service Account
043f52c20a Merge "msm: kgsl: Protect the bind object against bad dereference" 2017-09-12 14:41:57 -07:00
Linux Build Service Account
e276155e6b Merge "msm: ipa: ipa_usb: teth_prot and ttype validation" 2017-09-12 14:41:48 -07:00
Rahul Sharma
5a12dd28f1 msm: ais: sensor: flash: add conditional check for ioctl
Add conditional check when sending VIDIOC_MSM_FLASH_CFG
in 32-bit process.

Change-Id: Ia4255aba26c634018163e2cc3c1170f71b1eb661
CRs-Fixed: 2092793
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-09-12 05:39:49 -07:00
Linux Build Service Account
b86ba37927 Merge "msm: camera: isp: Avoid stats data corruption." 2017-09-12 05:25:47 -07:00
Linux Build Service Account
c32cff4902 Merge "drm/msm/sde: remove out of bound access for qos lut parsing" 2017-09-12 05:25:46 -07:00
Linux Build Service Account
14bba4ad56 Merge "drm/msm: fix non-zero offset register dumping" 2017-09-12 05:25:45 -07:00
Linux Build Service Account
e21786a4b9 Merge "msm: vidc: Avoid adding failed instance into list" 2017-09-12 05:25:44 -07:00
Linux Build Service Account
468e3f4e6e Merge "ARM: dts: msm: add dummy SPSS ETM device for msm8998" 2017-09-12 05:25:35 -07:00
Linux Build Service Account
53b5648fac Merge "ASoc: msm: Add pm_qos_request_active condition check" 2017-09-12 05:25:34 -07:00
Ramesh V
b9c2cd1f65 msm: camera: isp: Avoid stats data corruption.
When several threads permanently, e.g., read/write the debugfs
file that triggers vfe_debugfs_statistics_read(), the content of
stats will be modified in an unintended manner, add spin_lock
to protect that.

Change-Id: I15d46498e669132ef1d1f5ad9c4305ee5fdb0da4
Signed-off-by: Ramesh V <ramev@codeaurora.org>
2017-09-12 10:21:26 +05:30
Linux Build Service Account
e9ecb016e6 Merge "msm: kgsl: Limit the kgsl log frequency in kgsl_get_unmapped_area()" 2017-09-11 19:13:15 -07:00
Linux Build Service Account
fd4b95e374 Merge "usb_bam: Delete IPA resources in usb_bam_remove()" 2017-09-11 19:13:14 -07:00
Linux Build Service Account
e2903e352e Merge "scripts: correct cflags for kasan" 2017-09-11 19:13:06 -07:00
Linux Build Service Account
36c840e480 Merge "ASoC: sdm660_cdc: Fix mute if compander is disabled" 2017-09-11 19:13:05 -07:00
Linux Build Service Account
b462476de7 Merge "dts: msm: Add QSEECOM heap node on msm8996 lfv platform" 2017-09-11 19:13:04 -07:00
Linux Build Service Account
11d92b2206 Merge "msm: thermal: Check cpu variables are initialized before setting threshold" 2017-09-11 19:13:03 -07:00
Linux Build Service Account
688a2e4ffa Merge "wil6210: ensure P2P device is stopped before removing interface" 2017-09-11 19:12:59 -07:00
Linux Build Service Account
6b1bf8fed1 Merge "wil6210: increase connect timeout" 2017-09-11 19:12:58 -07:00
Linux Build Service Account
03dbca91e5 Merge "wil6210: clear PAL_UNIT_ICR part of device reset" 2017-09-11 19:12:57 -07:00
Linux Build Service Account
dc6bd8cd1e Merge "wil6210: move pre-FW configuration to separate function" 2017-09-11 19:12:57 -07:00
Linux Build Service Account
f942b32006 Merge "msm: ipa: Cache CNE event" 2017-09-11 19:12:56 -07:00
Linux Build Service Account
1b2c9a8e53 Merge "msm: kgsl: Do not allocate scratch memory for A3xx" 2017-09-11 19:12:55 -07:00
Linux Build Service Account
38b0615244 Merge "ath10k: Destroy QMI handle during driver unload" 2017-09-11 19:12:54 -07:00
Linux Build Service Account
5bfea4d5e6 Merge "msm: sensor: flash: add conditional check for ioctl" 2017-09-11 19:12:53 -07:00
Linux Build Service Account
42a50b337e Merge "msm: kgsl: Fix gpu fault issue while enabling stall on page fault" 2017-09-11 19:12:52 -07:00
Linux Build Service Account
a3f5570db9 Merge "msm: kgsl: Add debug log in adreno_of_get_pwrlevels()" 2017-09-11 19:12:51 -07:00
Linux Build Service Account
80e3abb9dc Merge "ARM: dts: msm: Add Support for new PM660L/A versions for SDM660/SDM630" 2017-09-11 19:12:49 -07:00
Linux Build Service Account
1e90ddd7a0 Merge "ARM: dts: msm: Add FAN cooling device to msm8996 CV2X boards" 2017-09-11 19:12:48 -07:00
Linux Build Service Account
f8af069c22 Merge "msm: ais: isp: Check null pointer for VFE0 base" 2017-09-11 19:12:47 -07:00
Linux Build Service Account
f6927cde75 Merge "ARM: dts: msm: enable camera on SDM636 MTP" 2017-09-11 19:12:46 -07:00
Linux Build Service Account
bdb943e519 Merge "mmc: core: enable async suspend of card" 2017-09-11 19:12:44 -07:00
Linux Build Service Account
ac9c82fdd9 Merge "Revert "ARM: dts: msm: Add initial support for msm8998-9x55"" 2017-09-11 19:12:43 -07:00
Yigang Zheng
0b925d013e msm: vidc: Avoid adding failed instance into list
Fix system crash bug when run multiple vidc instances

Change-Id: I7716854c210bf8d1191e2744e555d42f42e4a1f5
Signed-off-by: Yigang Zheng <yigangz@codeaurora.org>
2017-09-11 18:20:23 -07:00
Abhinav Kumar
a1f29fd0b5 drm/msm: fix non-zero offset register dumping
Remove format identifiers in the register dumping
function which incorrectly recognizes the offset and
the count of the registers to be dumped.

Also, reduce the chunk of memory copied from the SDE
hardware register range to align with the existing
register dumping mechanism.

Change-Id: I1ce7148275f5287e568fe6efc8774f4d495cdaa4
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-09-11 07:14:57 -07:00
Mao Jinlong
6f9ae86766 scripts: correct cflags for kasan
Enable address sanitizer flags for kasan by default.

Change-Id: Ib08149a7d1af589fed3ce30659cb495d4bb2fb81
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2017-09-11 05:26:05 -07:00
Vijayavardhan Vennapusa
4fe177ec88 usb_bam: Delete IPA resources in usb_bam_remove()
Whenever dwc3_msm_probe() fails, it calls of_depopulate() to remove child
devices as part of cleanup. Due to this, usb_bam_remove() gets called to
do cleanup. But this API is not deleting IPA resources created during
probe and leads to creation of IPA resources fail, when probe is called
again. This eventually results in crash, when IPA driver calls notify
callback after PROD resource granted. Hence fix it by deleting IPA
resources in usb_bam_remove().

Also change enum type of ipa_rm_resource_prod/ipa_rm_resource_cons arrays
to enum ipa_rm_resource_name to fix sparse errors.

Change-Id: I3d9d0e1b26f1de0ba2b56b42c7e10a097d4fa8be
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-09-11 15:50:21 +05:30
Vatsal Bucha
d3c53d2a43 ASoC: sdm660_cdc: Fix mute if compander is disabled
Compander disable sequence does not get called
after headphone playback on fm. This results in
mute at one channel and low volume at other channel.
Low volume is resolved by setting analog mode to manual
while compander is off.
Also compander clock should be disabled at the end to
resolve mute issue.

CRs-Fixed: 2102126
Change-Id: I68e72f3b333117a8fdf379db30dc24de9bed7270
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2017-09-11 02:59:08 -07:00
Dhaval Patel
0667b6f916 drm/msm/sde: remove out of bound access for qos lut parsing
QOS LUT dtsi entries use existing hardware parsing APIs
but dos not increase the size of array. This causes out of
bound access while reading u32 lut array entry. This patch
fixes the array size and also adds checks to avoid future
out of bound access. It also fixes the memory leak in
qos lut parsing.

Change-Id: I98de052d03e1bcfd79d15ab99ca41d7782e56682
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-09-11 02:51:15 -07:00
Saranya Chidura
f1084458cc ARM: dts: msm: add dummy SPSS ETM device for msm8998
Add dummy device for SPSS ETM. This device can be used to
configure SPSS ETM trace path.

Change-Id: Idd060ce0de61acab7842103f47c838f4a618d9df
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-09-11 12:58:42 +05:30
Rahul Sharma
40f659bfc0 msm: ais: Return -NOTTY on invalid ioctl command
Check validity of command before processing.

Change-Id: Iecd66b90922f8ed4b7d8d50f7c3d7f27d5d93309
CR-fixed: 2083314
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-09-11 00:11:06 -07:00