summaryrefslogtreecommitdiff
path: root/drivers/soc (follow)
Commit message (Collapse)AuthorAge
...
* | | | Merge "icnss: Add APIs to store driver load count"Linux Build Service Account2017-06-09
|\ \ \ \
| * | | | icnss: Add APIs to store driver load countAmar Singhal2017-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Host wlan driver needs to know if the drive has been reloaded and wiphy re-registered with the kernel. Therefore add APIs to retrieve this information. CRs-Fixed: 2058292 Change-Id: Ia323e31e9b6779e2f5279f42b6e1860a9259a189 Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
* | | | | Merge "icnss: Re-phrase debug message and rename state"Linux Build Service Account2017-06-09
|\ \ \ \ \
| * | | | | icnss: Re-phrase debug message and rename stateYuanyuan Liu2017-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-phrase PD notification registration debug message and change state name of SSR/PDR to avoid confusion. CRs-Fixed: 2057789 Change-Id: I5b800982c0d8c4d5ba627e28f3c9fa8eab7ca074 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | Merge "icnss: Enable platform device to be a wakeup source"Linux Build Service Account2017-06-09
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | icnss: Enable platform device to be a wakeup sourceYuanyuan Liu2017-06-08
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently platform device is not enabled as a wakeup source, so notifying the PM core for a wakeup event action will be no-op. Hence enable it during driver probe. CRs-Fixed: 2058010 Change-Id: Iefe5bcd4b498a9f02fca001ebcf8ad484f443217 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | Merge "soc: qcom: glink_smem_native_xprt: recovery from SSR in tasklet only"Linux Build Service Account2017-06-08
|\ \ \ \ \
| * | | | | soc: qcom: glink_smem_native_xprt: recovery from SSR in tasklet onlyArun Kumar Neelakantam2017-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checking RX_FIFO allocation status from deferred thread also causes in_ssr flag reset and reading stale data from FIFO, If the deferred thread schedules after the execution of ssr() function. Check RX_FIFO status only after receiving the interrupt from remote side which happens after remote sub-system recover from SSR. CRs-Fixed: 2054480 Change-Id: I39269f6b2e1f1cb9aecd25fa40e73c2d6f12dbd5 Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
* | | | | | Merge "net: ipc_router: Add dynamic enable/disable wakeup source feature"Linux Build Service Account2017-06-07
|\ \ \ \ \ \
| * | | | | | net: ipc_router: Add dynamic enable/disable wakeup source featureArun Kumar Neelakantam2017-06-07
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default IPC Router core uses edge and port specific wakeup sources which are blocking system suspend in special use cases like streaming non wakeup sensors data at high speed. Add dynamic wakeup source enable/disable functionality to acquire the wakeup source only during the APPS suspend stage. CRs-Fixed: 2057391 Change-Id: I2a5ea4e2c31432a9dd195c702ef7001b26eed33d Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
* | | | | | Merge "soc: qcom: subsys-pil-tz: Initialize subsys_dev pointer"Linux Build Service Account2017-06-07
|\ \ \ \ \ \
| * | | | | | soc: qcom: subsys-pil-tz: Initialize subsys_dev pointerSrivatsa Vaddagiri2017-06-06
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this pointer being correctly initialized, subsys_set_error() would end up accessing invalid memory Change-Id: Ic62224e830d17c25f2bf9eeeecc81422fc0d5906 Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
* | | | | | Merge "drivers: Warning fixes to disable CC_OPTIMIZE_FOR_SIZE"Linux Build Service Account2017-06-07
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | drivers: Warning fixes to disable CC_OPTIMIZE_FOR_SIZEPrasad Sodagudi2017-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are all driver changes needed for disablement of CONFIG_CC_OPTIMIZE_FOR_SIZE. CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is enabled by default once CONFIG_CC_OPTIMIZE_FOR_SIZE is disabled. Change-Id: Ia46a1f24e8a082a29ea6151e41e6d3a85a05fd4f Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org> Signed-off-by: Sridhar Parasuram <sridhar@codeaurora.org>
* | | | | | spcom: move SPCOM_MAX_CHANNELS define to uapi/linux/spcom.hAmir Samuelov2017-06-06
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move SPCOM_MAX_CHANNELS to common H file to make sure that kernel spcom driver and user space spcomlib library are synced. Change-Id: I5e19f8def7de755fa89b6a5c67e9d3372f8433f1 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | Merge "soc: qcom: pil: Add trace events for PIL driver"Linux Build Service Account2017-06-03
|\ \ \ \ \
| * | | | | soc: qcom: pil: Add trace events for PIL driverGaurav Kohli2017-05-30
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add trace event support for PIL Module to help in debugging. Change-Id: If560e275f3207eca4b084cba5e6384a7c452748c Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
* | | | | Merge "ASoC: audio_notifier : Change logic for initial boot"Linux Build Service Account2017-06-01
|\ \ \ \ \
| * | | | | ASoC: audio_notifier : Change logic for initial bootRamprasad Katkam2017-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In sdm660 due to change of notifier logic, there is a chance of receiving only service down notifications during bootup. In this case the initial boot flag is not cleared, as it is only cleared on service up notification currenly.because of this, the next service down event during SSR/PDR will be ignored. To fix this, clear initial boot flag for both first service up/down notification, so that Reset notifications are not ignored. Change-Id: Iae3ccc6a81fac5d9e5c640f0fee8bb2aee2271cd Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
| * | | | | ASOC: APR: Add separate notifier nodes for adsp/modem notificationsRamprasad Katkam2017-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APR registers for subsys_notification via audio_notifier for both adsp & modem services, with the same notifier node. This causes intermixing of the audio notifier lists of modem and adsp as the same apr notifier node is added to both adsp & modem list.Make separate notifier nodes for apr adsp & modem notifications to avoid this issue. Change-Id: I4a9146fbe340d02e8af0082d5342e5ac8009e0c4 Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
* | | | | | Merge "soc: qcom: sleepstate: Increase notifier priority"Linux Build Service Account2017-05-30
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | soc: qcom: sleepstate: Increase notifier priorityChris Lew2017-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remote processors may have race conditions if the notification that the local processor is suspending comes late. This change increases the priority of our suspend notifier block. CRs-Fixed: 2045408 Change-Id: Ifb398c1fcf584a5dd6d53fc47ca66d01718c74b5 Signed-off-by: Chris Lew <clew@codeaurora.org>
* | | | | | Merge "spcom: open channel return EBUSY when channel in use"Linux Build Service Account2017-05-30
|\ \ \ \ \ \
| * | | | | | spcom: open channel return EBUSY when channel in useAmir Samuelov2017-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The char device /dev/sp_kernel is used for loading SP application and creating new channel char device, therefore might be temporary busy. Return EBUSY error to user system call open() so it can retry. Change-Id: I230577fe6b03ac7afd7175f72f9a3fa80db5a524 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | | | qbt1000: Fix for incorrect buffer size check and integer overflowAbir Ghosh2017-05-29
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix an incorrect buffer size check which might have caused integer overflow. CRs-Fixed: 2045285 Change-Id: I3b5b996c7405f51b488d6cbda31c81a9a9905f23 Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
* | | | | | Merge "ASoC: APR: Fix missing APR deregister from asm"Linux Build Service Account2017-05-26
|\ \ \ \ \ \
| * | | | | | ASoC: APR: Fix missing APR deregister from asmRamprasad Katkam2017-05-18
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APR deregister is to be called for two ports from both q6asm_callback(during RESET) and q6asm_audio_client_free. In race condition between the two, APR deregister is called only for one port. The mismatch in apr register-deregister count causes apr not to reset service after ssr, causing APR communication failure. Change-Id: Ibd0528215bf2fb986eda03ae0d683b2af31358fe Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
* | | | | | Merge "icnss: Free regread buffer before allocating new one"Linux Build Service Account2017-05-26
|\ \ \ \ \ \
| * | | | | | icnss: Free regread buffer before allocating new oneYuanyuan Liu2017-05-24
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Free already allocated buffer before allocating new one to avoid memory leak when someone keep writing to this file but never read it. CRs-Fixed: 2051862 Change-Id: I29784fb30ea8eed315b7d073d35480972642bc55 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | Merge "icnss: create debugfs entries when CONFIG_ICNSS_DEBUG is enabled"Linux Build Service Account2017-05-26
|\ \ \ \ \ \
| * | | | | | icnss: create debugfs entries when CONFIG_ICNSS_DEBUG is enabledYuanyuan Liu2017-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Other than stats every debugfs entry should be under CONFIG_ICNSS_DEBUG so that we don't enable these on build which doesn't have debugging support. CRs-Fixed: 2051871 Change-Id: I336f449313bb1f0f8af4e82f40869f65f58d9f4e Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
| * | | | | | icnss: Change debugfs permissionYuanyuan Liu2017-05-24
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change debugfs permission to allow root only access to those files. CRs-Fixed: 2051867 Change-Id: I4bef907f8cbe39169b38e4f19072a0628e199691 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | Merge "cnss: save the cc source to platform driver"Linux Build Service Account2017-05-26
|\ \ \ \ \ \
| * | | | | | cnss: save the cc source to platform driverPaul Zhang2017-05-24
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a design limitation in host driver. Driver sends regulatory_hint_user for both user-space and 11d country to kernel. So when wiphy re-registration happens, kernel tells the source as USER even for 11d. And per driver logic the 11d needs to be disabled if INI gCountryCodePriority is set. To mitigate this issue, storing the country source in the platform driver. CRs-Fixed: 2051651 Change-Id: I335a046a886ac3ce35cf96eb71231bfe75d33c60 Signed-off-by: Paul Zhang <paulz@codeaurora.org>
* | | | | | Merge "soc: qcom: glink: Add new APIs to toggle RX thread priority"Linux Build Service Account2017-05-26
|\ \ \ \ \ \
| * | | | | | soc: qcom: glink: Add new APIs to toggle RX thread priorityChris Lew2017-05-23
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Low latency use cases are failing because glink RX thread to handle the TX Done command is not being scheduled during high system load. These new APIs allow clients to specify if they need the RX glink thread to be Realtime CRs-Fixed: 2050701 Change-Id: I6bd4023394e9ee617797826687f34abaee3fe65d Signed-off-by: Chris Lew <clew@codeaurora.org>
* | | | | | Merge "soc: qcom: msm_bus: add rt mutex lock for cllist data"Linux Build Service Account2017-05-26
|\ \ \ \ \ \
| * | | | | | soc: qcom: msm_bus: add rt mutex lock for cllist dataMaria Yu2017-05-16
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cldata needed to be protected by lock since crash happened when synchronous update and free. CRs-Fixed: 2034222 Change-Id: Ied86461b784d69d9758dc3fc793a8a0de86e7f9c Signed-off-by: Maria Yu <aiquny@codeaurora.org>
* | | | | | Merge "soc: qcom: pil: Use subsys_set_error to indicate firmware errors"Linux Build Service Account2017-05-26
|\ \ \ \ \ \
| * | | | | | soc: qcom: pil: Use subsys_set_error to indicate firmware errorsMeghana Ashok2017-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use subsys_set_error() to indicate invalid firmware image that prevented subsystem from coming up. Userspace helper applications will find this useful to take suitable recovery action. Change-Id: Ie03e4f2652692f30d32bbe80b39fb49ba95ea728 Signed-off-by: Meghana Ashok <meghanaa@codeaurora.org> [fixed minor conflicts] Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
| * | | | | | soc: qcom: ssr: Add subsys_set_error APIMeghana Ashok2017-05-23
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding a new API subsys_set_error() which can indicate reason why a subsystem failed to come up. This error reason can be useful for some userspace helper application to take appropriate action. Change-Id: I6df3580befd48a6b83bb8fd1099475da42fc9cf2 Signed-off-by: Meghana Ashok <meghanaa@codeaurora.org>
* | | | | | Merge "soc: qcom: smp2p: Fix simultaneous access of global loopback data"Linux Build Service Account2017-05-25
|\ \ \ \ \ \
| * | | | | | soc: qcom: smp2p: Fix simultaneous access of global loopback dataArun Kumar Neelakantam2017-05-15
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running SMP2P tests from multiple threads causes simultaneous access to the global loopback data and resulting into unexpected behavior. Protect the global loopback data by synchronizing the SMP2P tests. CRs-Fixed: 2041374 Change-Id: Ifb0e7ce5198af27602881a9132afb353f1a4fc2f Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
* | | | | | Merge "qcom: common_log: make dump registration as async"Linux Build Service Account2017-05-25
|\ \ \ \ \ \
| * | | | | | qcom: common_log: make dump registration as asyncLingutla Chandrasekhar2017-05-11
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In common log buf registration, finding log_buf symbols takes more time and it stalls kernel booting. So make log buf and other subsystem registration as async task to optimize boot time. Change-Id: I2c771195cc07c57a6e03a169b1d12fefb5560e17 Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
* | | | | | Merge "spcom: check error from ion_import_dma_buf()"Linux Build Service Account2017-05-25
|\ \ \ \ \ \
| * | | | | | spcom: check error from ion_import_dma_buf()Amir Samuelov2017-05-21
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check ion_import_dma_buf() returned handle is not NULL or error code, by using IS_ERR_OR_NULL() macro. Check channel name is null terminated on create channel command. Check minimal command size from user space. Fix spelling. Change-Id: I81631c1844982952498eaf2bff84ff90578720b2 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | | Merge "spcom: silent error messages until spss link is up"Linux Build Service Account2017-05-25
|\ \ \ \ \ \
| * | | | | | spcom: silent error messages until spss link is upAmir Samuelov2017-05-21
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After spss reset (a.k.a SSR) the spdaemon tries to open spcom char dev. Avoid flooding the kernel log with error messages until the spss link is up. Change-Id: I7abd37f50fa4c172e07c8551c287b6ccf0511a44 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | | Merge "spcom: increment channel reference count after successful glink_open()"Linux Build Service Account2017-05-25
|\ \ \ \ \ \