summaryrefslogtreecommitdiff
path: root/drivers/soc (follow)
Commit message (Collapse)AuthorAge
...
| * | | | | | | | soc: qcom: handle wdsp glink state notificationsVidyakumar Athota2016-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When WDSP has crashed, G-link link state is updated with GLINK_LINK_STATE_DOWN and remote side channels are closed. Handle the link state down notification from G-link and close the channels from local side when remote disconnect channel event occurs. Change-Id: Id956256fbb3ea6b18a3685a34dcd1f9b16e71e92 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* | | | | | | | | Merge "icnss: Wait uninterruptible for unregister driver"Linux Build Service Account2016-10-08
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | icnss: Wait uninterruptible for unregister driverPrashanth Bhatta2016-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When WLAN driver calls unregister driver, an event is posted to event work queue and the calling thread waits for the event to complete. In some cases like during suspend, calling thread gets interrupted and wait_for_completion returns. Once it is returned, WLAN module resources are freed including code segments and work queue gets into Synchronous Abort. Fix the issue by making unregister uninterruptible to make sure WLAN driver clean-up happens gracefully without interrupted by user space. CRs-fixed: 1073854 Change-Id: Id0f8634641fa2be12ffe00ddbc96a9e400e40739 Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
* | | | | | | | | | Merge "icnss: Prevent suspend while processing events"Linux Build Service Account2016-10-08
|\| | | | | | | | | | |_|_|_|_|/ / / / |/| | | | | | | |
| * | | | | | | | icnss: Prevent suspend while processing eventsPrashanth Bhatta2016-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Power collapsing while processing events posted to work queue causes stability issues because of suspending while in the process of bring-up, bring-down or recovery. Prevent suspend while processing events by calling pm_stay_awake(). CRs-fixed: 1073854 Change-Id: I6c7ae3b6e52529b14075fb2212bc2c5f76ae5730 Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
* | | | | | | | | Merge "icnss: Provide API to check QMI support"Linux Build Service Account2016-10-07
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | icnss: Provide API to check QMI supportHardik Kantilal Patel2016-10-06
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide API to check QMI support present or not to WLAN host driver. Based on this information driver can pass the DMA physical address info via shadow register to WLAN FW. CRs-Fixed: 1073647 Change-Id: Iec9d3a3b468ddf6607e4a942bb3cf9133e9f0c34 Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
* | | | | | | | | Merge "soc:qcom: common_log: change PMIC dump size from 4k to 64k"Linux Build Service Account2016-10-07
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | soc:qcom: common_log: change PMIC dump size from 4k to 64kWillie Ruan2016-09-15
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4K bytes of size is not enough for PMIC register dump with multiple chips on a target and many peripherals. Increase it to 64K for this need. Change-Id: I2053eb292051514fa9965e6dc0420e790165ed0d Signed-off-by: Willie Ruan <wruan@codeaurora.org>
* | | | | | | | | Merge "msm: rpm-smd-debug: Remove unwanted pr_info"Linux Build Service Account2016-10-07
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | |
| * | | | | | | | msm: rpm-smd-debug: Remove unwanted pr_infoMahesh Sivasubramanian2016-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove printk which fills up the kernel buffer with not so useful messages. In certain test scenarios this could flood the serial console and could cause a crash. CRs-fixed: 710614 Change-Id: Ie0265364fefc93d4c1a9044c60adc74758650593 Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
* | | | | | | | | Merge "drivers: soc: qcom: system_stats: Use arch_counter_get_cntvct()"Linux Build Service Account2016-10-06
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | drivers: soc: qcom: system_stats: Use arch_counter_get_cntvct()Mahesh Sivasubramanian2016-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream kernel has deprecated the use of arch_counter_get_cntpct() and the drivers are expected to switch to arch_counter_get_cntvct. Switch to using arch_counter_get_cntvct(). Change-Id: I3eeefff492889b57837a8334eb933c22d0e4917a Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
* | | | | | | | | | Merge "icnss: Remove unused suspend/resume functions"Linux Build Service Account2016-10-06
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | |
| * | | | | | | | | icnss: Remove unused suspend/resume functionsYuanyuan Liu2016-10-04
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused suspend/resume functions as pm_suspend/pm_resume are the functions that being called during system suspend/resume. CRs-Fixed: 1074250 Change-Id: Ifd1d90402d6f79dc96246c4825d46d41296b0ba5 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | | | | Merge "icnss: Ignore PD down if WLAN FW doesn't exists"Linux Build Service Account2016-10-06
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | |
| * | | | | | | | icnss: Ignore PD down if WLAN FW doesn't existsPrashanth Bhatta2016-09-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During Modem SSR, PD down notification gets notified by service-notifier. There are cases where in WLAN firmware may not be available on Modem side. Handle PD down notification gracefully in case WLAN firmware doesn't exists. CRs-fixed: 1072772 Change-Id: Ibfe29a3950fabfcf8baa5d08b15e0f056dcc1f2a Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
* | | | | | | | | Merge "icnss: Handle graceful Modem shutdown"Linux Build Service Account2016-10-06
|\| | | | | | | |
| * | | | | | | | icnss: Handle graceful Modem shutdownPrashanth Bhatta2016-09-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the current implementation, all the PD down notifications are treated as crash but PD down notification can happen because of graceful Modem shutdown also. Handle the case such that if the PD down notification happens which is not a crash then bring down WLAN driver and firmware gracefully. CRs-fixed: 1065232 Change-Id: I63f3e0747ffc1e703a068c6ac649e6242f285b9b Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
* | | | | | | | | Merge "soc: qcom: Use syncronization while freeing the qmi_client data"Linux Build Service Account2016-10-05
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | soc: qcom: Use syncronization while freeing the qmi_client dataGaurav Kohli2016-10-05
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Potential use after free possibility when trying to access qmi client data in the ssr notification and root pd_down notification handling. CRs-Fixed: 1074483 Change-Id: I5390810861dbc1da368757df2b20e5daa35bd081 Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
* / | | | | | | | coresight: hwtracing: fix dangling pointer issuesCharan Teja Reddy2016-10-05
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the dangling pointer issues on CoreSight that can cause the kernel panic. Change-Id: Ic20405cf2f64c6bc38e994780577b7da42cf6aba Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
* | | | | | | | Merge "ASoC: msm: Update the error handling when APR sends packet failed"Linux Build Service Account2016-10-03
|\ \ \ \ \ \ \ \
| * | | | | | | | ASoC: msm: Update the error handling when APR sends packet failedKuirong Wang2016-09-30
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the error handling when APR sends packet failed so that audio driver can perform proper error recovery. CRs-Fixed: 1050605 Change-Id: I6210e244e6299ec747836f40d03e92c15c6e53ee Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
* | | | | | | | Merge "msm: secure_buffer: Add VMID_CP_CAMERA_PREVIEW"Linux Build Service Account2016-09-30
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: secure_buffer: Add VMID_CP_CAMERA_PREVIEWLiam Mark2016-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for VMID_CP_CAMERA_PREVIEW Change-Id: Ifacc1ff95262c6240283d19cf02dcac37933c141 Signed-off-by: Liam Mark <lmark@codeaurora.org>
* | | | | | | | | Merge "icnss: Add support for disabling vbatt notification"Linux Build Service Account2016-09-30
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | |
| * | | | | | | | icnss: Add support for disabling vbatt notificationYuanyuan Liu2016-09-29
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ICNSS monitors runtime phone power. When phone power crosses either high or low threshold, ICNSS sends vbatt notification to WLAN FW. FW then should vote for different regulator power mode based on the notification. Add support for disabling this feature and disable it for now until WLAN FW support voting for different regulator power mode. CRs-Fixed: 1070294 Change-Id: I63241a198040122fcc4f26b728795e39822dbdc8 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | | | Merge "icnss: update logs for QMI rejected messages"Linux Build Service Account2016-09-29
|\ \ \ \ \ \ \ \
| * | | | | | | | icnss: update logs for QMI rejected messagesYuanyuan Liu2016-09-28
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WLAN firmware can reject QMI message, improve the logs to indicate the same. CRs-Fixed: 1071938 Change-Id: I7ab180e06ececf8136903ee04565b8b4a2bf3524 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | | | Merge "soc: qcom: pil: add PBL spare error status"Linux Build Service Account2016-09-29
|\ \ \ \ \ \ \ \
| * | | | | | | | soc: qcom: pil: add PBL spare error statusAmir Samuelov2016-09-27
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PBL spare status registers provide more info about the reason for PBL failure. Change-Id: I1dddc7df26caa1556e57128603afd32b2613ebde Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | | | | Merge "ASoC: msmcobalt: Enable msmcobalt to use audio notifier"Linux Build Service Account2016-09-29
|\ \ \ \ \ \ \ \
| * | | | | | | | drivers: soc: Enable APR driver to use audio notifierBen Romberger2016-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify APR driver to use audio notifier framework. Audio notifier framework connects to best available subsystem for remote notifications. Change-Id: I783b7df9c7e0253e5dc88bd60e0b5300e26fba56 CRs-Fixed: 1054000 Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
* | | | | | | | | Merge "drivers: soc: Add Audio Notifier, PDR, and SSR drivers"Linux Build Service Account2016-09-29
|\| | | | | | | |
| * | | | | | | | drivers: soc: Add Audio Notifier, PDR, and SSR driversBen Romberger2016-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The audio PDR driver is used to control the process domain restart recovery mechanism. The audio SSR driver is used to control the Subsystem Restart recovery mechanism. Both are controlled through the Audio Notifier driver which determines whether PDR or SSR is used and provides the core interface to all audio drivers. Change-Id: I15325c1385eaa0f0cca2c07130f2b4a997d98e1f CRs-Fixed: 1054000 Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
| * | | | | | | | drivers: soc: Add Kconfigs for Audio Notifier, PDR, and SSRBen Romberger2016-09-26
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add separate Kconfigs for the audio SSR, audio PDR, and audio notifier drivers. Allows precise control of different audio recovery mechanisms. Change-Id: I2ab027d4a6e2cb98df5358e24f6bebacd9aecca7 CRs-Fixed: 1054000 Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
* | | | | | | | Merge "soc: qcom: glink: Fix uninitialzed return value."Linux Build Service Account2016-09-29
|\ \ \ \ \ \ \ \
| * | | | | | | | soc: qcom: glink: Fix uninitialzed return value.Dhoat Harpal2016-09-23
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize the return value in the glink tx scheduler function. CRs-Fixed: 1067981 Change-Id: I3f78196927501f582c36d5815096581185d797b4 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | | | | | Merge "soc: qcom: glink_ssr: Fix uninitialized variable"Linux Build Service Account2016-09-29
|\ \ \ \ \ \ \ \
| * | | | | | | | soc: qcom: glink_ssr: Fix uninitialized variableDhoat Harpal2016-09-23
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize ss_info_leaf variable in glink_ssr_probe. CRs-Fixed: 1067981 Change-Id: I82b08ff548a9abb0538a0ba24f699a99547ec7b7 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | | | | | Merge "msm: mink: Accept zero args for invoke command"Linux Build Service Account2016-09-29
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mink: Accept zero args for invoke commandDinesh K Garg2016-09-21
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, INVOKE IOCTL assumes presence of atleast one arg. This assumption is not correct. Hence, adding support for zero args in INVOKE IOCTL. Change-Id: Ib44789559c69e5808ed362cf9191486c93b2b66e Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
* | | | | | | | Merge "core_ctrl: Move core control into kernel"Linux Build Service Account2016-09-29
|\ \ \ \ \ \ \ \
| * | | | | | | | core_ctl_helper: Remove code since it is not used anymoreOlav Haugan2016-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the core control helper code since this is not needed anymore with subsequent patches that moves core control into the kernel. Change-Id: I62acddeb707fc7d5626580166b3466e63f45fd89 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
| * | | | | | | | soc: qcom: watchdog_v2: Add support for cpu isolationOlav Haugan2016-09-20
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure watchdog does not wake up isolated cpu. Change-Id: Ie4c6cb1496ae3490d81681f1ad51c8103caa0014 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
* | | | | | | | Merge "soc: qcom: Listen to SUBSYS_AFTER_SHUTDOWN notification"Linux Build Service Account2016-09-29
|\ \ \ \ \ \ \ \
| * | | | | | | | soc: qcom: Listen to SUBSYS_AFTER_SHUTDOWN notificationPuja Gupta2016-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the subsytem goes down through SSR path, listen for SUBSYS_AFTER_SHUTDOWN and then send out ROOT_PD down notification to service notifier clients. ROOT_PD down is supposed to indicate that service is already down. Change-Id: I916e37bd79a6645bdc186a78a65051ce1c4dd475 Signed-off-by: Puja Gupta <pujag@codeaurora.org>
* | | | | | | | | Merge "msm: pil: Adding function name and buffer size information in logs"Linux Build Service Account2016-09-29
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | msm: pil: Adding function name and buffer size information in logsGaurav Kohli2016-09-19
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add function name and buffer size in error messages during modem load and authentication.This will help to debug mba/modem loading issues in faster way. CRs-Fixed: 993625 Change-Id: I2c99df5de44a6fd924ce7f5921db0e1cf3ba5d11 Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>