summaryrefslogtreecommitdiff
path: root/drivers/soc (follow)
Commit message (Collapse)AuthorAge
...
| | * | | | | Merge branch 'msm-4.4' into dev/msm-4.4-8996auZhiqiang Tu2017-08-24
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/iommu/arm-smmu.c drivers/media/platform/msm/ais/fd/msm_fd_dev.c drivers/media/platform/msm/camera_v2/fd/msm_fd_dev.c drivers/soc/qcom/glink.c include/uapi/linux/msm_ipa.h Change-Id: Id007a850fa2df09f08c413ffcd447a6532fad83c Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
| | * | | | | | soc: qcom: Add hypervisor abstraction driverPrakash Burla2017-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new driver is meant to be a cross-platform abstraction layer for utilizing the underlying hypervisor system. This API can be accessed from both user and kernel sides. The intended users of this are the multimedia drivers who want to communicate with the host OS to use the multimedia hardware. Conflicts: drivers/soc/qcom/Kconfig drivers/soc/qcom/Makefile include/uapi/linux/Kbuild Change-Id: I37743df490d14249a9d378225771367750899eb0 Signed-off-by: Edward Lee <eleekimk@codeaurora.org> Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
| | * | | | | | soc: qcom: Modify scm_qcpe to comply with new hab APIAmit Blay2017-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to reflect slight change in HAB API return values. Change-Id: I8825f6fca6a50449a929f05c317d0beeb6908d26 Signed-off-by: Amit Blay <ablay@codeaurora.org>
| | * | | | | | 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>
| | * | | | | | soc: qcom: SCM front-end over QCPEAmit Blay2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: glink: Remove magic number logicDhoat Harpal2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | | soc: qcom: smp2p: spinlock_test: Initialize work itemChris Lew2017-09-01
| |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize the has_locked member before running SSR spinlock test to ensure consistent results. CRs-Fixed: 2091946 Change-Id: Ifad37541a94668b496aa9204dc80920b9a7ff244 Signed-off-by: Chris Lew <clew@codeaurora.org>
* | | | | | | Merge "soc: qcom: glink: Initialize dummy xprt with dummy functions"Linux Build Service Account2017-08-30
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | soc: qcom: glink: Initialize dummy xprt with dummy functionsDhoat Harpal2017-08-21
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Few function pointers are left uninitialized in dummy transport. System can crash if these function pointer get dereferenced. Initialize all the function pointers which can get called, with dummy functions. CRs-Fixed: 2067859 Change-Id: I9172776d9ffa0af5deb9898125fc6403fdcdee0f Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | | | Merge "soc: qcom: Add SSR minidump provision for subsystem ramdump"Linux Build Service Account2017-08-30
|\ \ \ \ \ \
| * | | | | | soc: qcom: Add SSR minidump provision for subsystem ramdumpAvaneesh Kumar Dwivedi2017-08-29
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minidump is concise and bare minimum dump to enable technology teams to debug most of subsystem issues. This change adds required driver code changes to provide support of subsystem minidump. Increase PIL timeout to give MBA more time for encryption and decryption for modem segments. Change-Id: I1d04a9306ce507bc610777bc476197f26c1e18ac Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* | | | | | Merge "icnss: Fix uninitialized variable"Linux Build Service Account2017-08-29
|\ \ \ \ \ \
| * | | | | | icnss: Fix uninitialized variableAnurag Chouhan2017-08-22
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of optimization in msa permissions assignment source and destination vmids are introduced as uninitialized arrays. The fix is for initialization of the array as zero initially so that variables doesnot have the garbage value from the stack. Change-Id: Ie30d61f3be9ed5a5a2cef2e63348d987e894c22a CRs-fixed: 2096940 Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
* | | | | | spcom: fix memory leak in spcom register client / register service APIAmir Samuelov2017-08-28
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | free allocated memory in error handling of spcom_register_client() and spcom_register_service() kernel API. Change-Id: Ieb5787cb1a11d4b3320237fa8cdde3dc357d9084 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | Merge "spcom: return POLLERR when poll() has error"Linux Build Service Account2017-08-24
|\ \ \ \ \
| * | | | | spcom: return POLLERR when poll() has errorAmir Samuelov2017-08-23
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spcom_device_poll() return POLLERR rather than -EINVAL. Change-Id: Ifce0fa9c6a0a5136ae1d109543a9345ad77359bf Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | Merge "icnss: Do not process FW messages after Modem shutdown"Linux Build Service Account2017-08-23
|\ \ \ \ \
| * | | | | 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>