Commit graph

595251 commits

Author SHA1 Message Date
Gustavo Solaira
18d2bfed45 ARM: dts: msm: Set values for MDM shutdown and reset on msm8996 CV2X
Set properties of the esoc driver for MDM shutdown and reset
time intervals for msm8996 CV2X.

Change-Id: Ic86f6b441b369a3ea4845425930724d5e6fed149
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-12-05 21:28:11 -08:00
Gustavo Solaira
a026858db0 esoc: Convert timeout for reset and shutdown to device tree option
Convert the timeout and shutdown intervals to be read from
the device tree and set default values in case no option is
provided.

Change-Id: I90efb5910ddf1667db5cde79f46a4a94da1668ec
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-12-05 21:28:06 -08:00
Linux Build Service Account
55cbbe6873 Merge "msm: kgsl: Capture all the shader data in the snapshot" 2017-12-01 13:29:13 -08:00
Lynus Vaz
dec0aecf7f msm: kgsl: Capture all the shader data in the snapshot
The shader block size is in dwords. Make sure we copy out all the
bytes that we want.

Change-Id: I42364350ee6314b4830ed11cc06e61d854122543
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Signed-off-by: Archana Obannagari <aobann@codeaurora.org>
2017-12-01 17:55:08 +05:30
Linux Build Service Account
d580be2b5d Merge "msm: ipa3: Remove ep_delay on disconnect sequence" 2017-12-01 04:19:57 -08:00
Linux Build Service Account
9a65cf65cd Merge "cnss2: Add a debug option to skip any kind of recovery" 2017-12-01 04:19:56 -08:00
Mohammed Javid
e0f095e420 msm: ipa3: Remove ep_delay on disconnect sequence
When device in Low Power Mode, usb driver invokes
suspend and then disconnect upon cable disconnection.
Remove the ep_delay if it is set.

Change-Id: I203d57d70e8c189a2f3bc7f7830392fac98cfbb1
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-12-01 10:55:48 +05:30
Yue Ma
081d3dfb37 cnss2: Add a debug option to skip any kind of recovery
After firmware crashes, driver will try to recover the device by
resetting hardware and reloading firmware. Add a debug quirk option
to skip the recovery so that WLAN device can still remain the status
after crash for live debugging.

Change-Id: Ifff26df9ae5ab4c25573ca84e29eed73a79c6525
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-11-30 16:34:22 -08:00
Linux Build Service Account
511b3b485d Merge "sound: usb: Update QMI indication message" 2017-11-30 14:02:16 -08:00
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
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
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
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
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