Commit graph

598157 commits

Author SHA1 Message Date
annamraj
5925180360 msm: camera: Framedrop notification
Notify the frame drop using ioctl
VIDIOC_MSM_BUF_MNGR_BUF_ERROR

Change-Id: Ide54d98fd05e19f5e2d7e88b6b65e151aa257334
Signed-off-by: annamraj <annamraj@codeaurora.org>
2018-04-09 14:09:04 +05:30
Linux Build Service Account
ef00227cce Merge "clk: msm: osm: Update maximum number of bytes to read from buffer" 2018-04-08 07:55:03 -07:00
Linux Build Service Account
a04dcd98a4 Merge "qseecom: fix issues when processing blocked listener request" 2018-04-07 19:52:38 -07:00
Linux Build Service Account
85e30309f0 Merge "qseecom: block system signals when waiting for listener available" 2018-04-07 19:52:37 -07:00
Linux Build Service Account
1a206ae00d Merge "Revert "msm: vidc: Add support for decoder STOP command"" 2018-04-07 19:52:36 -07:00
Linux Build Service Account
81a479b128 Merge "ASoC: msm: qdsp6v2: add 24b capture support for tert mi2s" 2018-04-07 19:52:34 -07:00
Linux Build Service Account
8ca646263b Merge "[drm/sde] fix uninitialized src/dst size in sde plane" 2018-04-07 19:52:33 -07:00
Zhen Kong
4aa1034bf7 qseecom: fix issues when processing blocked listener request
When processing blocked listener request, ptr_app's app_blocked
flag should be set to prevent it being unloaded at this time;
Besides, need to check unblock request's scm_call response result
to see if it is blocked again; and removed redundant codes.

Change-Id: I2d72a88e9e600d6b7e944ae978b9d89a7b6db242
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2018-04-06 12:42:51 -07:00
Zhen Kong
b3ba6ffa2c qseecom: block system signals when waiting for listener available
Make change to block system signals when qseecom is waiting for
a blocked listener becomes available. This will prevent qseecom
being waken up by power collapse and returning to kernel, which
may cause XPU violation as TA req/resp buffer is still XPU protected
at this time

Change-Id: Ie5ea16f11ad653937236de042afb1bb5710123e6
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2018-04-06 12:42:38 -07:00
Camus Wong
d3fd31550b [drm/sde] fix uninitialized src/dst size in sde plane
SDE plane src/dst size is uninitialized and programmed to hw when
only color format is changed. This change will only configure hw
when src/dst size is calculated.

Change-Id: I5953f899a2c503b1d8f2577c28a67711b9ed9a67
Signed-off-by: Camus Wong <camusw@codeaurora.org>
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2018-04-05 23:52:59 -07:00
Linux Build Service Account
0148dbacea Merge "diag: Allocate DCI memory using vzalloc instead of kzalloc" 2018-04-05 18:47:25 -07:00
Linux Build Service Account
756af063bd Merge "icnss: Consider recovery as FW down" 2018-04-05 18:47:24 -07:00
Linux Build Service Account
08acb0dfc3 Merge "msm: ipa2: Fix IPA kernel NULL pointer dereference" 2018-04-05 18:47:22 -07:00
Linux Build Service Account
fa6082745d Merge "fbdev: msm: check buffer size before writing to user buffer" 2018-04-05 18:47:21 -07:00
Linux Build Service Account
8dc67c0f98 Merge "xhci: plat: Avoid xhci_resume if skip_resume flag is set" 2018-04-05 18:47:19 -07:00
Sanjay Singh
ee2e90e8fd Revert "msm: vidc: Add support for decoder STOP command"
This reverts commit 84d22be9dc ("msm: vidc: Add support for decoder
 STOP command")
There is regression for Video playback with this commit. Therefore,
it needs to be reverted.
Change-Id: Ibc4ca31c48e148063de60f59ea90d693d5657163
Signed-off-by: Sanjay Singh <sisanj@codeaurora.org>
2018-04-05 14:39:48 +05:30
Taniya Das
343f7e30c1 clk: msm: osm: Update maximum number of bytes to read from buffer
Currently the number of maximum bytes to be copied from buffer is
incorrectly using the size of buffer. Replace to use the count
which is the maximum number of bytes to be read.

Change-Id: I797c4dc0af626e347dfef43a754d0c469585ba55
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2018-04-05 10:59:40 +05:30
Mohammed Javid
5b2f7c5ec7 msm: ipa2: Fix IPA kernel NULL pointer dereference
Add changes to fix IPA kernel NULL pointer dereference issue

Change-Id: I090d900688f13bc80616e7a3c49f7e1d6cf1be0b
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-04-05 10:49:16 +05:30
Sameer Thalappil
9b96f692c0 icnss: Consider recovery as FW down
When WLAN driver encounters FW timeout scenarios, it may check if the
FW is down by calling icnss_is_fw_down() API. Recovery should also be
considered as FW down, as FW has not completely recovered and ready
for WLAN communication.

Change-Id: I4c9e15aacc5605dca823e2cfcbf6f87152aaa78e
CRs-Fixed: 2218795
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
2018-04-04 18:24:29 -07:00
Harsh Sahu
d24de74649 fbdev: msm: check buffer size before writing to user buffer
Check the number of bytes to copy against the size of the
user buffer before copy to user to avoid buffer overflow.

Change-Id: Icdd3d4e755deca19fa431e903620bd9e4c701c89
Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
2018-04-04 16:36:01 -07:00
Linux Build Service Account
4be74d4c07 Merge "slimbus: Avoid uninitialized variable access" 2018-04-04 11:24:26 -07:00
Linux Build Service Account
8fd574794d Merge "msm: mdss: Fix for wrong length in copy_to_user" 2018-04-04 11:24:24 -07:00
Linux Build Service Account
7405e11851 Merge "ARM: dts: msm: remove modem region reserved on APQ8096 ADP" 2018-04-03 14:37:36 -07:00
Linux Build Service Account
96d58750b8 Merge "usb: gsi: Don't disable endpoints as part of flow control" 2018-04-03 14:37:35 -07:00
Linux Build Service Account
635513cc1a Merge "wcnss: update the regulator parsing and config method" 2018-04-03 14:37:32 -07:00
Linux Build Service Account
1afa9c51ce Merge "input: touchscreen: Fix uninitialized variable usage in Atmel driver" 2018-04-03 14:37:30 -07:00
Linux Build Service Account
aae13ca421 Merge "msm: sde: check buffer size before writing to user buffer" 2018-04-03 14:37:29 -07:00
Linux Build Service Account
38ce262d11 Merge "u_ctrl_qti: Increase MAX_QTI_PKT_SIZE to 8K" 2018-04-03 14:37:26 -07:00
Sarada Prasanna Garnayak
93a468587d wcnss: update the regulator parsing and config method
Use the resource managed regulator API for the wcnss
regulator parsing and configuration.

CRs-Fixed: 2214888
Change-Id: Ib376893c26bb9aa797e7e9df25cc7302a84a3726
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2018-04-03 04:35:33 -07:00
Sarada Prasanna Garnayak
ec3266a99d wcnss: fix the wcnss power up sequence after ssr
Update the voltage regulator enable/disable status
during proxy vote and unvote request by wcnss wlan
module.

CRs-Fixed: 2211050
Change-Id: I334df98612b0915fe00d5390fbcd37c95e9f6509
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2018-04-03 04:35:28 -07:00
Linux Build Service Account
660f3d97f2 Merge "adv7481: Enable ADV7481 driver on Auto CDP" 2018-04-03 01:19:59 -07:00
Harsh Sahu
54f1b8b469 msm: sde: check buffer size before writing to user buffer
Check the number of bytes to copy against the size of the
user buffer before copy to user to avoid buffer overflow.

Change-Id: I95083227cfefaf1a81815296145b0c370127e061
Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
2018-04-03 00:05:53 -07:00
Venkata Prahlad Valluru
4ff082fbfa input: touchscreen: Fix uninitialized variable usage in Atmel driver
Initialize variables that are passed by reference, so that
they can be used safely afterwards, irrespective of the
called function actions.

Change-Id: Ib7fa26b0682c719cabdb9cb94f206a93e3eaaf63
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
2018-04-03 11:55:52 +05:30
Yimin Peng
bb5f7ce39e ARM: dts: msm: remove modem region reserved on APQ8096 ADP
DRAM diet requires to remove reserved modem memory.

Change-Id: I919ee1b9cc003d9851a7ec92ba116020044742cf
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2018-04-03 14:11:27 +08:00
Hardik Arya
4afc00eaff diag: Allocate DCI memory using vzalloc instead of kzalloc
Currently there is a possibility of kmalloc failing
when system is running low on memory condition.
The patch changes the dci memory allocation from
kzalloc to vzalloc.

CRs-Fixed: 2195818
Change-Id: I92b20d8e77ce5b2a96212f9d0757fbbff2703891
Signed-off-by: Hardik Arya <harya@codeaurora.org>
2018-04-02 15:45:50 +05:30
Linux Build Service Account
225f40883b Merge "diag: Remove hdlc status dependeny on session_info" 2018-04-02 01:45:30 -07:00
Linux Build Service Account
d3f27d035d Merge "soc: qcom: hab: refine hab driver's header files" 2018-04-02 01:45:28 -07:00
Linux Build Service Account
d83747f35c Merge "drm: msm: fix potential NULL pointer dereference" 2018-04-02 01:45:27 -07:00
Suprith Malligere Shankaregowda
169f31f159 adv7481: Enable ADV7481 driver on Auto CDP
Add DTSI entries for ADV7481 on Auto CDP. This is the
HDMI-CSI conversion bridge chip. Also enable the required
CSIDs in camera sensor DTSI.

Change-Id: I972cd2cd538cddf9012fc52400b2980930f77775
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-04-01 23:10:37 -07:00
Linux Build Service Account
dd13676f45 Merge "spmi: msm: add virtual SPMI interrupt support" 2018-03-30 12:49:51 -07:00
Yong Ding
83681f8f7d soc: qcom: hab: refine hab driver's header files
Stuffs relevant with ioctl are only for hab driver
itself and hab clients in user space. Those hab clients
in kernel dose not need them. So here uapi/linux/habmm.h
is refined into two files as habmmid.h and hab_ioctl.h.

Change-Id: I9344e3e3fec88a042ec1915a9c0d51a28cea6e9a
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-03-30 03:16:43 -07:00
Linux Build Service Account
75409cea49 Merge "msm: pcie: Add proper check before accessing variables" 2018-03-29 21:37:15 -07:00
Linux Build Service Account
4502101297 Merge "msm: thermal: Initialize KTM interrupt mode at kernel late init level" 2018-03-29 02:54:11 -07:00
Vijayavardhan Vennapusa
28c73541e3 u_ctrl_qti: Increase MAX_QTI_PKT_SIZE to 8K
increase MAX_QTI_PKT_SIZE to 8KB to handle QMI messages of bigger
length of 8KB.

Change-Id: I479794c9563ae89b9062b75031b6cdc739a0f620
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2018-03-28 22:07:44 -07:00
Linux Build Service Account
9896df099c Merge "nf: xt_socket: Fix out-of-bounds in xt_socket_lookup_slow_v{4,6}" 2018-03-28 15:28:08 -07:00
Linux Build Service Account
c638be9b40 Merge "msm: ADSPRPC: Validate rpra to avoid Null pointer dereference" 2018-03-28 15:28:07 -07:00
Linux Build Service Account
2a5b9922bf Merge "drm/msm: check hpd_off flag only for pluggable displays" 2018-03-28 15:28:06 -07:00
Linux Build Service Account
ac5f95a1a7 Merge "soc: qcom: ipc_router_smd_xprt: Set pointer to NULL after free" 2018-03-28 15:28:04 -07:00
Linux Build Service Account
ca7292c0ff Merge "cnss2: Fix dereference before NULL check issue" 2018-03-28 15:28:03 -07:00
Linux Build Service Account
1ccccc02c1 Merge "cnss2: Support collecting firmware dump during driver load" 2018-03-28 15:28:02 -07:00