Commit graph

592442 commits

Author SHA1 Message Date
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
Sayali Lokhande
cc705faa5b mmc: sdhci: Enable CDR for cmdq mode
From sdm660 onwards, the sdcc core will support
CDR in CMDQ mode, so it needs to be enabled.
This change is to enable CDR for cmdq mode.

Change-Id: I64681a3c94b6bd4191337c5c014171ff32a7d3c1
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-07-17 13:36:58 +05:30
Amir Samuelov
534da7ce1b spcom: ignore CONNECTED notification while closing the channel
The spcom_notify_state() callback, is called by glink driver.
In case of calling glink_open() and shortly after that calling
glink_close(), the glink might notify of channel CONNECTED while
glink_closed() is called.
Avoid updating the glink channel upon CONNECTED event, if in process
of closing the channel.

Change-Id: If5cbec1a7d1653c56b5350afcd3cee61e1ae05fa
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2017-07-17 00:01:19 -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
Manish Dewangan
ac162df12c ASoc: msm: qdspv2: Fix latency calculation in pcm offload path
Continuous latency for pcm offload is incorrect as buffer offset
is not getting considered while pattern matching.

Fix this by considering buffer offset while calculating
continuous latency.

CRs-Fixed: 2059729
Change-Id: I943da364f99a4152119d34a98b343e6e1cbad5b8
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
2017-07-16 23:19:03 -07:00
Nikhilesh Reddy
1b4ccee624 vfs: Add support to debug umount failures
When umount of a partition fails with EBUSY there is
no indication as to what is keeping the mount point busy.

Add support to print a kernel log showing what files
are open on this mount point.

Also add a new new config option CONFIG_FILE_TABLE_DEBUG to
enable this feature.

Change-Id: Id7a3f5e7291b22ffd0f265848ec0a9757f713561
Signed-off-by: Nikhilesh Reddy <reddyn@codeaurora.org>
Signed-off-by: Ankit Jain <ankijain@codeaurora.org>
2017-07-17 11:39:09 +05:30
Sravan Kumar D.V.N
99a3334a22 msm: mdss: Fix possible memory overwrite in pgc config
Possible memory overwrite in pgc get config is fixed by
eliminating direct reference to user data.

Change-Id: I7117848bacb8e69720eb3121d02bbacf02cab13a
Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
2017-07-16 22:34:52 -07:00
tharun kumar
da37ca0b1f msm: rdbg: remote debugger support on CDSP
The Remote Debugger driver allows a debugger running
on a host PC to communicate with a remotestub running
on peripheral subsystems.

Change-Id: I3bb02bd784b6b378d707ff8a6422ae9fa912d28d
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2017-07-16 21:35:41 -07:00
Linux Build Service Account
0ea2b1fc15 Merge "ASoC: msm: Add hwdep node for NOIRQ FE" 2017-07-16 21:04:58 -07:00
Linux Build Service Account
6a8c2e8775 Merge "ASoC: msm: qdsp6v2: Set path type to LIVE_REC in LISTEN passthrough case" 2017-07-16 21:04:57 -07:00
Linux Build Service Account
ca718c036b Merge "ASoC: mbhc: Fix audio mute for special headset" 2017-07-16 21:04:57 -07:00
Linux Build Service Account
40bc47487b Merge "ASoC: wcd9335: Reset power_active_ref to 0 when it is negative" 2017-07-16 21:04:56 -07:00
Linux Build Service Account
a2c6e77e46 Merge "ASoC: msm: qdsp6v2: Add matrix limiter support" 2017-07-16 21:04:55 -07:00
Linux Build Service Account
4687d5a757 Merge "ASoc: msm8998: Add multichannel support for SLIM_0_RX" 2017-07-16 21:04:54 -07:00
Linux Build Service Account
9e47a24f1a Merge "msm: ipa: remove delay in out of buffer recovery procedure" 2017-07-16 21:04:53 -07:00
Linux Build Service Account
81e9c7bff2 Merge "ARM: dts: msm: Add initial support for msm8998-9x55" 2017-07-16 21:04:52 -07:00
Linux Build Service Account
9c48a514dd Merge "msm: kgsl: Change pwrlevels array index type to unsigned int" 2017-07-16 21:04:52 -07:00
Linux Build Service Account
641b384203 Merge "msm: camera: isp: Avoid to detect out of sync using time" 2017-07-16 21:04:51 -07:00
Amir Levy
7329683194 msm: ipa3: fix compatibility with ipa user space
Add several defines and structs to allow IPA user space compile.

Change-Id: Icd6fe721bd0572b6c8f0c57dd65da3e7a6e69596
Acked-by: Dmitry Kogan <dmitryk@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2017-07-16 18:14:54 +03:00
Linux Build Service Account
9fa4a186c0 Merge "drm/msm: add YUV format support for HDMI" 2017-07-15 13:40:03 -07:00
Linux Build Service Account
a019f26af8 Merge "drm/msm: add RGB 30-bit deep color support for HDMI" 2017-07-15 13:40:02 -07:00
Utkarsh Saxena
db4e6d3de8 msm:ipa: using rate limit api for ioctl calls
ipav2/ipav3 ioctl calls input arguments validation failed cases,
replacing IPAERR() with IPAERR_RL() marco for controlling logs
printing on the console.

Change-Id: I0d1aabb9b500228e5fd5d94cf17657bf29bdf175
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-07-15 22:13:49 +05:30
Aravind Venkateswaran
a89db690ae msm: mdss: dp: do not program audio registers when DP core is off
It is possible that the DP core may already be shutdown when a
callback from the audio subsystem is invoked. In such cases, ensure
that the callbacks return gracefully without trying to do any
hardware programming.

CRs-Fixed: 2072592
Change-Id: Ib112c0791852e1c835c739167683f160723b3baa
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2017-07-14 23:13:24 -07:00
Aravind Venkateswaran
8832c1bced msm: mdss: hdcp2p2: fix check for sink support for HDCP 2.x
Current implementation only checks if the sink is HDCP capable.
In addition, it is required that the source also checks for the
HDCP version supported by the sink prior to initiating HDCP 2.x
authentication sequence.

CRs-Fixed: 2062951
Change-Id: I24901202a0abc2ff4336ab9c6c2fd708a53559f2
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2017-07-14 21:46:34 -07:00
Abhinav Kumar
3864a8ac3c drm/msm: fix Y420CMDB EDID block parsing
Fix the Y420CMDB EDID block parsing to handle
the case where the block does not include a capability
bitmap.

This case means that all the short video descriptors
support the YUV 420 mode as well.

Also fix the incorrect length check in the parser API.
The capability bitmap has no minimum length field.

Change-Id: I5d9c2d3ac11d5ddad8e36cb7acfebfb41175f4b7
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-07-14 20:21:20 -07:00
Linux Build Service Account
a09e027f86 Merge "ASoc: msm: Support TDM dai clk attribute and freq configuration" 2017-07-14 17:59:57 -07:00
Linux Build Service Account
e673df7b72 Merge "ASoc: msm: Support PRI_TDM_TX routing to QUAT_TDM_RX port mixer." 2017-07-14 17:59:56 -07:00
Linux Build Service Account
f99b15bc11 Merge "msm: mdss: do not resynchronize DSI FIFO if during device boot up" 2017-07-14 17:59:55 -07:00
Linux Build Service Account
5d33d4985a Merge "msm: sde: Set minimum traffic shaping in sde rotator" 2017-07-14 17:59:54 -07:00
Linux Build Service Account
d70bfa127b Merge "msm: mdss: Avoid direct dereference user input in pp cache config" 2017-07-14 17:59:53 -07:00
Linux Build Service Account
c25fd79e76 Merge "msm: sensor: Fix for variable being de-referenced without proper check" 2017-07-14 17:59:52 -07:00
Linux Build Service Account
6c18a826c7 Merge "serial: msm_serial_hs: Optimize the total tty port support" 2017-07-14 17:59:51 -07:00
Linux Build Service Account
b4bb5c107d Merge "diag: Protect mask updates for memory device session" 2017-07-14 17:59:50 -07:00