summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom (follow)
Commit message (Collapse)AuthorAge
...
| * | | | | | | | 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>
* / / / / icnss: Add support of setting MAC address from platform driverYuanyuan Liu2016-12-01
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support of setting WLAN MAC address from platform driver. The MAC address will be passed to WLAN driver when WLAN is turned on. CRs-Fixed: 1096286 Change-Id: I249222b419dd130241cbc84f4d41709b408941e0 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | Merge "soc: qcom: rpm: Change driver memory allocation to use GFP_NOIO"Linux Build Service Account2016-11-26
|\ \ \ \
| * | | | soc: qcom: rpm: Change driver memory allocation to use GFP_NOIOMaulik Shah2016-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a filesystem driver calls into makes a RPM request, RPM driver makes a kzalloc request with GFP_NOFS flag. This results in a deadlock if a driver waiting on IO completion sends a RPM message. Change memory allocation in the RPM driver to use GFP_NOIO. Change-Id: Ie986b6eb21845b679f068372e46dfb402f234dcf Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
* | | | | Merge "soc: qcom: Turn off MSM_PERFORMANCE_HOTPLUG_ON by default"Linux Build Service Account2016-11-26
|\ \ \ \ \
| * | | | | soc: qcom: Turn off MSM_PERFORMANCE_HOTPLUG_ON by defaultDilip Gudlur2016-11-24
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Core-ctl module by default, manages cpus instead of msm_performance module. Set this config to allow msm_performance manage(hot-plug) cores in the absence of core-ctl. Change-Id: I02a1007edfc63ad2c2dd99616cb1a64432b08d13 Signed-off-by: Dilip Gudlur <dgudlur@codeaurora.org>
* | | | | Merge "soc: qcom: msm_bus: Set current index to default value"Linux Build Service Account2016-11-25
|\ \ \ \ \
| * | | | | soc: qcom: msm_bus: Set current index to default valueOdelu Kukatla2016-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a client unregisters with bus driver after registering with it, without a bandwidth update request in-between, the current index is not having valid value, so update it to default value of 0. Change-Id: I8f1cba6e1efa65ae41e674b14bd7598b4b521f05 Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
* | | | | | Merge "soc: qcom: socinfo: Change offset of image OEM attribute"Linux Build Service Account2016-11-25
|\ \ \ \ \ \
| * | | | | | soc: qcom: socinfo: Change offset of image OEM attributeImran Khan2016-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a requirement, for diag command handler, that needs the separator between image variant and image OEM to be shown as part of OEM value in sysfs. So change the relevant offset and size to include this information in image oem sysfs attribute. CRs-Fixed: 1086976 Change-Id: Iae12fa648df17dddd48f3a71e94d06c2c3b03277 Signed-off-by: Imran Khan <kimran@codeaurora.org>
* | | | | | | Merge "qcom: scm: remove printing input arguments"Linux Build Service Account2016-11-25
|\ \ \ \ \ \ \
| * | | | | | | qcom: scm: remove printing input argumentsSwetha Chikkaboraiah2016-11-25
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scm_call2 is printing the input arguments if TZ ret value is < 0 leading to information leak. Remove printing input arguments. Change-Id: I21dd6d83fa979aed2c79ebb2c9c8de63a247dded CRs-Fixed: 1076407 Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org> Signed-off-by: Paresh Purabhiya <ppurab@codeaurora.org> Signed-off-by: Runmin Wang <runminw@codeaurora.org>
* | | | | | | Merge "soc: qcom: fix uninitialized references in gladiator_erp_v2"Linux Build Service Account2016-11-25
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | soc: qcom: fix uninitialized references in gladiator_erp_v2Neeraj Upadhyay2016-11-23
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix uninitialized references in gladiator_erp_v2, reported by static analysis tool. While at it, log all error registers for Gladiator error. Change-Id: If2b81e8b8fd446a07bc92ff23f74cdaa9ed11ff5 Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
* / / / / / msm: 8998: Replace cobalt with 8998Runmin Wang2016-11-22
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the code name from msmcobalt to msm8998. As a result, update the filename containing "cobalt" and files content containing "cobalt". CRs-Fixed: 1070840 Change-Id: I2c7b95e3e2a2fec7730724da9eeb86a39a77faf1 Signed-off-by: Runmin Wang <runminw@codeaurora.org> Signed-off-by: Kyle Yan <kyan@codeaurora.org> Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
* | | | | Merge "icnss: Reset mpm_wcssaon_config bits before top level reset"Linux Build Service Account2016-11-18
|\ \ \ \ \
| * | | | | icnss: Reset mpm_wcssaon_config bits before top level resetYuanyuan Liu2016-11-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear mpm_wcssaon_config bits before top level reset. If those bits are non-zero during WLAN is enabled, there could be random failures. CRs-Fixed: 1086372 Change-Id: Ia03380dfa4852c80fedb38f3c79f55d8d1a9a7f6 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | | Merge "soc: qcom: smem: Redesign smem memory architecture"Linux Build Service Account2016-11-18
|\ \ \ \ \ \ | |/ / / / / |/| | | | |