summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom (follow)
Commit message (Collapse)AuthorAge
...
| * | | | | icnss: Do not process FW messages after Modem shutdownSameer Thalappil2017-08-23
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During Modem graceful shutdown, QMI messages from WLAN FW can still be delivered to host even after icnss receives Modem shutdown notification from SSR framework. So prevent processing any such messages from FW after Modem shutdown. CRs-Fixed: 2095386 Change-Id: Ice21d043393b0f7b97aaccd68e1b28702cc9e393 Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
* | | | | Merge "soc: qcom: glink_spi_xprt: Remove extra SPI transactions"Linux Build Service Account2017-08-23
|\ \ \ \ \
| * | | | | soc: qcom: glink_spi_xprt: Remove extra SPI transactionsChris Lew2017-08-22
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TX FIFO write reg and the RX FIFO read reg are controlled by this processor. Keep track of the state of these two indexes to reduce the amount of SPI reads. CRs-Fixed: 2093123 Change-Id: I4ffa0e08bce6dabd57f33a13fef8107211ce3f09 Signed-off-by: Chris Lew <clew@codeaurora.org>
* | | | | Merge "ASoC: msm: qdspv2: add an API to destroy ion client"Linux Build Service Account2017-08-23
|\ \ \ \ \
| * | | | | ASoC: msm: qdspv2: add an API to destroy ion clientVidyakumar Athota2017-08-21
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently ion fd is used to extract ion handle to free ion client. ION FD is not valid if user-space application is crashed so ion handle is returned to the client during msm_audio_ion_phys_assign() API which is used to destroy ion client in msm_audio_ion_phys_free() API. Change-Id: Idcc4ca838741aac26662a679117af9d9c935e630 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* | | | | Merge "ASoC: APR: initialize struct member before being used"Linux Build Service Account2017-08-23
|\ \ \ \ \
| * | | | | ASoC: APR: initialize struct member before being usedyidongh2017-08-22
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize member value of struct apr_client_data after declaration. CRs-Fixed: 2091948 Change-Id: I8a185ebd4126f7d064de90bf652bc96c2ab7b408 Signed-off-by: Yidong Huang <yidongh@codeaurora.org>
* / | | | socinfo: Add support for SDM/A 636 SOCsSrinivas Ramana2017-08-22
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add socinfo support and CPU IDs for SDM636 and SDA636 SOCs. Change-Id: If14654c3fb93a52e4db0270e60cb6e6371ef077f Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
* | | | Merge "icnss: Add support to validate the result and error code"Linux Build Service Account2017-08-21
|\ \ \ \
| * | | | icnss: Add support to validate the result and error codeAnurag Chouhan2017-08-18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to validate the result and error code received from the WLAN firmware service. CRs-fixed: 2095184 Change-Id: I454df58e293fbf2d99601d1c6820e67b5cae370c Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
* | | | Merge "soc: qcom: glink_smem_native_xprt: Fix memory leak during qos init"Linux Build Service Account2017-08-21
|\ \ \ \
| * | | | soc: qcom: glink_smem_native_xprt: Fix memory leak during qos initDhoat Harpal2017-08-18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In function parse_qos_dt_params, memory is allocated to arr32 but it is never freed. Free memory when exiting the function. CRs-Fixed: 2093722 Change-Id: Ic1fc58c6685990e2865ef4033b54303d47311560 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | Merge "soc: qcom: Modify scm_qcpe to comply with new hab API"Linux Build Service Account2017-08-21
|\ \ \ \
| * | | | soc: qcom: Modify scm_qcpe to comply with new hab APIAmit Blay2017-08-16
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Changes to reflect slight change in HAB API return values. Change-Id: I8825f6fca6a50449a929f05c317d0beeb6908d26 Signed-off-by: Amit Blay <ablay@codeaurora.org>
* / / / qbt1000: Add changes to support VOLUMEDOWN and CBGEAbir Ghosh2017-08-16
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to qbt1000 fingerprint driver to enable input device to report KEY_VOLUMEDOWN when a finger is detected. Add changes for supporting CBGE with retry logic and multiple IPC messages. Change-Id: I29a52c516a8f9216abc623ca3bfaebe19f89eaa3 Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
* | | Merge "ASoC: msm: qdsp6v2: assign decoder memory to ADSP"Linux Build Service Account2017-08-11
|\ \ \
| * | | soc: qcom: qdsp6v2: use hyp_assign() API for secure memoryVidyakumar Athota2017-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new API to call hyp_assign_phys() function to assign the memory permissions to different subsystem like ADSP for secure playback applications. Change-Id: I1d13bd0cd3b5cdcbe37488800c7dad44a20f4996 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* | | | Merge "icnss: Delay Shutdown/reinit sequence for all cases"Linux Build Service Account2017-08-08
|\ \ \ \
| * | | | icnss: Delay Shutdown/reinit sequence for all casesAnurag Chouhan2017-08-07
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PD down notifications reaches APPS only after WLAN HW is reset. Because of this, there is a small window of time in which APPS may try to access WLAN HW Copy Engine registers and get into exception. To avoid this, FW has implemented 2 stage reset sequence in which first HW is halted rather than reset and then when FW PD is started again, reset sequence is executed. Because of the 2 stage reset sequence, WLAN shutdown call back also needs to be delayed as there may be some buffers submitted to hardware and if they are freed then again HW exception may be seen. Delay the shutdown call back till FW ready happens at this time HW should be reset and clean state. CRs-fixed: 2056443 Change-Id: Ie587f98d574f7c0a49a8480449fed44c1f4ab816 Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
* | | | Merge "qcom: qpnp-haptic: Disable haptics when enable time specified is zero"Linux Build Service Account2017-08-08
|\ \ \ \
| * | | | qcom: qpnp-haptic: Disable haptics when enable time specified is zeroAnirudh Ghayal2017-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The vibrator HAL expects vibration to be disabled when the 'enable' time specified is 0. Fix this. CRs-Fixed: 2083994 Change-Id: I12843233da5429ed2fd53f33617952b1dd0ddcd5 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
* | | | | soc: qcom: scm: fix boot issue when compiled with clangSatya Durga Srinivasu Prabhala2017-08-07
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per SMC Calling Convention, X4/W4, X5/W5 & X6/W6 registers return state is unpredictable. But, inline assembly in scm driver did not correctly specify output markers, which is causing compiler to move instructions around when clang is used to compile, which inturn causing deadlock and boot issue during firmware loading. Add X4/W4, X5/W5 & X6/W6 registers to output operand list to fix the deadlock during firmware loading. Change-Id: I1e4d51a58cd34c31fc63bcd21a20bfd15498bdc3 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* | | | Merge "qcom: scm: update function return value and input parameter type"Linux Build Service Account2017-08-03
|\ \ \ \ | |/ / / |/| | |
| * | | qcom: scm: update function return value and input parameter typeMohammed Khajapasha2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the function return value and input scm_ret variable type for restore secure configuration in scm_restore_sec_cfg() fn. Adding scm_ret input variable for scm_get_feat_version() fn. Change-Id: Ideef914ded8dfdb4c780fd27d7273986eeb41f5c Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
* | | | Merge "soc: qcom: Fix error propagation in scm_qcpe driver"Linux Build Service Account2017-07-31
|\ \ \ \
| * | | | soc: qcom: Fix error propagation in scm_qcpe driverAmit Blay2017-07-31
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix scm_qcpe such that an error returned in X0, will be propagated back to the calling client. Change-Id: I8014b3f2f850d8664404c69e77ba36295a28db07 Signed-off-by: Amit Blay <ablay@codeaurora.org>
* | | | Merge "icnss: Set crash state for PDR"Linux Build Service Account2017-07-26
|\ \ \ \
| * | | | icnss: Set crash state for PDRSameer Thalappil2017-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For PDR, the crashed state should be set to invoke driver's PDR/SSR routine rather than the remove routine. CRs-Fixed: 2082279 Change-Id: I5f5d51c530c563d93eeaf183ee10ac558f5d5a1a Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
* | | | | Merge "icnss: Consolidate logging message"Linux Build Service Account2017-07-26
|\ \ \ \ \
| * | | | | icnss: Consolidate logging messageYuanyuan Liu2017-07-21
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the code makes liberal use of macros that print a log message (with pr_err or pr_debug) and then passes the same string on to the IPC logging mechanism. The problem is that it doesn't actually end up being the same string in the binary. Using pr_err or one of its friends appends the KERN_* code to the front of the string with the pre-processor and the IPC logger just uses the passed in string. Every string used by the macros ends up appearing twice in the binary, once with KERN_* prepended and the other not. This change fix this duplication issue by appending KERN_* to the front of the IPC logger. Change-Id: Ibfdf9edf6e243d13cacf1a45838a88e287a684be Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | Merge "spcom: ignore CONNECTED notification while closing the channel"Linux Build Service Account2017-07-25
|\ \ \ \ \
| * | | | | spcom: ignore CONNECTED notification while closing the channelAmir Samuelov2017-07-17
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spcom_notify_state() callback, is called by glink driver. In case of calling glink_open() and shortly after that calling glink_close(), the glink might notify of channel CONNECTED while glink_closed() is called. Avoid updating the glink channel upon CONNECTED event, if in process of closing the channel. Change-Id: If5cbec1a7d1653c56b5350afcd3cee61e1ae05fa Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* / / / / soc: qcom: watchdog_v2: update last_pet variable during resumeSarangdhar Joshi2017-07-20
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last_pet variable is set in suspend callback and during pet_watchdog() and is printed when watchdog bark handler gets called. This variable does not represent exact last pet time in cases where non secure bark occurs before system could pet the watchdog upon wakeup event from low power mode. Reset the watchdog during msm_watchdog_resume() and update last_pet variable so that watchdog bark messages will represent latest info. This commit also adds memory barrier after resetting watchdog in msm_watchdog_suspend(). This will make sure watchdog writes are complete before proceeding further. Change-Id: I44492a947bc3664b7d14cfae9e877ebe0dc32836 Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org> Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
* | | | Merge "soc: qcom: SCM front-end over QCPE"Linux Build Service Account2017-07-11
|\ \ \ \
| * | | | soc: qcom: SCM front-end over QCPEAmit Blay2017-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an implementation of para-virtualized SCM driver. This driver is the FE. The BE is QCPE running in an hypervisor. The FE driver forwards SCM calls over HAB to the BE. Change-Id: I88c269e856b0a6cc20b9ab8bf10110842d90a382 Signed-off-by: Amit Blay <ablay@codeaurora.org>
* | | | | soc: qcom: Notify to app pd clients in ind_ack threadAvaneesh Kumar Dwivedi2017-07-10
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have observed race condition between inquiring the remote pd state and indication call back execution. They run asynchronously so we have no control on their concurrent execution. So to achieve mutual exclusion, moving the portion of code which result in race condition to indication acknowledgment routine. Indication acknowledgment is send in separate thread context which will avoid race condition. Change-Id: Ib94f7ef4efd5de63fc8bededcf5cb6ae4ca2c3d8 Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* | | | Merge "icnss: Use fixed memory region for WLAN MSA0 memory"Linux Build Service Account2017-07-07
|\ \ \ \
| * | | | icnss: Use fixed memory region for WLAN MSA0 memoryHardik Kantilal Patel2017-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During first time boot up WLAN Platform driver allocate 1 MB MSA0 Memory region. This region may be adjacent to other regions that also requires access control, due to that TZ will merge the two sections into one single resource group. During this Q6 will lose access to memory region causing a NOC Error. To avoid use fixed memory region for WLAN MSA0 memory. CRs-Fixed: 2066025 Change-Id: Ie878e010954524bbe48a29d6ad6f2f53848ab25e Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
* | | | | Merge "soc: qcom: ipc_router_mhi_xprt: Do not defer MHI open and close work"Linux Build Service Account2017-07-07
|\ \ \ \ \
| * | | | | soc: qcom: ipc_router_mhi_xprt: Do not defer MHI open and close workChris Lew2017-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MHI change requires all work to be finished before returning from the ERROR, SHUTDOWN and DISABLE callbacks. Call mhi xprt enable and disable functions directly instead of deferring the work. Remove calls to mhi_close_channel to prevent calling MHI after the disable callback. CRs-Fixed: 1095436 Change-Id: I37910cfd3b51693b1f3bc84815d95595602690e8 Signed-off-by: Chris Lew <clew@codeaurora.org>
| * | | | | soc: qcom: ipc_router_mhi_xprt: Refactor for MHI registerChris Lew2017-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MHI driver is changing their APIs to use the device node during registration. This change accommodates the API changes and callback state changes. CRs-Fixed: 1095436 Change-Id: I1899d97d676c28b89bb5f85c1a92732f6cfec904 Signed-off-by: Chris Lew <clew@codeaurora.org> Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
* | | | | | Merge "icnss: Show rejuvenation info in ICNSS stats report"Linux Build Service Account2017-07-07
|\ \ \ \ \ \
| * | | | | | icnss: Show rejuvenation info in ICNSS stats reportYuanyuan Liu2017-07-06
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a debug enhance feature. It shows rejuvenation info in ICNSS stats report, which makes it easier to track the reason for every rejuvenation. CRs-Fixed: 2072253 Change-Id: I6d133b4b182943ed745d7587bd1ec23858c29750 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* / | | | | spcom: avoid race condition when handling commandsAmir Samuelov2017-07-06
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spcom allows only one owner per channel, so only one app can open() a channel char device at a time. However, the channel owner process might share the channel file descriptor (fd) with other threads, that might write() concurrently a command to spcom, that can cause a race. Add a mutex to "serialize" handling of the commands. Change-Id: Ief9c6c48a862444dfff66d14d2317568cd6e81e6 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* / / / / cnss_utils: Add support of cnss_utils for WLANYuanyuan Liu2017-06-29
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support of cnss_utils for WLAN. Export APIs to WLAN host driver which are used to set/get WLAN related information. These information could be retrived later when WLAN driver is reloaded. CRs-Fixed: 2060693 Change-Id: I2c8c36602ec8af133946ff00c41ce648a2628041 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | Merge "soc: qcom: glink: Move get reference to valid location"Linux Build Service Account2017-06-29
|\ \ \ \
| * | | | soc: qcom: glink: Move get reference to valid locationDhoat Harpal2017-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In function ch_name_to_ch_ctx_create reference for ctx is taken without checking if ctx is valid. This leads to possible NULL pointer dereference. Take reference only when it is verified that ctx is not NULL. CRs-Fixed: 2059742 Change-Id: I15998780b602e325a90e7c8c303cd442c5381fe8 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | | Merge "soc: qcom: glink: Remove magic number logic"Linux Build Service Account2017-06-29
|\ \ \ \ \
| * | | | | soc: qcom: glink: Remove magic number logicDhoat Harpal2017-06-23
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Possible use after free issue while accessing magic number, if the ctx is already freed. Magic number check is removed. CRs-Fixed: 2061287 Change-Id: Ie157a930c7eb310829766319e0af742114337e6c Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | | Merge "icnss: Fix incorrect clean-up of stats"Linux Build Service Account2017-06-28
|\ \ \ \ \