Commit graph

595536 commits

Author SHA1 Message Date
Linux Build Service Account
63dbbf58d1 Merge "usb: host: xhci: Remove helper API retuning dcba dma address" 2017-11-30 14:02:16 -08:00
Linux Build Service Account
b3b6467d66 Merge "soc: qcom: glink_pkt: Modify conversion of CTS/DTR signals" 2017-11-30 14:02:14 -08:00
Linux Build Service Account
9123b63f98 Merge "msm: kgsl: Fix the process sysfs refcounting" 2017-11-30 14:02:13 -08:00
Linux Build Service Account
dc25cb3595 Merge "scsi: ufs: Add counter for hibernate and gear switch" 2017-11-30 14:02:12 -08:00
Lynus Vaz
d8475cbda7 msm: kgsl: Fix the process sysfs refcounting
The kobject used for the process's sysfs node did not provide a
release function, so it did not correctly implement the refcounting.
Add a release callback so that we keep the process structure valid
as long as the kobject is alive.

Change-Id: I6db54092ed29ecd4d2f157188a4f1a5fc70f1edf
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
2017-11-30 06:42:01 -08:00
Dhoat Harpal
3946f6ea3f soc: qcom: glink_pkt: Modify conversion of CTS/DTR signals
SMD_DTR_SIG and SMD_CTS_SIG signals are converted to TIOCM_DTR
and TIOCM_RTS respectively, for client notification. This is
incorrect conversion.

SMD_DTR_SIG and SMD_CTS_SIG signals conversion is modified to
TIOCM_DSR and TIOCM_CTS respectively.

CRs-Fixed: 2148119
Change-Id: I7cd61afe4639fc7c5fd993f4047fad3ff04c53a7
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-11-30 17:27:52 +05:30
Linux Build Service Account
fca788d095 Merge "ARM: dts: msm: Pass usb controller id for 8996" 2017-11-30 03:23:40 -08:00
Linux Build Service Account
645b737572 Merge "smb1351: Fix parallel ICL configuration" 2017-11-30 03:23:38 -08:00
Linux Build Service Account
ddf3b70d70 Merge "battery: fix ordering of ICL/FCC configuration" 2017-11-30 03:23:38 -08:00
Linux Build Service Account
aa5d40233b Merge "leds: qpnp-wled: Fix the check to disable AUTO_PFM" 2017-11-30 03:23:36 -08:00
Linux Build Service Account
39312eaf10 Merge "ath10k: Add phyerr event changes for HL1.0" 2017-11-30 03:23:35 -08:00
Sharat Masetty
8ec33ac38f drm/msm: Correctly retrieve gpu's active power level
The parsing logic wrongly assumes the position of the initial/active power
level value in the gpu dts file. This leads to the active power level
always defaulting to a value of 1. Look for the initial power level
one level up in the device tree.

Change-Id: I63f8c8efd05ad3693c6f399f58bed44ac84105d2
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
2017-11-30 15:41:22 +05:30
Linux Build Service Account
c414a49ede Merge "mmc: core: Return card status if sdr104_wa is not present" 2017-11-29 15:24:44 -08:00
Linux Build Service Account
9dc5296df5 Merge "ARM: dts: msm: modify HDMI configuration for msm8996 auto ADP/CDP" 2017-11-29 15:24:43 -08:00
Linux Build Service Account
4782da7011 Merge "ath10k: fix the potential buffer overflow in wow offload" 2017-11-29 15:24:42 -08:00
Linux Build Service Account
de7627fc2a Merge "icnss: Add dev to all export APIs in ICNSS" 2017-11-29 15:24:41 -08:00
Linux Build Service Account
27cf3c894b Merge "msm: camera: Synchronize v4l2 subscribe and unsubscribe event in camera.c" 2017-11-29 15:24:40 -08:00
Linux Build Service Account
63eb29fe2b Merge "defconfig: msm: Enable CONFIG_ESOC_DRV for msm8996 auto" 2017-11-29 15:24:37 -08:00
Linux Build Service Account
bcc563a061 Merge "DRM: SDE: Update the hdmi bridge to handle HPD clock" 2017-11-29 04:26:11 -08:00
Linux Build Service Account
eddaa51931 Merge "defconfig: msm: Enable USB audio QMI service driver for 8996" 2017-11-29 04:26:10 -08:00
Linux Build Service Account
989790f157 Merge "mmc: core: add power on to SD card detect" 2017-11-29 04:26:09 -08:00
Linux Build Service Account
eb08666211 Merge "msm: ipa: dynamic memory leak fix" 2017-11-29 04:26:08 -08:00
Linux Build Service Account
0f011956d5 Merge "sound: usb: Provide controller number in QMI response" 2017-11-29 04:26:05 -08:00
Linux Build Service Account
63624a4104 Merge "usb: core: Add helper function to return controller id" 2017-11-29 04:26:04 -08:00
Linux Build Service Account
e648f8c78b Merge "icnss: Remove MSA0 permission only when modem is crashed" 2017-11-29 04:26:03 -08:00
Rahul Sharma
4b94735d85 ARM: dts: msm: modify HDMI configuration for msm8996 auto ADP/CDP
Automotive use case requirement is to have HDMI display as non-pluggable.
This change also set a custom mode as 1920x1080p@60Hz.

Change-Id: Ic2baec180d51dc6a91eaf72c44df1da066f04d2e
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-11-29 15:54:00 +05:30
Sarada Prasanna Garnayak
f2bec47224 ath10k: fix the potential buffer overflow in wow offload
Update the arp and ns tuple for arp-ns tlv cmd and pass
the size of IP address and wlan net dev name during mem
copy and comparison.

CRs-Fixed: 2149966
Change-Id: I9457af4578c70f876c3a58e3d8c655dcaa476e07
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-11-29 01:35:56 -08:00
Sarada Prasanna Garnayak
f89e708410 icnss: Add dev to all export APIs in ICNSS
Add device pointer in all export symbol to
add support for numerous WLAN module.

CRs-Fixed: 2138446
Change-Id: I981155c165e4e5c2794b778afe647f8a588dd860
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-11-29 01:33:36 -08:00
Trishansh Bhardwaj
5553436c21 msm: camera: Synchronize v4l2 subscribe and unsubscribe event in camera.c
If same event is unsubscribed before v4l2_event_subscribe returned,
Then function v4l2_event_subscribe have possibility use-after-free.

Serialize msm_subscribe_event and msm_unsubscribe_event to
prevent parallel invocation of v4l2_event_subscribe and
v4l2_event_unsubscribe.

Change-Id: Ia28cfb9d46550d58221f157337a1468f524753e3
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
2017-11-29 00:03:04 -08:00
Karthikeyan Mani
eefe13156c ALSA: pcm: use lock to protect substream runtime resource
Use a spinlock to protect runtime resource in substream
against race conditions which may lead to use-after-free.

CRs-fixed: 2112713
Change-Id: I37dee68cad5eae05b21cfade3dabc0c2b79be6b8
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2017-11-28 23:37:30 -08:00
Karthikeyan Mani
4e0e2d6a6e ALSA: pcm: add locks for accessing runtime resource
Add spin lock to resolve race conditions while
accessing substream runtime resource.

CRs-fixed: 2112713
Change-Id: I8db743303ceb50205d62adfc02caf6ecab635d47
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2017-11-28 23:35:34 -08:00
Rakesh Pillai
8be2a9ef5d ath10k: Add phyerr event changes for HL1.0
HL1.0 firmware sends phyerr_mask in the phyerr
event, which needs to be used to determine the
type of phyerr.

Add the phyerr_mask parameters for HL1.0 in the
phyerr wmi event.

CRs-Fixed: 2150566
Change-Id: Ib2d5286fbf45d41229e68d817d65714d18811a4e
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-11-29 11:20:19 +05:30
Sayali Lokhande
cf2ea6ea6a scsi: ufs: Add counter for hibernate and gear switch
This change adds few more debugfs entries to capture
statistics regarding the ufs driver.
This information include:
1. ufs hibernate exit count
2. ufs power mode change count
usage : cat /sys/kernel/debug/ufshcd0/show_hba

Change-Id: I75ac694c1f7e98d527392372300d16ad911ac512
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-11-29 11:11:42 +05:30
Linux Build Service Account
5ae2acd95c Merge "platform: msm: Set USB speed to SUPER before calling notifier" 2017-11-28 13:00:56 -08:00
Michael Adisumarta
313711415d msm: ipa: dynamic memory leak fix
This is a fix for dynamic memory leak seen with incorrectly
allocating memory of a different size than with intended
size.

Change-Id: I821442ee6728ea90ceab7644e194f4e06369333a
Acked-by: Jyothi Jayanthi <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2017-11-28 05:07:39 -08:00
Sharat Masetty
c399b38fc9 drm/msm: Save buffer iova's for rd-dump
rd-dump needs the buffer iova's captured in the submit path. This helps
the offline parser construct the relocs correctly. Save the buffer
iova's for the buffers which were not mapped yet and then call the API
to rd-dump the submission.

Change-Id: Ic771f3e76d8b3b943300e69fd62320f387c2d4c0
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
2017-11-28 17:34:01 +05:30
Sharat Masetty
1ff6f9bca6 drm/msm: Add API support for getting GPU hang timeout
Userspace needs to know the GPU timeout value to support Khronos robust
GPU timeout extension. The timeout value is returned to the user in
millisecond resolution.

Change-Id: Iba2ff43fce6d21da240356b392afa7a6e7a618ad
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
2017-11-28 17:23:13 +05:30
Linux Build Service Account
2e22873571 Merge "defconfig: msm: Enable SPI slave framework on 8996 Auto" 2017-11-28 03:16:33 -08:00
Linux Build Service Account
24209a5db6 Merge "defconfig: msm: enable memory hotplug support" 2017-11-28 03:16:28 -08:00
Linux Build Service Account
9f8441d764 Merge "arm64: Honor limits set by bootloader" 2017-11-28 03:16:28 -08:00
Linux Build Service Account
f830b1a444 Merge "arm64: Add "remove" probe driver for memory hot-remove" 2017-11-28 03:16:27 -08:00
Linux Build Service Account
5cac878f91 Merge "arm64: Hot-remove implementation for arm64" 2017-11-28 03:16:26 -08:00
c_mtharu
595c2eab87 msm: ADSPRPC: validate context pointer with magic number
Validate context pointer using magic number instead of searching
through context list. It removes the usage of spin lock in interrupt
handler for avoiding deadlock and reducing latency.

Change-Id: I2492a7984a8d6545618a9cfb7a2d239d03ddd5a2
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2017-11-28 13:13:17 +05:30
Dilip Kota
ec0723262e defconfig: msm: Enable SPI slave framework on 8996 Auto
Enable SPI slave protocol handlers.

Change-Id: I9458d6445db5f78a08cff9796d4f2e7afbc2909c
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
2017-11-28 10:05:26 +05:30
Linux Build Service Account
aa0356095c Merge "msm: sps: Restore ipc log destroy commands" 2017-11-27 16:06:00 -08:00
Linux Build Service Account
5dcc88129c Merge "defconfig: msm: Compile ADV7481 as a module" 2017-11-27 16:05:59 -08:00
Linux Build Service Account
5e7380a426 Merge "msm: ADSPRPC: Change SSC VMID from 5 to 38" 2017-11-27 16:05:58 -08:00
Linux Build Service Account
c6675837bb Merge "ARM: dts: msm: Remove useless DSI panel commands for adv7533" 2017-11-27 16:05:56 -08:00
Linux Build Service Account
b246b38b90 Merge "mmc: card: Requeue the request if it fails during issuing" 2017-11-27 16:05:55 -08:00
Camus Wong
b31584ba68 DRM: SDE: Update the hdmi bridge to handle HPD clock
For non-pluggable display, it should not enable HPD.  Instead, the
bridge should handle all the clocks for HDMI.  Also the scrambler
should be activated after the HDMI has power on the clock.

Change-Id: I9162a49b8f314de4d30b0d82c7867a639ddf05a6
Signed-off-by: Camus Wong <camusw@codeaurora.org>
2017-11-27 14:37:29 -08:00