Commit graph

598094 commits

Author SHA1 Message Date
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
Linux Build Service Account
538e1c6d03 Merge "msm: vidc: Fix use after free issue in set_output_buffers" 2018-03-28 15:28:01 -07:00
Linux Build Service Account
09ff85fe7f Merge "defconfig: Add WLAN related defconfigs for msm8996_gvmq" 2018-03-28 15:27:59 -07:00
Linux Build Service Account
189db53495 Merge "ARM: dts: Add qcom,cnss for WLAN on vplatform msm8996_gvmq" 2018-03-28 15:27:58 -07:00
Linux Build Service Account
2b4db72cec Merge "ARM: dts: msm: add the hab entry into the msm8996 telematics vplatform" 2018-03-28 15:27:57 -07:00
Linux Build Service Account
905fb03643 Merge "sched: Export wake_to_idle API" 2018-03-28 15:27:56 -07:00
Linux Build Service Account
cce73b6eb4 Merge "crypto: msm: reset pointer before returning from the function" 2018-03-28 15:27:54 -07:00
Linux Build Service Account
4494f37ab3 Merge "soc: qcom: hab: add habmm_socket_query support" 2018-03-28 15:27:52 -07:00
Ferry Zhou
008010a68b defconfig: Add WLAN related defconfigs for msm8996_gvmq
The WLAN driver qcacld-3.2 depends on CNSS2, CFG80211 and ralated
defconfigs.  So, add these defconfigs to enable WLAN over PCIe in
virtual platform msm8996_gvmq.

Change-Id: I3ade33ef26bc057b96b4b283669293a43a79b101
Signed-off-by: Ferry Zhou <tianguiz@codeaurora.org>
2018-03-28 08:59:44 +08:00
Ferry Zhou
f4d1f8db03 ARM: dts: Add qcom,cnss for WLAN on vplatform msm8996_gvmq
The device tree node qcom,cnss includes all WLAN related hardware
configurations including power supply regulators and pinctrl
configuration etc.  So, add qcom,cnss into the dts of Linux/Android
virtual platform msm8996_gvmq to enable WLAN over PCIe.

Change-Id: I0dbefbeefb7c6e843e55f32a8b33c4113a3a2e6e
Signed-off-by: Ferry Zhou <tianguiz@codeaurora.org>
2018-03-28 08:59:44 +08:00
Yue Ma
bde7c6fb4d cnss2: Support collecting firmware dump during driver load
When firmware crashes during WLAN host driver loads, collects
firmware dump and proceeds with SSR as normal cases.

Change-Id: If2ac7da3c2db4b4116949d092ad53299f23c87e0
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2018-03-27 17:04:25 -07:00
Yue Ma
fa138cc53c cnss2: Fix dereference before NULL check issue
In cnss_mhi_notify_status(), NULL check should be performed before
dereference for pci_priv.

Change-Id: Iea5a6e2b8be9b07c235b02bfe02292f24da882d8
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2018-03-27 15:20:26 -07:00
Chinmay Sawarkar
11685571ad msm: vidc: Fix use after free issue in set_output_buffers
When set_buffers fails, binfo is freed and again accessed
while freeing smem memory.

CRs-Fixed: 2118860
Change-Id: Ifdd683f907862665e34d6d39d5a8634984804c01
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
Signed-off-by: Sanjay Singh <sisanj@codeaurora.org>
2018-03-27 15:01:19 -04:00
Yong Ding
3aa0551246 ARM: dts: msm: add the hab entry into the msm8996 telematics vplatform
In the msm8996 telematics vplatform, only these MMID groups
for QCPE, clock, FDE and test are added into its device node.

Change-Id: Ib527a4e3a79ebf84fd6f47db66baa324eedb5300
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-03-27 01:55:43 -07:00
Parai Wang
7fcca62cb3 crypto: msm: reset pointer before returning from the function
Reset cipher_req.creq.dst and cipher_req.creq.src pointer to NULL
before returning from the function, and initialize scatterlist
variable before using it.

Change-Id: I5d5eee06a5213a05b20bf459ef0bf0c433fadbdd
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Signed-off-by: Parai Wang <fpwang@codeaurora.org>
2018-03-27 01:10:29 -07:00
Linux Build Service Account
a56e768ca3 Merge "ARM: dts: msm: add audio ion vm dev node for msm8996 auto" 2018-03-26 18:57:02 -07:00
Linux Build Service Account
9b88bdd9cd Merge "mm-camera2:isp2: Avoid use after free buffer" 2018-03-26 18:57:01 -07:00
Linux Build Service Account
8164e45d2e Merge "cnss2: msm: Enable WLAN over PCIe for GVM" 2018-03-26 18:56:58 -07:00
Linux Build Service Account
4bafa4fba5 Merge "softirq: Don't defer all softirq during RT task" 2018-03-26 05:04:35 -07:00
Ferry Zhou
eceef732d8 cnss2: msm: Enable WLAN over PCIe for GVM
The hypervisor does not support PCI_MSM, and uses PCI_HOST_GENERIC
instead.  After this change, the cnss2/PCIe for WLAN in metal case
depends on PCI_MSM, while in GVM case depends on PCI_HOST_GENERIC.

Currently, the WLAN chip is powered up by hypervisor.  So, just
bypass power related code.

Change-Id: Icf13fb11c5e18f6e48746fe82f1b4392559dd5b0
Signed-off-by: Ferry Zhou <tianguiz@codeaurora.org>
2018-03-26 16:44:09 +08:00
Suprith Malligere Shankaregowda
38290c14dd ARM: dts: msm: add audio ion vm dev node for msm8996 auto
Add msm audio ion vm device node to be compatible
with virtualized audio ion platform driver for
msm8996 automotive platform.

Change-Id: Ifaa396a8447080255a70eec5c2ddd3adf803d18f
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-25 11:53:45 -04:00
Linux Build Service Account
4b6c5fa539 Merge "ARM: dts: msm: add the hab entry into the msm8996 ivi vplatform" 2018-03-24 00:27:23 -07:00
Linux Build Service Account
907c971904 Merge "msm: mdss: hdmi: add pll_enable property to support clock recovery" 2018-03-24 00:27:22 -07:00
Linux Build Service Account
917c88ae76 Merge "adv7481: Fix Video split rendering observed on QTVinput" 2018-03-24 00:27:20 -07:00
Linux Build Service Account
19b6fc5a35 Merge "soc: qcom: glink: smem: Add wmb between data and write index" 2018-03-23 14:43:51 -07:00
Linux Build Service Account
4ea5505a2a Merge "DRM: SDE: Fixing the power up sequence with early splash" 2018-03-23 14:43:50 -07:00
Linux Build Service Account
6996c532e2 Merge "camera: ais: change the early camera get clk method" 2018-03-23 14:43:49 -07:00
Linux Build Service Account
c4d8eef8df Merge "msm: mdss: hdcp_1x: call HDCP 1x APIs only if HDCP 2.2 is not present" 2018-03-23 14:43:47 -07:00
Meera Gande
8679ae5f90 mm-camera2:isp2: Avoid use after free buffer
In the code, there are certain calls that can
try to access the bffer pointer variable after
free, as the same pointer can be freed at
RELEASE_BUF call at the same time.

Change-Id: I4f7a48613b614138916ae33e7783b0c172330321
Signed-off-by: Meera Gande <mgande@codeaurora.org>
2018-03-23 16:16:25 +05:30
Linux Build Service Account
9a72ed233c Merge "ASoC: msm: Upgrade ASM Driver to support 32 Channels" 2018-03-23 03:32:45 -07:00
Linux Build Service Account
0c10164313 Merge "ASoC: msm: Upgrade ADM Driver to support 32 Channels" 2018-03-23 03:32:44 -07:00
Linux Build Service Account
062c3ef733 Merge "ASoC: msm: qdspv2: fix NULL pointer exception in core driver" 2018-03-23 03:32:42 -07:00
Linux Build Service Account
028e2cf766 Merge "drivers: net: Change timeout for query_firmware command" 2018-03-23 03:32:41 -07:00
Linux Build Service Account
03ead47874 Merge "defconfig: msm: Enable EHSET test fixture driver on msm8996 Auto" 2018-03-23 03:32:39 -07:00
Chris Lew
f497bfd257 soc: qcom: glink: smem: Add wmb between data and write index
Make sure data is flushed before updating write index by adding a wmb.

Change-Id: I3d17ed56b64ac9ca399a0ef11a638027c1ba36ae
Signed-off-by: Chris Lew <clew@codeaurora.org>
2018-03-23 16:01:25 +05:30
Srinivas Girigowda
88f4823be3 sched: Export wake_to_idle API
Export wake_to_idle APIs so that external modules can access these
functions to improve performance.

CRs-Fixed: 2166787
Change-Id: I0863a2e80a303c7584ca52ef81c19d369e840662
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2018-03-23 02:12:58 -07:00
Yong Ding
7e72e45a2e ARM: dts: msm: add the hab entry into the msm8996 ivi vplatform
With such hab entry in the ivi vplatform's device tree,
hab driver will get its configurations dynamically. So
it will not use the default configurations any more.

Change-Id: Idbfc17d2b9ecc6bd18e3aa8901b9bbfbe20636f2
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-03-23 16:29:28 +08:00
Camus Wong
bc5c74d801 DRM: SDE: Fixing the power up sequence with early splash
If the splash clean up is trigger, the MDP core power on call should
be skipped.  MDP core already turned on in sde_kms_hw_init() if splash
handoff enabled.

Change-Id: Ie19c4eb2d0455b0c19615e3bb29aae4b4c6c8abf
Signed-off-by: Camus Wong <camusw@codeaurora.org>
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-23 00:08:11 -07:00
Björn Davidsson
b1b1320534 softirq: Don't defer all softirq during RT task
Since 'commit f332a9d53e33 ("softirq: defer softirq processing to
ksoftirqd if CPU is busy with RT")', all softirqs are deferred
to ksoftirqd if one of the potentially long softirqs are pending.
This can significantly delay processing of tasklets and timers,
which are frequently designed to be running at high priority.

Defer only the potentially slow softirqs to ksoftirqd.

Change-Id: I7a2ef7c59749ccf086066c59962ff326786da6f4
Signed-off-by: Björn Davidsson <bjorn.davidsson@sony.com>
[clingutla@codeaurora.org:- Renamed local variables and refactored
 deferred logic to macro for avoiding potential deadlock.]
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2018-03-22 23:20:10 -07:00
Suprith Malligere Shankaregowda
3bc00c1740 adv7481: Fix Video split rendering observed on QTVinput
Stabilize adv7481 raw irq status register(IO_REG_INT_RAW_STATUS_ADDR)
read by adding delay in adv7481_irq workqueue schedule.
This resolves video split rendering when hot-unplug and hot-plug
the HDMI IN source.

CRs-Fixed: 2204762
Change-Id: Id2e86c56983318c9855cec881644552eab7810e5
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-22 21:52:10 -07:00
Linux Build Service Account
63d54f82b9 Merge "adv7481: Add early error returns" 2018-03-22 12:23:15 -07:00
Linux Build Service Account
ed6f6fd1c1 Merge "drm/msm: refine hdmi bridge implementation" 2018-03-22 12:23:13 -07:00
Linux Build Service Account
fd9828eea2 Merge "msm: ais: sensor: Fix the state check for i2c ops" 2018-03-22 12:23:12 -07:00
Linux Build Service Account
b5b7f77ecf Merge "ais: set list cmd to be available after del before return" 2018-03-22 12:23:11 -07:00
Balachandra C S
0d1ea72d6e drivers: net: Change timeout for query_firmware command
On some targets, a higher timeout value is needed to get the firmware
version response.

Change-Id: Iede32155fb05877d8da70610fe4fcd391fdd268a
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-22 18:21:57 +05:30
Ajay Agarwal
5cc97e3162 defconfig: msm: Enable EHSET test fixture driver on msm8996 Auto
Enable EHSET test fixture driver on msm8996 automotive target.
This driver is used to test high speed host electrical
compliance.

Change-Id: Id110e5defb00bcc8dc3bb33a944006f654e50f25
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-03-21 22:32:46 -07:00
Linux Build Service Account
926f541b46 Merge "drivers: net: Change timeout for query_firmware command" 2018-03-21 21:44:56 -07:00
Cong Tang
a1d5bb9297 ASoC: msm: qdspv2: fix NULL pointer exception in core driver
NULL pointer dereference occurs while getting version size
when version info memory allocation fails.
Add NULL check to avoid this NULL pointer exception.

Change-Id: I589b2114f67df0eeaaa817bad05cd7d44786d3ad
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-03-21 19:49:22 -07:00
Linux Build Service Account
70a1e9b625 Merge "msm: vidc: Add support for decoder STOP command" 2018-03-21 10:10:21 -07:00