summaryrefslogtreecommitdiff
path: root/drivers/soc (follow)
Commit message (Collapse)AuthorAge
...
* | | | | 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
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | 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
|\ \ \ \ \ \