summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom (follow)
Commit message (Collapse)AuthorAge
...
| * | | | | soc: qcom: smem: Redesign smem memory architectureDhoat Harpal2016-11-17
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Smem uses static array to store legacy partition information. New comm partition is used to replace existing legacy partition. CRs-Fixed: 1074985 Change-Id: Ib2268181a617c23d62b5b6f857be5327113b2a67 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | | Merge "icnss: Update WLFW header file to the latest and add fw_build_id"Linux Build Service Account2016-11-16
|\ \ \ \ \
| * | | | | icnss: Update WLFW header file to the latest and add fw_build_idYuanyuan Liu2016-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update WLFW header file to the latest and add fw_build_id in capability response message so that host could know which FW build it is. CRs-Fixed: 1082787 Change-Id: I8c8bcf9da42668f3964b4dffcbc1b15465ea8018 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | Merge "icnss: Collect ramdump from MSA memory space"Linux Build Service Account2016-11-16
|\ \ \ \ \ \
| * | | | | | icnss: Collect ramdump from MSA memory spaceYuanyuan Liu2016-11-11
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Collect ramdump from MSA memory space when Modem SSR happens. WLAN FW runs on modem and stores some data on APPS MSA memory space. In order to collect full data of FW during Modem SSR, ICNSS platform listens for Modem SSR notification and collects MSA ramdump. CRs-Fixed: 1088608 Change-Id: I9c014261f5e25b3ec4585747d324ea2cb6ab18fb Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | Merge "soc: qcom: secure_buffer: Fix an uninitialized variable"Linux Build Service Account2016-11-15
|\ \ \ \ \ \
| * | | | | | soc: qcom: secure_buffer: Fix an uninitialized variablePatrick Daly2016-11-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure variables are set before the are used to prevent random behavior. Change-Id: Ib31e5aca648c0f442afe4cbe576ad79786fe6427 Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
* | | | | | | Merge "soc: qcom: glink: Fix incorrect call to deinit function"Linux Build Service Account2016-11-14
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | soc: qcom: glink: Fix incorrect call to deinit functionDhoat Harpal2016-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In function glink_core_register_transport, deinit function for qos configuration is called before initializing qos configuration. Call to glink_core_deinit_xprt_qos_cfg function is removed. CRs-Fixed: 1088375 Change-Id: Ifffab071efed56541e763e4f6f51aa45d7a6678b Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | | | | Merge "soc: qcom: Replace ARRAY_SIZE macro with strlen"Linux Build Service Account2016-11-11
|\ \ \ \ \ \ \
| * | | | | | | soc: qcom: Replace ARRAY_SIZE macro with strlenAvaneesh Kumar Dwivedi2016-11-10
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ARRAY_SIZE returns size of array. While sending command string we need to only pass size of actual command string, hence use strlen in place of ARRAY_SIZE. Change-Id: If0afc6b1209b03ae17472a17b34d9d403757bfd0 Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* | | | | | | Merge "memshare: Pass device structure to ramdump driver"Linux Build Service Account2016-11-10
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | memshare: Pass device structure to ramdump driverManoj Prabhu B2016-11-10
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ramdump driver uses the device pointer during ramdump read. This change passes in the device pointer for memshare during ramdump create and moves the call to the probe function. CRs-Fixed: 1079523 Change-Id: I687696dbedfa0ce7e6053d70291a7beb6f81f82e Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
* | | | | | Merge "msm: msm_bus: limit max chars read by sscanf"Linux Build Service Account2016-11-08
|\ \ \ \ \ \
| * | | | | | msm: msm_bus: limit max chars read by sscanfDavid Dai2016-11-03
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current bus_floor_vote_store_api does not limit/check the size of the string in input, allowing stack overflow. Specify the max number of characters read allowable to the size of destination buffer. CRs-Fixed: 1050455 Change-Id: Idd409e3e38cfb01b28fa24543112d6bb206314ff Signed-off-by: David Dai <daidavid1@codeaurora.org>
* | | | | | Merge "soc: qcom: Initialize structure with default values"Linux Build Service Account2016-11-08
|\ \ \ \ \ \
| * | | | | | soc: qcom: Initialize structure with default valuesPuja Gupta2016-11-03
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is possibility for use of uninitialized variable. Hence initialize the structure with default values. Also fix couple of other debug logs. CRs-Fixed: 1078904 Change-Id: I32abceba2d55c95bdb8e9b6463a39d29fb3bc7c7 Signed-off-by: Puja Gupta <pujag@codeaurora.org>
* | | | | | Merge "drivers: soc: implement notify_tx_abort()"Linux Build Service Account2016-11-07
|\ \ \ \ \ \
| * | | | | | drivers: soc: implement notify_tx_abort()Shiv Maliyappanahalli2016-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The glink buffers used to send commands to adsp using glink_tx() will be freed by glink using notify_tx_abort() during remote subsystem restart. Implement notify_tx_abort() so that the buffers can be reclaimed by APR. Change-Id: Ibc9ce23d4ba15d0e3faa9db3e760965a7439aed8 Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
* | | | | | | soc: qcom: pil: Using devm_ioremap for mapping restart reg of modemGaurav Kohli2016-11-06
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC region has been mapped by regmap instead of devm_ioremap_resource. So to map modem restart register which is part of gcc region requires devm_ioremap otherwise mapping error occurs. Change-Id: I1d97d8ef831e3a91df47eebf22e1156d0a3712ae Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
* | | | | | Merge "drivers: soc: Add new parameters for APR IPC logging"Linux Build Service Account2016-11-03
|\ \ \ \ \ \
| * | | | | | drivers: soc: Add new parameters for APR IPC loggingSiena Richard2016-10-26
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the ability to log source address, dest address, opcode, token, and possibly return value in APR IPC logging to better assist with debugging issues. CRs-fixed: 1064187 Change-Id: I86976ac6139b8c76d9239acae073f03fbc5e0a38 Signed-off-by: Siena Richard <sienar@codeaurora.org>
* | | | | | Merge "soc: qcom: scm: add check to avoid buffer overflow"Linux Build Service Account2016-11-02
|\ \ \ \ \ \
| * | | | | | soc: qcom: scm: add check to avoid buffer overflowSatya Durga Srinivasu Prabhala2016-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a posibility of a buffer overflow in scm_call, add check to avoid the same. Change-Id: Iee908c56ec530569b35dafa060139e0428efc781 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* | | | | | | Merge "msm: secure_buffer: fix scm call argument layout"Linux Build Service Account2016-11-02
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | msm: secure_buffer: fix scm call argument layoutShiraz Hashim2016-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For hyp_assign calls, dest_vm_and_perm_info wrongly defines ctx as u32 * type, while TZ expects it as u64. This creates an inconsistency on 32bit system. Fix it. Change-Id: I31e8e0b5e9ae240ca031f625cf7c49f1bfe165d4 Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
* | | | | | | Merge "soc: qcom: signal buffer response after glink_rx_done()"Linux Build Service Account2016-11-01
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | soc: qcom: signal buffer response after glink_rx_done()Vidyakumar Athota2016-10-28
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently glink rx buffer response signal is updated before calling glink_rx_done(). Since response sent for the command, there is a chance that next command will be sent before glink_rx_done() API called which is not expected from wdsp. Avoid this scenario by calling glink_rx_done() before signaling buffer response. Change-Id: Ifdd0089a6a970792ebd84665178bd4de86eae2fb Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* | | | | | Merge "icnss: Shutdown Adrastea before remapping MSA0"Linux Build Service Account2016-10-31
|\ \ \ \ \ \
| * | | | | | icnss: Shutdown Adrastea before remapping MSA0Sameer Thalappil2016-10-28
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSA0 is remapped to HLOS during SSR/PDR for ramdump purposes. Remap this memory region only after Adrastea is being shutdown, otherwise Adrastea could still try to access this region resulting in SMMU fault. CRs-Fixed: 1082630 Change-Id: I490b5679de4cb4837f5ed5d4e40d339e12c8ecc9 Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
* | | | | | Merge "icnss: Enable PMM_TCXO_CLK before switch to cxo"Linux Build Service Account2016-10-30
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | icnss: Enable PMM_TCXO_CLK before switch to cxoYuanyuan Liu2016-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable PMM_TCXO_CLK before swith to cxo. Also, add debug logs of reading WCSS_SR_PMM_SR_MSB register multiple times to check whether ref clock is shut off or not when xo disable command failed. CRs-Fixed: 1082643 Change-Id: I1aae776d5e6cc8f1cc2af9278c0e3d6ac37804a9 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | Merge "soc: qcom: add support for fingerprint sensor driver"Linux Build Service Account2016-10-27
|\ \ \ \ \ \
| * | | | | | soc: qcom: add support for fingerprint sensor driverLior Barenboim2016-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The QBT1000 driver provides an API for communicating with trustzone applications and handles firmware event interrupts. The driver supports the following features: - loading and unloading trustzone applications - sending commands to trustzone applications - voting/un-voting for clocks before/after making a trustzone call - receiving firmware events, signalled by interrupts, and providing them to the driver client - sending a key event in response to firmware finger detect events Change-Id: I1d9d7a6b6bd2d3420a28a8c09868143bb9bd3b27 Signed-off-by: Lior Barenboim <liorb@codeaurora.org>
* | | | | | | Merge "ARM: dts: msm: Add support for Modem PIL on msmtriton"Linux Build Service Account2016-10-27
|\ \ \ \ \ \ \
| * | | | | | | soc: qcom: pil-q6v5: Add support for qdspv62.1.5 resetGaurav Kohli2016-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the reset sequence to support qdspv62-1-5 for MSMFALCON. Also Enable one more memory bank during reset sequence for MSMFALCON. Change-Id: Ib0d27c13c0ebdfac629c1469c9a91a0b84d03640 Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
* | | | | | | | Merge "icnss: Do not parse VBATT DT entry if VBATT feature is disabled"Linux Build Service Account2016-10-27
|\ \ \ \ \ \ \ \
| * | | | | | | | icnss: Do not parse VBATT DT entry if VBATT feature is disabledYuanyuan Liu2016-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not parse VBATT entry in DT if this feature is disabled. CRs-Fixed: 1078147 Change-Id: I0aa3443a2fddfa200631b6fe9eb22de10178fe46 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | | | | Merge "icnss: Do top level reset when timeout to pull register state"Linux Build Service Account2016-10-26
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | / / / / | |_|_|_|/ / / / |/| | | | | | |
| * | | | | | | icnss: Do top level reset when timeout to pull register stateYuanyuan Liu2016-10-24
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When system timeouts to pull register state, we do wsi error recovery, which causes an AHB bus hang. Fix this by doing top level reset instead of wsi error recovery. CRs-Fixed: 1080014 Change-Id: Ic5dbac9c2cd31f3193ede7cdc64249f7514e3e98 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | | Merge "icnss: Stay awake during recovery"Linux Build Service Account2016-10-26
|\ \ \ \ \ \ \
| * | | | | | | icnss: Stay awake during recoveryPrashanth Bhatta2016-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During recovery, there is a chance of suspending if WLAN FW takes a while to come-up. Stay awake during recovery. CRs-fixed: 1081218 Change-Id: I57c54da77500e38fcace367f70befed741e0e70d Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
* | | | | | | | Merge "soc: qcom: use interruptible wait_for_completion API"Linux Build Service Account2016-10-25
|\ \ \ \ \ \ \ \
| * | | | | | | | soc: qcom: use interruptible wait_for_completion APIVidyakumar Athota2016-10-24
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Device suspend fails because of un-interruptible blocking read function. Use wait_for_completion_interruptible API instead of wait_for_completion to allow device suspend. Change-Id: Ia537e776d0b322d56cd6003f95cdded5e695ceeb Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* | | | | | | | Merge "drivers: soc: Initialize return var to default value"Linux Build Service Account2016-10-25
|\ \ \ \ \ \ \ \
| * | | | | | | | drivers: soc: Initialize return var to default valueVikram Panduranga2016-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize return variable to default invalid handle before it is used. During an error condition it sets correct error code to avoid returning uninitialized return value. Change-Id: Ibad70b1bb364b60439c4988e318105a733396db8 Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org> CRs-Fixed: 1059495
* | | | | | | | | soc: qcom: Use a deferrable timer base for the msm watchdogVikram Mulukutla2016-10-24
| |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible that normal CFS latencies in the presence of very heavy task load causes timer migration to be delayed in hotplug paths. This may in turn prevent the watchdog kthread from waking up, resulting in a bark. Technically the watchdog is supposed to be a last-resort failure recovery; even in this stressful hotplug scenario the device is *usable*, just incredibly slow. It is arguable that the watchdog should not have fired in this case, and the petting mechanism should handle this scenario. Move the timer to a deferrable timer base. We are really not using the "deferrable" aspect of the timer, but the fact that we (msm) also changed deferrable timers to run on any CPU. This underlying change will allow the watchdog timer to be handled on any CPU. This completely depends on the fact that we don't have to pet the watchdog when *all* CPUs go idle, which would make sense from a power perspective anyway. Change-Id: Ie389e28ff890a805854f921e4cd491a296a32925 Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
* | | | | | | | Merge "icnss: Unregister the driver operations when probe fails"Linux Build Service Account2016-10-22
|\ \ \ \ \ \ \ \
| * | | | | | | | icnss: Unregister the driver operations when probe failsSameer Thalappil2016-10-20
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When WLAN driver initialization fails unregister the driver operations. CRs-Fixed: 1077763 Change-Id: I7c7c3f98f9685711268e221fc83f2c831b02a294 Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
* / | | | | | | soc: qcom: glink_spi_xprt: Add support for WDSP SSRKarthikeyan Ramasubramanian2016-10-20
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle WDSP_EVENT_PRE_SHUTDOWN event to indicate link down event to G-Link core and the clients of G-Link. Handle WDSP_EVENT_POST_BOOTUP event to indicate link up event. CRs-Fixed: 1080354 Change-Id: I12c04ceb7af51cc5d2f0c79b524ef783dc5f749e Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>