Commit graph

589914 commits

Author SHA1 Message Date
Linux Build Service Account
f485573f5a Merge "net: rmnet_data: Unset logical end points in bridge mode" 2017-05-25 15:52:04 -07:00
Linux Build Service Account
17f988f036 Merge "soc: qcom: smp2p: Fix simultaneous access of global loopback data" 2017-05-25 15:52:03 -07:00
Linux Build Service Account
20dfa6c9f7 Merge "qcom: common_log: make dump registration as async" 2017-05-25 15:52:02 -07:00
Linux Build Service Account
73f6909d54 Merge "spmi-pmic-arb: add support to dispatch interrupt based on IRQ status" 2017-05-25 15:52:01 -07:00
Linux Build Service Account
e2a2179d4e Merge "spcom: check error from ion_import_dma_buf()" 2017-05-25 15:52:00 -07:00
Linux Build Service Account
09173073cf Merge "spcom: silent error messages until spss link is up" 2017-05-25 15:51:59 -07:00
Linux Build Service Account
97b8c1c0f8 Merge "usb: pdphy: Widen voltage range setting for VDD regulator" 2017-05-25 15:51:58 -07:00
Linux Build Service Account
fafa9a46eb Merge "usb : dwc3: Initialize kernel stack variables properly" 2017-05-25 15:51:57 -07:00
Linux Build Service Account
f95c3de80f Merge "ASoC: msm: qdsp6v2: Add IEC61937 compressed HDMI pass-though" 2017-05-25 15:51:57 -07:00
Linux Build Service Account
bed872f1a6 Merge "ASoC: msm: qdsp6v2: Extend pass through mode per stream" 2017-05-25 15:51:56 -07:00
Linux Build Service Account
2c0e368fdc Merge "msm: ipa: Fix post init in workqueue context" 2017-05-25 15:51:55 -07:00
Linux Build Service Account
88e1c449dc Merge "spcom: increment channel reference count after successful glink_open()" 2017-05-25 15:51:54 -07:00
Linux Build Service Account
eadd4e3181 Merge "USB: f_qc_rndis: Prevent use-after-free for _rndis_qc" 2017-05-25 15:51:53 -07:00
Linux Build Service Account
7217c5a9c1 Merge "ARM: dts: msm: Add iris support on sdm630" 2017-05-25 15:51:52 -07:00
Linux Build Service Account
b133f848d1 Merge "mmc: block: Disable clock scaling during shutdown" 2017-05-25 15:51:51 -07:00
Linux Build Service Account
8a4a2650e0 Merge "drm/sde: only set split registers for DSI interfaces" 2017-05-25 15:51:50 -07:00
Linux Build Service Account
0c3a4a97b1 Merge "SDM660: ADSPRPC: Fix for NULL pointer dereference" 2017-05-25 15:51:49 -07:00
Linux Build Service Account
599b4011d6 Merge "drm/msm: wait fence complete before flip" 2017-05-25 15:51:48 -07:00
Linux Build Service Account
768b5c4389 Merge "soc: qcom: Fix failure prints in rpm stats and log" 2017-05-25 15:51:47 -07:00
Linux Build Service Account
207cc877c1 Merge "policy_engine: Don't allow MODE change if no active connection" 2017-05-25 15:51:46 -07:00
Linux Build Service Account
136473547f Merge "power: qpnp-smb2: remove workaround for USBIN supplied VCONN" 2017-05-25 15:51:45 -07:00
Linux Build Service Account
8d140659e0 Merge "msm: ais: Security fixes for ispif and cpp" 2017-05-25 15:51:44 -07:00
Linux Build Service Account
3b0f0430c6 Merge "ARM: dts: msm: Add USB2 device node for SDM660" 2017-05-25 15:51:41 -07:00
Linux Build Service Account
c1a961ce2f Merge "coresight-remote-etm: Adds missing lock to avoid race condition" 2017-05-25 15:51:40 -07:00
Linux Build Service Account
3964778c1a Merge "Merge remote-tracking branch 'origin/tmp-285c137' into msm-4.4" 2017-05-25 15:51:39 -07:00
Linux Build Service Account
e1cafe626d Merge "USB: composite: Advertise USB version as 0x200 if max speed is HS" 2017-05-25 15:51:38 -07:00
Linux Build Service Account
bb0e94e12d Merge "ARM: dts: msm: Update ref-clk node for sdm660" 2017-05-25 15:51:37 -07:00
Linux Build Service Account
e40889b85d Merge "usb: phy-msm-qusb-v2: Add support for reference counting of regulators" 2017-05-25 15:51:35 -07:00
Linux Build Service Account
23dec079ae Merge "ASoC: msm-cpe: Fix range checking in function fw_name_store" 2017-05-25 15:51:34 -07:00
Linux Build Service Account
61bb06dc05 Merge "input: synaptics_dsx: fix mutex init" 2017-05-25 15:51:33 -07:00
Linux Build Service Account
03144dd756 Merge "soc: qcom: msm_perf: Initialize Array elements" 2017-05-25 15:51:32 -07:00
Linux Build Service Account
4b9efedb4a Merge "ARM: dts: msm: Add flash handle to camera1 device on SDM660" 2017-05-25 15:51:32 -07:00
Linux Build Service Account
c63ad80553 Merge "drm/msm: deal with arbitrary # of cmd buffers" 2017-05-25 15:51:31 -07:00
Linux Build Service Account
8d009ce8ad Merge "msm: camera: isp : Fix race condition in close sequence" 2017-05-25 15:51:30 -07:00
Linux Build Service Account
09db61a0c0 Merge "ARM: dts: msm: Add entry for video throttle clock on sdm660 and sdm630" 2017-05-25 15:51:29 -07:00
Linux Build Service Account
89e9361ac2 Merge "firmware_class: Avoid pending list corruption" 2017-05-25 15:51:28 -07:00
Linux Build Service Account
12d9944bfa Merge "ASoC: msm: qdsp6v2: Fix voice call and record SSR test" 2017-05-25 15:51:27 -07:00
Linux Build Service Account
8a0aed96a2 Merge "usb: policy_engine: Close pd phy after exceeding SINK hard reset count" 2017-05-25 15:51:26 -07:00
Sai Krishna Juturi
aa9b48f2b4 usb : dwc3: Initialize kernel stack variables properly
If kernel stack variables are not initialized properly,
there  is a chance of kernel information disclosure.
So, initialize kernel stack variables with null characters.

CRs-fixed: 2042592
Change-Id: I213c0e5c7f67824c2cecace276ff2f8f81599d51
Signed-off-by: Sai Krishna Juturi <jsaikrishna@codeaurora.org>
2017-05-22 02:17:42 -07:00
Terence Ho
f40088eb36 msm: ais: Security fixes for ispif and cpp
Check the user parameters in ispif to prevent buffer overflow.
Fix out-of-bounds frame or command buffer access in cpp.

CRs-fixed: 1097390 2002207
Change-Id: Ifdaf223d1b1c418596c2fb43d970dad728abd4a3
Signed-off-by: Terence Ho <terenceh@codeaurora.org>
Signed-off-by: Andy Sun <bins@codeaurora.org>
2017-05-22 11:29:54 +08:00
Amir Samuelov
ab15752d1c spcom: check error from ion_import_dma_buf()
Check ion_import_dma_buf() returned handle is not NULL or error code,
by using IS_ERR_OR_NULL() macro.
Check channel name is null terminated on create channel command.
Check minimal command size from user space.
Fix spelling.

Change-Id: I81631c1844982952498eaf2bff84ff90578720b2
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2017-05-21 08:30:48 -07:00
Amir Samuelov
33af82c1f5 spcom: silent error messages until spss link is up
After spss reset (a.k.a SSR) the spdaemon tries to open spcom char dev.
Avoid flooding the kernel log with error messages until the spss link
is up.

Change-Id: I7abd37f50fa4c172e07c8551c287b6ccf0511a44
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2017-05-21 05:13:16 -07:00
Amir Samuelov
4f7c1784fa spcom: increment channel reference count after successful glink_open()
spcom_open() should increment the ref count only after successful glink
open the channel.
Otherwise, the following attempts to open the channel will fail.
glink_open() failure was noticed after SP reset (SSR), when attempting
to open the channel before the link between SP and HLOS is up.

Change-Id: I8be28ce810f54cc3fa95d14c7244921acf7edaa7
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2017-05-20 23:44:11 -07:00
Linux Build Service Account
60be71604a Merge "qpnp-smb2: fix FV and FCC reporting" 2017-05-20 01:37:19 -07:00
Linux Build Service Account
474a2a48ad Merge "msm: vidc: Cancel userptr validation during secure decode" 2017-05-20 01:37:18 -07:00
Linux Build Service Account
9ec1caea12 Merge "ASoC: msm: qdspv2: Rename HDMI drift mixer controls" 2017-05-20 01:37:17 -07:00
Linux Build Service Account
2bb69ccc76 Merge "ion: fix logical-not comparison warning" 2017-05-20 01:37:16 -07:00
Linux Build Service Account
bb49ae3282 Merge "coresight-tmc: Adds lock to avoid race condition" 2017-05-20 01:37:15 -07:00
Linux Build Service Account
df39bd34da Merge "msm: wlan: Update regulatory database" 2017-05-20 01:37:14 -07:00
Linux Build Service Account
d4f03a30ac Merge "msm_11ad: clear affinity hint upon low bus request" 2017-05-20 01:37:13 -07:00