Commit graph

598131 commits

Author SHA1 Message Date
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
Yimin Peng
a8c4fabd93 spmi: msm: add virtual SPMI interrupt support
Add interrupt support for virtual SPMI front-end driver. It will co-work
with backend to serve interrupts of GPIOs and VADC on PMIC.

Change-Id: I7404b18b553f58c8a645a0e300633828de41cfb3
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2018-03-26 14:40:49 +08:00
Yimin Peng
3967069a45 ARM: dts: msm: add virtual SPMI interrupt support on msm8996 vplatform
Add virtual SPMI interrupt attributes based on SPMI back-end change.

Change-Id: Id30232d4bf2fa34c8f2311a1dd4271c2bb6e50c2
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2018-03-26 13:45:19 +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
Rama Krishna Phani A
51df7d76f7 msm: pcie: Add proper check before accessing variables
Add proper check before accessing variables.

Change-Id: Idb4aec6e276d7c82a4311be733fcb13b875ae6c8
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2018-03-22 16:18:45 +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
Linux Build Service Account
0ce8a0b5d0 Merge "ASoC: msm: qdsp6v2: Fix APR packet size for SET_UI_PROPERTY" 2018-03-21 10:10:20 -07:00
Linux Build Service Account
cbae14bbfc Merge "ASoC: msm: Fix KW issues for audio drivers" 2018-03-21 10:10:17 -07:00
Balachandra C S
2e4eba9f68 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: I67b85b16f1d7187e953df23b9a2ba327ec8d8591
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-21 20:17:08 +05:30
Linux Build Service Account
01b4773f29 Merge "soc: qcom: ipc_router_mhi_xprt: Initialize variable at start" 2018-03-20 23:18:29 -07:00
Linux Build Service Account
cac60109a9 Merge "net: ipc_router: Validate return from skb_peek" 2018-03-20 23:18:28 -07:00
Linux Build Service Account
0d536697bf Merge "soc: qcom: tracer_pkt: Fix buffer length check" 2018-03-20 23:18:26 -07:00
Linux Build Service Account
9f259c5e8d Merge "soc: qcom: subsystem_notif_virt: Fix owner for the driver" 2018-03-20 23:18:25 -07:00
Cong Tang
53a51106b5 ASoC: msm: Upgrade ASM Driver to support 32 Channels
HLOS update ASM driver to support 32 channels playback
and capture since ADSP firmware has already support on this.
With this each MultiMedia Frontend would be able to support
32 channels playback and capture.

Signed-off-by: Cong Tang <congt@codeaurora.org>
Change-Id: Ie2ada37e612d0096cb623777f43aa9c05989058d
2018-03-20 22:36:40 -07:00
Cong Tang
82c2a635bd ASoC: msm: Upgrade ADM Driver to support 32 Channels
HLOS update adm driver to support ADM_CMD_OPEN_V8 for 32 channels
playback and capture capability. The endpoint payload of this
cmd should be the real channel mapping length and aligned with
four bytes.

Change-Id: I943259108becdfd27a68ce597bee37641cfc8339
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-03-20 22:35:14 -07:00
Manoj Prabhu B
43f15aca94 diag: Remove hdlc status dependeny on session_info
The patch removes the hdlc status dependency on session_info
protected by md_session_lock inserting delay in processing data
off peripheral.

CRs-Fixed: 2193991
Change-Id: Ia79c0efe82803c15ccae42b00d95258f52242eee
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-03-20 21:35:06 -07:00
Suprith Malligere Shankaregowda
09e5ec8bea msm: ais: sensor: Fix the state check for i2c ops
Added state condition before performing i2c operations

Change-Id: Ie1cc0c4b0e5427928654638ca22d83380525cce1
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-20 20:57:33 -07:00
Andy Sun
eced8c70ba ais: set list cmd to be available after del before return
If clk disabled, we have to set current cmd to be available again
before function return, otherwise the same list member will be
double deleted when do enqueue tasklet next time.

Change-Id: Ibc392169a7e7ad084b14abaaa9cb3c61d06adcf4
Signed-off-by: Andy Sun <bins@codeaurora.org>
2018-03-21 10:35:20 +08:00
Yong Ding
4fc0ee9d99 soc: qcom: hab: add habmm_socket_query support
This query API can be used by hab clients to get
their virtual channels' info if necessary, eg, the
local and remote vmids.

Change-Id: I1293b51a1127997f493f07c0c2181423bf45d79e
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-03-20 19:01:52 -07:00
Linux Build Service Account
bb9c0e0ec8 Merge "diag: Protect the decrement of number of diag clients" 2018-03-20 08:36:14 -07:00
Linux Build Service Account
8fbab95a99 Merge "ARM: dts: msm: set ION type to SYSTEM for msm8996 telematics" 2018-03-20 08:36:13 -07:00