Commit graph

592105 commits

Author SHA1 Message Date
Lei wang
2523349096 ARM: dts: msm: Add support for MSM8996pro UFS based board
Add board-id for UFS board which has a different board sub type.

Change-Id: Ic231784c46d4439944e403e26410515856fdc5fb
Signed-off-by: Lei wang <leiwan@codeaurora.org>
2017-07-20 18:28:51 -07:00
Linux Build Service Account
7aa065cbc4 Merge "msm: vdec: Allocate max internal buffers" 2017-07-20 02:56:46 -07:00
Linux Build Service Account
8ac7aa1695 Merge "ASoc: msm: qdspv2: Fix latency calculation in pcm offload path" 2017-07-20 02:56:45 -07:00
Linux Build Service Account
68284fc997 Merge "ASoC: msm8998: modify quat mi2s clock id in slave mode" 2017-07-20 02:56:44 -07:00
Linux Build Service Account
347dbf7277 Merge "msm: ipa3: Add spinlock to avoid deleting already deleted list" 2017-07-19 17:20:49 -07:00
Linux Build Service Account
8a9f65f16a Merge "msm: vdec: Updating DCVS buf count if thumbnail mode is enabled" 2017-07-19 09:10:37 -07:00
Linux Build Service Account
1882097f98 Merge "msm: vidc: Fix issue in cache operation range" 2017-07-19 09:10:36 -07:00
Linux Build Service Account
dce705e421 Merge "ARM: dts: msm: Add fixed regulator for WLAN_EN pin in MSM8996" 2017-07-19 09:10:35 -07:00
Linux Build Service Account
cfbf44c503 Merge "usb: dwc3-msm: Add sysfs node to enable SS host compliance" 2017-07-19 09:10:34 -07:00
Linux Build Service Account
56b24afda6 Merge "diag: Add protection while de-initializing clients" 2017-07-19 09:10:33 -07:00
Linux Build Service Account
cb08d85f02 Merge "usb: gadget: f_qdss: Add support for mdm qdss channel" 2017-07-19 09:10:32 -07:00
Linux Build Service Account
333b2311aa Merge "msm: mdss: Fix possible memory overwrite in pgc config" 2017-07-19 09:10:30 -07:00
Linux Build Service Account
e4fd571dd3 Merge "security: pfe: Synchronize the file key usage" 2017-07-19 09:10:29 -07:00
Linux Build Service Account
f40ff25a8f Merge "msm: ipa: fix to incorrect structure access" 2017-07-19 09:10:28 -07:00
Linux Build Service Account
8ee12d5cb2 Merge "msm: ADSPRPC: avoid sending new requests to dsp while device_release" 2017-07-19 09:10:27 -07:00
Linux Build Service Account
42029fbe8c Merge "msm: mdss: dp: fix watchdog reset with DP connected in AOD mode" 2017-07-19 09:10:27 -07:00
Mohammed Javid
b10627f358 msm: ipa3: Add spinlock to avoid deleting already deleted list
There is a chance of deleting, already deleted list
in ipa_cleanup_wlan_rx_common_cache API.

Protect the wlan_comm_desc_list,
with the spinlock to avoid this deletion.

Change-Id: I10161f71b92d6d5fe06af62b65bf3d92d0d4512a
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-07-19 00:53:47 -07:00
Yue Ma
33978c4cc4 ARM: dts: msm: Add fixed regulator for WLAN_EN pin in MSM8996
Since the PMIC GPIO runtime configuration is not feasible using
pinctrl framework, add it as fixed regulator for WLAN_EN pin.

Signed-off-by: Yue Ma <yuem@codeaurora.org>
CRs-fixed: 2071634
Change-Id: Ifd08bac34388389c6aced7e450cbf5c6ae37b36d
2017-07-18 12:44:34 -07:00
Linux Build Service Account
8069e32933 Merge "msm: sde: rotator: Enable traffic shaper for 4k@60fps layer" 2017-07-18 11:51:43 -07:00
Linux Build Service Account
d2783f3e57 Merge "msm: ais: Fix NULL pointer dereference in msm.c." 2017-07-18 11:51:42 -07:00
Linux Build Service Account
cd8e767d77 Merge "msm: ais: fix crash during dumping io register" 2017-07-18 11:51:41 -07:00
Linux Build Service Account
ae8ba0547c Merge "msm: camera: sensor:validating the flash initialization parameters" 2017-07-18 11:51:40 -07:00
Linux Build Service Account
95cc997128 Merge "msm: camera: sensor: Fix a bug in CCI with I2C write" 2017-07-18 11:51:39 -07:00
Linux Build Service Account
32c410413b Merge "msm: camera: isp: Store the user ahb vote" 2017-07-18 11:51:38 -07:00
Neeraj Soni
2b364203d6 security: pfe: Synchronize the file key usage
Reference count is maintained to track the usage
of file key. This is required to avoid invalidate
operation while a file key is in active usage.

Change-Id: I8f6f562ec9a006e585503413c2196685535a5098
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
2017-07-18 16:33:31 +05:30
Linux Build Service Account
95dbfdb0a5 Merge "msm: sensor: actuator: add conditional check for ioctl" 2017-07-18 03:06:57 -07:00
Linux Build Service Account
1f14d5b785 Merge "usb: pd: policy_engine: Add support to handle floating charger" 2017-07-18 03:06:55 -07:00
Linux Build Service Account
b52f6435ab Merge "qseecom: update on smcinvoke-aware listeners operations" 2017-07-18 03:06:54 -07:00
tharun kumar
86ad5044c3 msm: ADSPRPC: avoid sending new requests to dsp while device_release
When fastrpc_device_release is in progress, don't send any new
requets to DSP

Change-Id: I4d9e2f06485cde6dbd3d7aef402e3e853e0be998
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2017-07-18 02:47:45 -07:00
Mohammed Javid
17ecb3776a msm: ipa: fix to incorrect structure access
Accessing of incorrect structure pointer is causing
memory out of bound access, fixed issue by accessing
the correct structure pointer.Missed changes in previous
commit I3c2f5f7a97ca ("msm:ipa: Fix to incorrect structure access")
for proc header table cookie variable.Added missing changes.

Change-Id: I9260b8a4d4db0e76eb3849f64174e33e075d3736
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-07-18 12:01:26 +05:30
kaiwang
379e41427b msm: camera: sensor:validating the flash initialization parameters
Copying the flash initialization parameters from userspace memory to
kernel memory and in turn checking for the validity of the flash
initialization parameters pointer sent from userspace

CRs-Fixed: 2059812
Change-Id: I957c10959108eb08b263d439a9a449b90338b6db
Signed-off-by: kaiwang <kaiwang@codeaurora.org>
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
2017-07-17 23:14:14 -07:00
Linux Build Service Account
b1b3c5a65e Merge "Revert "sched: Remove synchronize rcu/sched calls from _cpu_down"" 2017-07-17 18:40:08 -07:00
Linux Build Service Account
70ca4f11d0 Merge "drm/msm: fix Y420CMDB EDID block parsing" 2017-07-17 18:40:07 -07:00
Linux Build Service Account
047c607928 Merge "msm: rdbg: remote debugger support on CDSP" 2017-07-17 18:40:06 -07:00
Linux Build Service Account
89df4df1c0 Merge "cnss2: Send WAKE MSI base data to firmware" 2017-07-17 18:40:05 -07:00
Linux Build Service Account
a1dcf33ce1 Merge "Perf: arm64: avoid use of uninitialized variable" 2017-07-17 18:40:04 -07:00
Hemant Kumar
167d045c3d usb: gadget: f_qdss: Add support for mdm qdss channel
Driver needs to pass qdss data received from mdm qdss
bridge driver to host PC. This requires a software data
path using IN endpoint. Bridge driver needs to open
qdss_mdm channel and use exported write() API to pass
the qdss data received from mdm. Driver calls the notify
call back upon write completion.

Change-Id: I4d8ceaed0bf9c85aa17d3f49503cd690917cc117
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-07-17 15:39:54 -07:00
Zhen Kong
7293d203cf qseecom: update on smcinvoke-aware listeners operations
With the introduction of MinkIPC for TA-to-TA communication,
if a request for blocking a TA (on a busy listener) is received
by qseecom, it may not be originated from the last TA to which
a command (or unblock response) was sent to. So, make change
to use a session_id instead of app_id to uniquely identify this
blocked request and a new cmd ID to support this smcinvoke-aware
listener operation.

Change-Id: I362e9acfa52c055b5759c210bb881da40f4e0776
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-07-17 13:40:31 -07:00
Hemant Kumar
9ffb0179b0 usb: pd: policy_engine: Add support to handle floating charger
There is a possibility of PMI detecting SDP as a floating charger
when connected to a PC. Workaround this issue by starting peripheral
stack for floating charger as well. Stop peripheral stack after 10 sec
in absence of USB device enumeration.

Change-Id: I6effee71affbe0baeb28c54ce799ade79ec4b42a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-07-17 13:26:13 -07:00
Hemant Kumar
ba4eab879d usb: dwc3-msm: Add support to handle floating D+/D- lines
There is a possibility of PMI detecting SDP as a floating charger
when connected to a PC. Workaround this issue by starting peripheral
stack for floating charger as well. After 10 sec check for USB device
enumeration using gadget USB state. If device is indeed connected to
SDP gadget usb state will be USB_STATE_DEFAULT or higher. This change
also helps to start peripheral stack in super speed usb compliance mode
when D+ and D- lines are floating.

Change-Id: Ia6dc668c549dca35e3273ece9a43be52c25d40ad
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-07-17 13:25:48 -07:00
Yue Ma
0894ea1926 cnss2: Send WAKE MSI base data to firmware
Add the support to send WAKE MSI base data to firmware through
HOST_CAP_REQ QMI message so that firmware can use it to wake up
WLAN host driver.

Change-Id: Ief8bfb6c3746bc0bfd833aa3bded09212773244d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-07-17 10:37:58 -07:00
Yue Ma
5607c6f1d3 cnss2: Update QMI WLFW header files
Add changes for PMIC XO calibration data support. Also Add one
optional field of HOST_CAP_REQ message to indicate the WAKE MSI
base data that driver can support.

Change-Id: I6cdfa3d5e485fd1a772f1a5c465cfba3e28048a7
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-07-17 10:37:05 -07:00
Yue Ma
f2573341c1 cnss2: Support runtime power on/off WLAN device
WLAN host driver may do runtime mode switch which requires platform
driver to reset device and re-download firmware. Add the changes for
runtime power on/off WLAN device to support runtime mode switch.

Change-Id: I08d3635afbaafb73691fbdf5d25877fb433bae18
CRs-fixed: 2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-07-17 10:36:27 -07:00
Linux Build Service Account
502914e130 Merge "msm: vidc: Free pixel plane handle when map extradata fails" 2017-07-17 05:28:29 -07:00
Linux Build Service Account
586a3ac451 Merge "power: smb-lib: Improve the OTG enable workaround for PM660" 2017-07-17 05:28:28 -07:00
Linux Build Service Account
9875d5f19c Merge "msm: ipa3: fix compatibility with ipa user space" 2017-07-17 05:28:28 -07:00
Linux Build Service Account
0179cf4d43 Merge "mmc: sdhci-msm: Set dll to good phase while sending cmd13 in tuning" 2017-07-17 05:28:27 -07:00
Linux Build Service Account
3767fad4ec Merge "msm:ipa: using rate limit api for ioctl calls" 2017-07-17 05:28:26 -07:00
Mohit Aggarwal
c032cdd08e diag: Add protection while de-initializing clients
Currently, while de-initializing clients, there is
a possibility of using already freed memory. The
patch adds proper protection to fix the issue.

CRs-Fixed: 2068569
Change-Id: I4b397a82e03fa2f1c84cfa8ca912cdb6a51ba08b
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2017-07-16 23:58:09 -07:00
Anirudh Ghayal
160b3f9169 power: smb-lib: Improve the OTG enable workaround for PM660
There are scenarios where inductive load with higher inrush
current may fail to turn on the OTG. Improve the OTG turn-on
sequence by gradually increasing the current-limit if it
fails to turn-on with a lower current.

CRs-Fixed: 2075050
Change-Id: I41c1e25257a4ee87f00287e07773331b1445b5f2
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2017-07-17 12:22:42 +05:30