summaryrefslogtreecommitdiff
path: root/drivers/soc
AgeCommit message (Collapse)Author
2017-06-18Merge "memshare: Perform Hypervisor mapping for boot-time allotted memory"Linux Build Service Account
2017-06-16memshare: Perform Hypervisor mapping for boot-time allotted memoryManoj Prabhu B
The patch performs Hypervisor mapping for guaranteed memshare client's alloted memory at boot time and prevent allocation for clients with size zero. CRs-Fixed: 2062478 Change-Id: I96cc7b2014693d97f11411a7b62d2c365f21caf1 Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2017-06-15Merge "soc: qcom: glink: Reset qos rate when xprt is down"Linux Build Service Account
2017-06-15Merge "icnss: change the cnss name to icnss"Linux Build Service Account
2017-06-14soc: qcom: glink: Reset qos rate when xprt is downDhoat Harpal
Reset for qos rate of xprt is not done duering SSR, this leads to exhaustion of qos bandwidth when multiple SSR happens. Reset qos rate of xprt to zero when link goes down. CRs-Fixed: 2061061 Change-Id: Ibabca5584b01eb93a5b7fcc8a5304136ef400ba0 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-06-14icnss: change the cnss name to icnssPaul Zhang
Refine the code change for this changeID: I335a046a886ac3ce35cf96eb71231bfe75d33c60 CRs-Fixed: 2058348 Change-Id: I9a734c8bed284870562ff2d096e7316328f37e02 Signed-off-by: Paul Zhang <paulz@codeaurora.org>
2017-06-13icnss: Change MSA permissions to collect dumpAnurag Chouhan
With certain senarios such as error FATAL, WBOG Bite in modem WLAN hardware is still alive, while trying to collect the dump platform driver is removing the MSA permissions from MSS and WLAN Hardware to HLOS, at the same time if WLAN Hardware is trying to access the MSA region which results into SNOC error To avoid such senarios instead of removing MSS and WLAN permissions MSA is assigned HLOS permissions as well and once the ramdump is collected HLOS permissions will be removed. Change-Id: Ic71e0fa8c064fd70dad9958187244909cbb80c0a CRs-fixed: 2048531 Signed-off-by: Anurag Chouhan <achouhan@qti.qualcomm.com>
2017-06-09Merge "icnss: Add APIs to store driver load count"Linux Build Service Account
2017-06-09icnss: Add APIs to store driver load countAmar Singhal
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>
2017-06-09Merge "icnss: Re-phrase debug message and rename state"Linux Build Service Account
2017-06-09Merge "icnss: Enable platform device to be a wakeup source"Linux Build Service Account
2017-06-08icnss: Re-phrase debug message and rename stateYuanyuan Liu
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>
2017-06-08icnss: Enable platform device to be a wakeup sourceYuanyuan Liu
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>
2017-06-08Merge "soc: qcom: glink_smem_native_xprt: recovery from SSR in tasklet only"Linux Build Service Account
2017-06-07Merge "net: ipc_router: Add dynamic enable/disable wakeup source feature"Linux Build Service Account
2017-06-07Merge "soc: qcom: subsys-pil-tz: Initialize subsys_dev pointer"Linux Build Service Account
2017-06-07Merge "drivers: Warning fixes to disable CC_OPTIMIZE_FOR_SIZE"Linux Build Service Account
2017-06-07net: ipc_router: Add dynamic enable/disable wakeup source featureArun Kumar Neelakantam
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>
2017-06-06soc: qcom: subsys-pil-tz: Initialize subsys_dev pointerSrivatsa Vaddagiri
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>
2017-06-06spcom: move SPCOM_MAX_CHANNELS define to uapi/linux/spcom.hAmir Samuelov
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>
2017-06-03Merge "soc: qcom: pil: Add trace events for PIL driver"Linux Build Service Account
2017-06-01Merge "ASoC: audio_notifier : Change logic for initial boot"Linux Build Service Account
2017-05-31drivers: Warning fixes to disable CC_OPTIMIZE_FOR_SIZEPrasad Sodagudi
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>
2017-05-31soc: qcom: glink_smem_native_xprt: recovery from SSR in tasklet onlyArun Kumar Neelakantam
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>
2017-05-30Merge "soc: qcom: sleepstate: Increase notifier priority"Linux Build Service Account
2017-05-30soc: qcom: pil: Add trace events for PIL driverGaurav Kohli
Add trace event support for PIL Module to help in debugging. Change-Id: If560e275f3207eca4b084cba5e6384a7c452748c Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2017-05-30Merge "spcom: open channel return EBUSY when channel in use"Linux Build Service Account
2017-05-30spcom: open channel return EBUSY when channel in useAmir Samuelov
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>
2017-05-29qbt1000: Fix for incorrect buffer size check and integer overflowAbir Ghosh
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>
2017-05-26Merge "ASoC: APR: Fix missing APR deregister from asm"Linux Build Service Account
2017-05-26Merge "icnss: Free regread buffer before allocating new one"Linux Build Service Account
2017-05-26Merge "icnss: create debugfs entries when CONFIG_ICNSS_DEBUG is enabled"Linux Build Service Account
2017-05-26Merge "cnss: save the cc source to platform driver"Linux Build Service Account
2017-05-26Merge "soc: qcom: glink: Add new APIs to toggle RX thread priority"Linux Build Service Account
2017-05-26Merge "soc: qcom: msm_bus: add rt mutex lock for cllist data"Linux Build Service Account
2017-05-26Merge "soc: qcom: pil: Use subsys_set_error to indicate firmware errors"Linux Build Service Account
2017-05-25Merge "soc: qcom: smp2p: Fix simultaneous access of global loopback data"Linux Build Service Account
2017-05-25Merge "qcom: common_log: make dump registration as async"Linux Build Service Account
2017-05-25Merge "spcom: check error from ion_import_dma_buf()"Linux Build Service Account
2017-05-25Merge "spcom: silent error messages until spss link is up"Linux Build Service Account
2017-05-25Merge "spcom: increment channel reference count after successful glink_open()"Linux Build Service Account
2017-05-25Merge "soc: qcom: Fix failure prints in rpm stats and log"Linux Build Service Account
2017-05-25Merge "soc: qcom: msm_perf: Initialize Array elements"Linux Build Service Account
2017-05-24icnss: Free regread buffer before allocating new oneYuanyuan Liu
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>
2017-05-24icnss: create debugfs entries when CONFIG_ICNSS_DEBUG is enabledYuanyuan Liu
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>
2017-05-24icnss: Change debugfs permissionYuanyuan Liu
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>
2017-05-24cnss: save the cc source to platform driverPaul Zhang
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>
2017-05-23soc: qcom: glink: Add new APIs to toggle RX thread priorityChris Lew
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>
2017-05-23soc: qcom: pil: Use subsys_set_error to indicate firmware errorsMeghana Ashok
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>
2017-05-23soc: qcom: ssr: Add subsys_set_error APIMeghana Ashok
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>