Commit graph

579929 commits

Author SHA1 Message Date
Linux Build Service Account
bde539edca Merge "Crash due to mutex genl_lock called from RCU context" 2016-11-29 07:44:08 -08:00
Linux Build Service Account
1b8c9dabd1 Merge "qpnp-fg-gen3: Add support to configure auto recharge voltage" 2016-11-29 07:44:07 -08:00
Linux Build Service Account
fbfd0301be Merge "sched: Disable interrupts while holding related_thread_group_lock" 2016-11-29 07:44:06 -08:00
Linux Build Service Account
a95f91f51a Merge "clk: fix critical clock locking" 2016-11-29 07:44:05 -08:00
Linux Build Service Account
925ce43342 Merge "clk: Provide OF helper to mark clocks as CRITICAL" 2016-11-29 07:44:04 -08:00
Linux Build Service Account
66a95af435 Merge "usb: gadget: Notify QTI upon cable connect for DPL" 2016-11-29 07:44:00 -08:00
Amir Samuelov
a5edb54e93 spcom: check user space command size
The user space spcomlib provides command buffer
for various commands.
Verify that the command buffer size matches the expected
command struct size.

CRs-Fixed: 1094143
Change-Id: If3ead54bd03368fa9338921e299b2ad8fb078297
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-11-29 03:08:30 -08:00
Brahmaji K
52ab253870 ARM: dts: msm: Add qseecom device node for msmfalcon
Add qseecom device node with all the necessary parameters,
to enable qseecom driver on msmfalcon.

Change-Id: Ib29962ebc7427391d7c0e355fa46156d2a8d15e5
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
2016-11-29 16:38:05 +05:30
Shankar Ravi
403cd70988 ARM: dts: msm: Front camera config for msmfalcon interposer
1. Voltage regulator changes for front camera
   and eeprom.
2. Gpio changes for front camera and eeprom.
3. Flash changes for rear and front camera.

Change-Id: I85128fab65611a66d7d04a896502c75d8212a736
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
2016-11-29 15:10:46 +05:30
Linux Build Service Account
2be8fc81c3 Merge "net: add SOCK_RCU_FREE socket flag" 2016-11-28 23:58:04 -08:00
Linux Build Service Account
e8e6638a9e Merge "ARM: dts: msm: Remove msm_bus bandwidth vote for msm8998" 2016-11-28 23:58:03 -08:00
Linux Build Service Account
9466e2c254 Merge "msm: mdss: dp: Fix PD compliance issues" 2016-11-28 23:58:02 -08:00
Linux Build Service Account
a16b037ec0 Merge "msm: mdss: hdcp_1x: add cp_irq support" 2016-11-28 23:58:00 -08:00
Linux Build Service Account
36b534d1ff Merge "msm: sde: Force setting SDE rotator clock even rate is the same" 2016-11-28 23:57:59 -08:00
Linux Build Service Account
f2f8e391d8 Merge "msm: mdss: Remove backlight min level checks during backlight scaling" 2016-11-28 23:57:58 -08:00
Linux Build Service Account
d7ab29dbb6 Merge "diag: Set in_busy only after initialization of read buffers" 2016-11-28 23:57:57 -08:00
Linux Build Service Account
46c5a88fdf Merge "sched/core: Do not free task while holding rq lock" 2016-11-28 23:57:56 -08:00
Linux Build Service Account
c62f791a9d Merge "ARM: dts: msm: remove msm8998-mtp reference for msm8998 QRD device" 2016-11-28 23:57:55 -08:00
Linux Build Service Account
52ce5dee28 Merge "clk: WARN_ON about to disable a critical clock" 2016-11-28 23:57:53 -08:00
Linux Build Service Account
608623f6b3 Merge "mdss: display-port: fix MSA settings for 5.4 Ghz link rate" 2016-11-28 23:57:52 -08:00
Linux Build Service Account
ea956df8a1 Merge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD SKUK" 2016-11-28 23:57:47 -08:00
Linux Build Service Account
7476049131 Merge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD VR1" 2016-11-28 23:57:46 -08:00
Linux Build Service Account
52b94c7f09 Merge "clk: msm: Add clock_debug_print_enabled for common clock" 2016-11-28 23:57:45 -08:00
Linux Build Service Account
592203a5ae Merge "adreno_tz: Fix divide by zero problem in gpu_load_show()" 2016-11-28 23:57:44 -08:00
Linux Build Service Account
48a508c8de Merge "msm: camera: ispif: Ratelimit message" 2016-11-28 23:57:43 -08:00
Linux Build Service Account
ed5bf14e0e Merge "ARM: dts: msm: Modify ACD_EXTINT_CFG value for msm8998 v2" 2016-11-28 23:57:36 -08:00
Linux Build Service Account
737b90d9f8 Merge "msm: mdss: fix intf_num in irq enable/disable for CWB" 2016-11-28 23:57:34 -08:00
Linux Build Service Account
148939c0a4 Merge "defconfig: msm: Add the perf config for msmfalcon target" 2016-11-28 23:57:33 -08:00
Linux Build Service Account
6f133efb36 Merge "ARM: dts: msm: update clock regulator nodes for msm8998 interposer" 2016-11-28 23:57:32 -08:00
Linux Build Service Account
40493b8042 Merge "qos: Register irq notify after adding the qos request" 2016-11-28 23:57:32 -08:00
Linux Build Service Account
215aba36c9 Merge "wil6210: support FTM/AOA while unassociated" 2016-11-28 23:57:30 -08:00
Linux Build Service Account
4f8eca79ce Merge "ARM: dts: msm: Add VADC_HC and BTM channels for QVR8998" 2016-11-28 23:57:30 -08:00
Linux Build Service Account
e447498cb4 Merge "ARM: dts: msm: Add VADC_HC and BTM channels for QRD8998 SKUK" 2016-11-28 23:57:29 -08:00
Linux Build Service Account
09f47a9c14 Merge "diag: Fix possible access to freed variable" 2016-11-28 23:57:27 -08:00
Linux Build Service Account
894ba12732 Merge "arm64: avoid segfault on el0 cache maintenance" 2016-11-28 23:57:26 -08:00
Linux Build Service Account
2c6ca087da Merge "msm: mdss: Fix potential deferencing of null pointer" 2016-11-28 23:57:25 -08:00
Linux Build Service Account
a471456332 Merge "msm: mdss: hdmi: fix potential null deference errors" 2016-11-28 23:56:42 -08:00
Shankar Ravi
5e13a312f7 ARM: dts: msm: Camera configuration for msmfalcon interposer
1. Voltage regulator changes for rear camera
   and eeprom.
2. Gpio changes for rear camera and eeprom.

Change-Id: Ie59a748d016211d5ddbab2593ec310a313690f9e
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
2016-11-29 12:35:09 +05:30
Jordan Crouse
eed663a48b msm: kgsl: Reserve a context ID slot but don't populate immediately
When creating a context allocate an ID but don't populate the slot
with the context pointer until we are done setup up the rest of the
process. This avoids a race if somebody tries to free the same
identifier before the create operation is complete.

Change-Id: Ic0dedbadca5b4cc4ce567afad48a33078b549439
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Dumpeti Sathish Kumar <sathyanov14@codeaurora.org>
2016-11-29 12:32:52 +05:30
Ashay Jaiswal
3b15b86284 ARM: dts: msm: update resource id of SSC regulator of PM2FALCON
RPM expects resource-id of each type of regulator to start from
0. Update the resource-id of SSC regulator accordingly.

Change-Id: Id9721e5b96df08a1090914b968c93436d15169a9
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2016-11-29 11:07:59 +05:30
Mohit Aggarwal
59045a4916 diag: Set in_busy only after initialization of read buffers
Currently, there is a possibility that read buffers are
not initialized but diag ends up marking buffers busy and
stops reading from peripheral, which leads to port loss.
Also reset the in_busy variable for the buffer that reads
the data from smd channel when diag smd state is closed.

CRs-Fixed: 1093989
Change-Id: I1990d0ded5a212c9185c149ac297a3630d64bc59
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2016-11-28 19:47:57 -08:00
Maheshwar Ajja
aea54c3cba msm: vidc: avoid repeated calls to handle_sys_error
There is no need to call handle_sys_error if it is
called already. So check the core state to return
if it is not in valid state.

CRs-Fixed: 1072500

Change-Id: Iaa77ea31f29190dcf35b4bfc4913b8eec0d638b0
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2016-11-28 19:25:35 -08:00
Maheshwar Ajja
e4798a5564 msm: vidc: Fail qbuf and prepare_buf incase of error
If either instance state or core state is invalid, then
we should fail and return error from qbuf and prepare_buf.

CRs-Fixed: 1072500

Change-Id: I0efc3125b2c204dafbc90d011a4e9ad3fb1c1ba2
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2016-11-28 19:20:57 -08:00
Ping Li
cb2d7844a2 msm: mdss: Optimize Gamut Mapping programming sequence
Gamut mapping feature has a huge size 3D LUT table, which consumes
a lot of time to program. This patch optimizes the programming of
the 3D LUT to reduce about half of the register writes.

Change-Id: I4a9fcee6c1cd70d9c04426c394e480c11a6f4648
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-11-28 18:54:41 -08:00
Pengfei Liu
39c1b136f5 ARM: dts: msm: Add actuator and flash src for msm8998 qrd skuk board
Add actuator src and flash src of camera0 node for
support focus and flash function on msm8998 qrd skuk board.

Change-Id: I92ed864aedfdd38c8670e08fb35a6545e8abb142
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
2016-11-28 18:12:51 -08:00
Yuanyuan Liu
aa8243259a ARM: dts: msm: Remove msm_bus bandwidth vote for msm8998
Remove msm_bus bandwidth vote from DT for msm8998
as WLAN FW will take care of it.

CRs-Fixed: 1094917
Change-Id: Ied5dcb9e3283dc2ec7f5fd6f03465b070f989d8b
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-11-28 17:44:17 -08:00
Tatenda Chipeperekwa
e79745a54e msm: mdss: dp: fix GPIO settings to support flip plug orientation
Fix the GPIO settings by changing output of GPIO78 to 0 to flip
the on board AUX switch, and furthermore, setting the function
of GPIO38 to gpio. These updated GPIO settings enable flip plug
orientation to work by fixing the AUX switch and the PHY lane
configuration.

Change-Id: I0da80a4f524ba84cf6740521f6b1bfe63a85de38
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
CRs-Fixed: 1062508
2016-11-28 17:14:03 -08:00
Tatenda Chipeperekwa
5582e2ae28 clk: msm: mdss: fix PHY programming for flip plug orientation
Fix the PHY programming sequence for flip plug orientation by
ensuring that the correct PHY_MODE and LANE_MODE values are
selected, depending on the orientation and link rate
respectively.

Change-Id: I6e74c20c509b7007a86df9d99894a9a6c0baa946
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
CRs-Fixed: 1062508
2016-11-28 17:11:07 -08:00
Runmin Wang
9b0c12f0c4 ARM: dts: msm: remove msm8998-mtp reference for msm8998 QRD device
Remove redundant inclusion of mtp dtsi in msm8998-qrd.dtsi file.

CRs-Fixed: 1094871
Change-Id: Ibc9e99fd69cbd30e449d0fec728d71a1fa7f162c
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-11-28 16:29:13 -08:00
Ingrid Gallardo
c6576956d1 msm: mdss: add support to set mdp clock rate before enable
Current clock driver requires that before enabling
the core clock after power collapse, the set rate
must be called. Ensure this sequence by always calling
the set rate for the mdp core clock before enable.

Change-Id: I872f18235b0b1685dfdee3de99827d031077a012
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-11-28 15:13:17 -08:00