summaryrefslogtreecommitdiff
path: root/drivers/soc (follow)
Commit message (Collapse)AuthorAge
...
* | | | | | | | | Merge "soc: qcom: pil/ssr: fix issue with logs"Linux Build Service Account2016-12-20
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | soc: qcom: pil/ssr: fix issue with logsSatya Durga Srinivasu Prabhala2016-12-16
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The drivers uses %p to print the Kernel pointers. Replace %p with appropriate format to stop revealing Kernel pointers. Change-Id: Ic7d77e920ccfe779b979f732d506d59dcdfe885a Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* | | | | | | | Merge "qcom: scm: Support register r6 to pass the session id"Linux Build Service Account2016-12-19
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | |
| * | | | | | | qcom: scm: Support register r6 to pass the session idTaniya Das2016-12-16
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Non-atomic scm call which could be interrupted, trustzone will store the session id in a register(r6) which will be used when trustzone resumes the call. To avoid r6 being used by compiler, HLOS now uses it to send a zero before making scm call. Change-Id: I2927efe04fd019d551aae5e6548da3fb5c18b655 Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | | | | Merge "icnss: Do not collect MSA0 dump during Modem WDOG bite" into msm-4.4Service qcabuildsw2016-12-19
|\ \ \ \ \ \ \
| * | | | | | | icnss: Do not collect MSA0 dump during Modem WDOG biteSameer Thalappil2016-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During modem WDOG bite scenarios, error handlers are not executed in modem. So Adrastea may not be in reset when SSR notifications are received in HLOS. Remapping MSA0 during SSR could cause SMMU fault at Adrastea, as it may be still accessing it. Skip collecting MSA0 dump in WDOG bite scenarios. CRs-Fixed: 1102057 Change-Id: I9082d4d40b70d0ca8cc8fbc6aadf14b2f0aedd0c Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
* | | | | | | | Merge "soc: qcom: ssr: add crash status to know why subsys crashed" into msm-4.4Service qcabuildsw2016-12-19
|\| | | | | | | | |_|_|/ / / / |/| | | | | |
| * | | | | | soc: qcom: ssr: add crash status to know why subsys crashedSatya Durga Srinivasu Prabhala2016-12-16
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some specific cases, clients may want to know why subsystem crashed, for example, in case of watch dog bite, subsystem may not be able to execute error handling. Which would need different code paths to be exercised on the apps processor. Change-Id: I073733b8a56b57f14906b25cba08012c2f0b414a Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* | | | | | Merge "spcom: print error messages when remote SP subsystem crash"Linux Build Service Account2016-12-19
|\ \ \ \ \ \
| * | | | | | spcom: print error messages when remote SP subsystem crashAmir Samuelov2016-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the remote Secure Processor (SP) subsystem crash (SSR), the communication link goes down. Print error messages for this rare event. Change-Id: Ib3f719e218d972b75936d9960e342ecfe6787301 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | | | Merge "spcom: cleanup rx-abort flag when channel closed"Linux Build Service Account2016-12-19
|\ \ \ \ \ \ \
| * | | | | | | spcom: cleanup rx-abort flag when channel closedAmir Samuelov2016-12-12
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the remote subsystem crash (SSR), glink will notify rx-abort for any pending rx buffer that was queued. The notification callback sets the channel rx-abort flag. When the channel is closed, reset the rx-abort flag. Change-Id: I6cca614327f7b8e3216e3872a36f08f33a65b23e Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | | | Merge "msm: mink: Fix compilation issues for 32bit targets"Linux Build Service Account2016-12-19
|\ \ \ \ \ \ \
| * | | | | | | msm: mink: Fix compilation issues for 32bit targetsAnilKumar Chimata2016-12-12
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix compilation errors which were triggered after enabling smcinvoke driver for targets which has 32bit architecture. Change-Id: Id85cea7720343cb4101155d5f33f93a1b9946abf Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
* | | | | | | Merge "soc: qcom: pil-q6v5: Update cx_max to INT_MAX while voting for CX rail"Linux Build Service Account2016-12-19
|\ \ \ \ \ \ \
| * | | | | | | soc: qcom: pil-q6v5: Update cx_max to INT_MAX while voting for CX railAvaneesh Kumar Dwivedi2016-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To support a higher GPU frequency on MSM8937 Pro target the CX rail expects TURBO_HIGH voltage level. So while requesting regulator voltage for CX rail request with max value set as INT_MAX. Change-Id: I47eb863c4b384bb12e2ff21c44104847b0baa7ee Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* | | | | | | | Merge "soc: qcom: glink: Add pending remote done packets to intent purge"Linux Build Service Account2016-12-19
|\ \ \ \ \ \ \ \
| * | | | | | | | soc: qcom: glink: Add pending remote done packets to intent purgeChris Lew2016-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Glink clients are not notified of tx transactions that are waiting for remote rx done commands during SSR. This change adds a notify_tx_abort call for any pending packets during intent purge. Change-Id: I6a6ba17e2dffddc5cdc2de00da737fedf03c9476 Signed-off-by: Chris Lew <clew@codeaurora.org>
* | | | | | | | | Merge "soc: qcom: pil-q6v5: Update the reset sequence for qdspv62.1.2/1.5"Linux Build Service Account2016-12-18
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | soc: qcom: pil-q6v5: Update the reset sequence for qdspv62.1.2/1.5Gaurav Kohli2016-12-14
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the reset sequence to read each write while enabling QDSP6 memory bank one at a time. This will make sure whether write is complete or not. Also add logs during Mss shutdown, It will help to debug Mss restart and shutdown case. Change-Id: I9f2cb058a7e59b573fc64662ee7b5bff49b18ea7 Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
* | | | | | | | | Merge "soc: qcom: pil: Initialize variable to avoid invalid access"Linux Build Service Account2016-12-18
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | soc: qcom: pil: Initialize variable to avoid invalid accessPuja Gupta2016-12-06
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize dp_fw to NULL so that we don't try to release it in the error path err_invalid_fw. CRs-Fixed: 1095243 Change-Id: I18f549102e626dc788e8fa56d6bb1ea28efe4f88 Signed-off-by: Puja Gupta <pujag@codeaurora.org>
* | | | | | | | Merge "icnss: Remove dev reference"Linux Build Service Account2016-12-13
|\ \ \ \ \ \ \ \
| * | | | | | | | icnss: Remove dev referenceYuanyuan Liu2016-12-12
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove dev reference in icnss_set_wlan_mac_address as this function is called by external module and won't be able to get ICNSS dev pointer. CRs-Fixed: 1099641 Change-Id: I21c992676c41b6cdc3ea53722806e8d0be78d9d5 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | | | Merge "spcom: check buf size for send modified command"Linux Build Service Account2016-12-13
|\ \ \ \ \ \ \ \
| * | | | | | | | spcom: check buf size for send modified commandAmir Samuelov2016-12-06
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check buffer size validity before allocating kernel buffer. CRs-Fixed: 1094140 Change-Id: I8c280b60f316d7bae87644104d18aa7df4af9efe Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | | | | Merge "spcom: check buf_size validity for user send command"Linux Build Service Account2016-12-13
|\ \ \ \ \ \ \ \
| * | | | | | | | spcom: check buf_size validity for user send commandAmir Samuelov2016-12-06
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check command buf size before allocating kernel buffer. CRs-Fixed: 1094078 Change-Id: Ib03cd8c79966ff35863c1bde99089cac018ab45c Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | | | | Merge "spcom: check user space command size"Linux Build Service Account2016-12-13
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | spcom: check user space command sizeAmir Samuelov2016-11-29
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user space spcomlib provides command buffer for various commands. Verify that the command buffer size matches the expected command struct size. CRs-Fixed: 1094143 Change-Id: If3ead54bd03368fa9338921e299b2ad8fb078297 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
* | | | | | | Merge "msm: msm_bus: Reverse QoS Clocks Disabling Order"Linux Build Service Account2016-12-09
|\ \ \ \ \ \ \
| * | | | | | | msm: msm_bus: Reverse QoS Clocks Disabling OrderDavid Dai2016-11-30
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverse the order in which the clocks needed for QoS programming are being disabled. This is done to resolve certain clocks being stuck on due to SlaveReady FSM enabled. Change-Id: I2d414689ad7ec2167b3974ae0f40338075609046 Signed-off-by: David Dai <daidavid1@codeaurora.org>
* | | / / / / soc: qcom: pil: Use NULL check of resource pointer for restart registerGaurav Kohli2016-12-07
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In failure case pointer to resource for restart register may be used while it is uninitialized. So use proper NULL check for the same. Change-Id: I3fc77b72e825f4b11724808239eea16aa126de42 Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
* | | | | | Merge "soc: qcom: Check err_ready before returning from ↵Linux Build Service Account2016-12-06
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | subsys_generic_handler()"
| * | | | | | soc: qcom: Check err_ready before returning from subsys_generic_handler()Puja Gupta2016-12-01
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow subsys_generic_handler() to check for err_ready interrupt before returning, so that subsystem_powerup() can complete successfully during ssr. CRs-Fixed: 1094829 Change-Id: I3e91bd2a2189508968f4c5cc62933a13986c6afa Signed-off-by: Puja Gupta <pujag@codeaurora.org>
* | | | | | Merge "soc: qcom: implement notify_tx_abort() callback"Linux Build Service Account2016-12-06
|\ \ \ \ \ \
| * | | | | | soc: qcom: implement notify_tx_abort() callbackVidyakumar Athota2016-11-04
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During subsystem restart, glink calls notify_tx_abort() API instead of notify_tx_done() to inform that TX buffer can be freed. Implement notify_tx_abort() to free TX buffer during subsystem restart. Change-Id: I164e4e2775c662821757151a4f2bb21a8c3fc37e Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* | | | | | Merge "soc: qcom: fix to avoid invalid memory access"Linux Build Service Account2016-12-06
|\ \ \ \ \ \
| * | | | | | soc: qcom: fix to avoid invalid memory accessVidyakumar Athota2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In error scenarios, tx_buf is accessed even after tx_buf memory is freed up. This change is to avoid access to freed up memory. Change-Id: I93a2c5875474094da1de07ddaaad8a709193632f Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
| * | | | | | soc: qcom: avoid channel open during LOCAL_DISCONNECT stateVidyakumar Athota2016-11-29
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Glink channel state LOCAL_DISCONNECT occurs only when remote side channel is closed or device node closed from userspace. In this case, glink LINK itself is not available to open channel. So avoid opening glink channels during LOCAL_DISCONNECT state. Change-Id: I637622d7bfd0cd1d0aa5b905173a7674093674c4 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* | | | | | Merge "soc: qcom: Add support to restart user PD"Linux Build Service Account2016-12-06
|\ \ \ \ \ \
| * | | | | | soc: qcom: Add support to restart user PDPuja Gupta2016-11-30
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce api service_notif_pd_restart() using which clients can request to restart user PD. CRs-Fixed: 1092791 Change-Id: Ic21de510cde4bfa9f2e4f7f3d4518b464be88db2 Signed-off-by: Puja Gupta <pujag@codeaurora.org>
* | | | | | Merge "mpm-of: Support multiple mpm pin mapping to same gic interrupt"Linux Build Service Account2016-12-06
|\ \ \ \ \ \
| * | | | | | mpm-of: Support multiple mpm pin mapping to same gic interruptMaulik Shah2016-12-05
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently one gic interrupt is mapped to one mpm pin. Support multiple mpm pins to get enabled with single irq with client drivers using enable_irq_wake API. Change-Id: Iea575079c24ed0986b74fb6e86c7b8100474f19e Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
* | | | | | Merge "soc: qcom: Reduce halt acknowledgment timeout for mss axi port"Linux Build Service Account2016-12-06
|\ \ \ \ \ \
| * | | | | | soc: qcom: Reduce halt acknowledgment timeout for mss axi portAvaneesh Kumar Dwivedi2016-12-05
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce halt ack timeout to 25 ms from 100 ms to reduce delay in mss shutdown path. Change-Id: I935e35d5d848e564aad5987b1652546046f0927d Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* | | | | | Merge "ARM: dts: msm: Enable CX Ipeak Mitigation for MSMFALCON"Linux Build Service Account2016-12-06
|\ \ \ \ \ \
| * | | | | | soc: qcom: pil: Add support for the CX IPeak mitigationGaurav Kohli2016-12-02
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear the CX iPeak bit if it was set by MSS before crash. MSS sets this bit if it was in Turbo state. In a situation where all the votes were set (including MSS), It would have resulted in CDSP throttling. But when MSS is in crashed state, It cannot be cleared by MSS, So PIL needs to do this. It would allow possible clearance of throttle state. Change-Id: Ia561436a362dc5b0e1cb22c30ce9f5b8bb027a1f Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
* | | | | | Merge "soc: qcom: glink: add NULL check for edge_ctx"Linux Build Service Account2016-12-06
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | soc: qcom: glink: add NULL check for edge_ctxDhoat Harpal2016-11-28
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In function edge_name_to_ctx_create, NULL check is missing after kzalloc for edge_ctx variable. NULL check validation is added. CRs-Fixed: 1086686 Change-Id: Icbffbd9d02df97bda531353c41a7025b95a53991 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>