summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom (follow)
Commit message (Collapse)AuthorAge
...
* | | | | | Merge "memshare: Update the free memory count after allocation"Linux Build Service Account2017-05-16
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | memshare: Update the free memory count after allocationManoj Prabhu B2017-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch updates the client's free memory count variable after the successful allocation. CRs-Fixed: 2046258 Change-Id: Ibae317596557e23d2b2278daf433bd293a8bd0be Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
* | | | | | Merge "soc: qcom: qpnp-haptic: add support for auto mode"Linux Build Service Account2017-05-11
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | soc: qcom: qpnp-haptic: add support for auto modeSubbaraman Narayanamurthy2017-05-09
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the duration of the pattern, haptics mode and other parameters needs to be configured dynamically for a better performance and ease of use. Add support for this through device tree property "qcom,lra-auto-mode". Add support to configure some parameters like auto resonance mode, LRA high-Z period, calibration period, vmax along with an option to override the settings done by auto_mode configuration. Change-Id: I4706fed4e3ca97d190f907769fd4a9899479b330 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
* | | | | Merge "icnss_utils: replace mutex lock by spinlock"Linux Build Service Account2017-05-10
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | icnss_utils: replace mutex lock by spinlockYuanyuan Liu2017-05-10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace mutex lock by spinlock in icnss_wlan_set_dfs_nol as dfs module may call this function in timer context which will result apps crash. CRs-Fixed: 2044689 Change-Id: Ib820589cd8b120a39536aab69d6954ba8cc35e3c Signed-off-by: Arif Hussain <arifhussain@codeaurora.org> Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* / / / memshare: Add guard bytes to avoid access issuesMohit Aggarwal2017-05-08
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, TZ is performing merging of resource groups due to which NOC error is happening during access of memory allocated to diag. This patch fixes the issue by adding guard bytes so that merging of resource groups will not happen. CRs-Fixed: 2026525 Change-Id: I9829e5a07aef723c4261aa16dd5274cfeb1a75a3 Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
* | | Merge "qbt1000: Initialize drvdata structure before usage"Linux Build Service Account2017-05-04
|\ \ \
| * | | qbt1000: Initialize drvdata structure before usageAbir Ghosh2017-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix uninitialized local variable error which might have lead to crash. CRs-Fixed: 2030137 Change-Id: I3fd95cb343c3175e4190c8ebfe209399db0602a6 Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
| * | | qbt1000: Terminate fingerprint TA name with nullAbir Ghosh2017-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Terminate the string, coming from userspace and containing the name of fingerprint trusted app, with null character, to make sure kernel memory does not leak into logs Change-Id: I1668a64fcb6747ce3ef3b1ee6321fa5fa4a1798a CRs-Fixed: 2029409 Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
* | | | Merge "qbt1000: Validate FP app name before qseecom_start_app"Linux Build Service Account2017-05-04
|\ \ \ \
| * | | | qbt1000: Validate FP app name before qseecom_start_appAbir Ghosh2017-05-03
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Validate the name of the client app before passing it to qseecom_start_app. CRs-Fixed: 2006695 Change-Id: I9c6b16050d4f6fc94827021c7b0f2ab292452f60 Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
* | | | Merge "soc: qcom: minidump: move elf global variables to structure"Linux Build Service Account2017-05-03
|\ \ \ \
| * | | | soc: qcom: minidump: move elf global variables to structureLingutla Chandrasekhar2017-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current driver implementation uses global variables to create minidump elf header. Move all elf global variables into a structure, and also replace 'msm_minidump_enabled' API with 'minidump_enabled' global variable. And also add minidump_table address in elf, which would be useful for parsers to get memory dump table addresses without vmlinux symbols. Change-Id: I8829d88ce234179f429ae9537a3582df794c2cdf Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
| * | | | soc: qcom: minidump: fix logic checks in elf traversalsLingutla Chandrasekhar2017-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix logical checks in minidump elf traversal functions. Change-Id: I649fc9ae66d616982a61f71f66f2abe378212660 Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
* | | | | Merge "soc: qcom: minidump: update error message log level"Linux Build Service Account2017-05-03
|\| | | |
| * | | | soc: qcom: minidump: update error message log levelLingutla Chandrasekhar2017-05-03
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current implementation uses pr_info to print error messages. Update driver prints log level with pr_err instead of pr_info, and also update with proper error number for minidump table update failure return. Change-Id: I27667715c71b361b9ee0f7856c94242d3ca21014 Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
* / / / icnss: Initialize the structure member properlyHardik Kantilal Patel2017-05-03
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | After cold boot calibration WLAN FW send pin connect result to platform driver through qmi indication message. To avoid uninitialized access of pin connect result structure member initialize it properly. CRs-Fixed: 2042000 Change-Id: I5654583e890f9ee67ddcc632aecd9ecb8a160062 Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
* | | Merge "icnss: remove pre-alloc memory leak check in platform driver"Linux Build Service Account2017-05-02
|\ \ \
| * | | icnss: remove pre-alloc memory leak check in platform driverHardik Kantilal Patel2017-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The WLAN host driver is allocating the memory from pre-alloc pool during insmod/wlan start up before WLAN driver register and release the pre-alloc memory after driver unregister/remove. The Pre-alloc memory leak check and reset in Icnss platform driver on probe failure and after remove will leads to invalid memory leak stat and dangling pointer for wlan host driver allocated memory from the pre-alloc memory pool. To fix the above issue remove the pre-allaoc memory leak check and pre-alloc memory pool reset from the icnss platform driver and export symbol for the pre-alloc memory leak check and pre-alloc memory pool reset. CRs-Fixed: 2039483 Change-Id: Id9f01c9d2b5184fbb58935eaf11fd21b50b47908 Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
* | | | Merge "Merge remote-tracking branch 'remotes/quic/dev/msm-4.4-8996au' into ↵Linux Build Service Account2017-05-02
|\ \ \ \ | | | | | | | | | | | | | | | msm-4.4"
| * \ \ \ Merge remote-tracking branch 'remotes/quic/dev/msm-4.4-8996au' into msm-4.4Zhiqiang Tu2017-05-02
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi drivers/gpu/drm/msm/Makefile Change-Id: Ief80c28ff1422fd71a0c3d2041531e2ab078ee7a Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
| | * | | | soc: qcom: boot_stats: Adding new KPI markers and renaming the existing.Meghana Ashok2017-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding early_domain and SHA/RSA compute time KPI markers. Renaming few other markers to be more indicative. Change-Id: I55c99ae0c65f0162ef56b2e59e10d1d92ec76a58 Signed-off-by: Meghana Ashok <meghanaa@codeaurora.org>
| | * | | | soc: qcom: boot_marker: pass formatted buffer to markerAtul Raut2017-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix scramble boot marker string and pass it to place_marker. CRs-Fixed: 1012714 Change-Id: I0013975aa75cdc15fc66ff320a0a4f3d314c6795 Signed-off-by: Atul Raut <araut@codeaurora.org>
| | * | | | Merge "socinfo: Add support for ADP platform" into dev/msm-4.4-8996auLinux Build Service Account2017-04-19
| | |\ \ \ \
| | | * | | | socinfo: Add support for ADP platformAtul Raut2017-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update subtypes for ADP platform. CRs-Fixed: 1034749 Change-Id: I7fe7af381ac96caaf5abf568c8ce07d3db0e0a58 Signed-off-by: Atul Raut <araut@codeaurora.org>
| | * | | | | soc: qcom: boot_marker: change module load orderAtul Raut2017-04-18
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boot_marker's routine place_marker used by module's which start late in driver initialization at kernel boot sequence hence required chaning its load order. boot_marker module depends on boot_stat which load order is subsys_initcall hence changing boot_marker as subsys module. CRs-Fixed: 1023644 Change-Id: I6c44d59d1899667f92d25211a2af4edde7130e15 Signed-off-by: Atul Raut <araut@codeaurora.org>
| | * | | | soc: qcom: boot_stats: Add boot KPI markersAtul Raut2017-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add instrumentation for boot time measurement Change-Id: I08fe4f23a7f95f765f28f57790e7102f4751b442 CRs-Fixed: 1000799 Signed-off-by: Atul Raut <araut@codeaurora.org>
| | * | | | soc: qcom: cache_m4m_erp64: Dump ICESR_EL1 on I-cache errorSanrio Alvares2017-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dump ICESR_EL1 register when I-cache error is detected to determine if there are multiple errors Change-Id: I507a16817428ee31dc55ef23513aaf146d0ee1ef Signed-off-by: Sanrio Alvares <salvares@codeaurora.org>
| | * | | | soc: qcom: remove warning msg in msm_l2_erp_irq()Puja Gupta2017-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | smp_call_function_many() used in msm_l2_erp_irq() gives a warning when called with interrupt disabled. Instead use smp_call_function_single_async(). Change-Id: I03cdc0cc07281460a33abe9b09ae0f06590029aa Signed-off-by: Puja Gupta <pujag@codeaurora.org>
| | * | | | soc: qcom: cache_m4m_erp64: Use non-threaded IRQ handlingStepan Moskovchenko2017-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use non-threaded IRQ handlers for L2 and M4M error reports, so that the error handler prints a meaningful backtrace (including stack information prior to IRQ entry). This improves the chances of being able to identify what the system was doing when the error was reported. Change-Id: I220fa753944694842307fcec217e32a96c8adc0d Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
| | * | | | soc: qcom: cache_m4m_erp64: Use raw_smp_processor_id()Stepan Moskovchenko2017-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace calls to smp_processor_id() with raw_smp_processor_id() to avoid extraneous warnings on the error handling paths. Change-Id: Ie1f4dd448aa04302e1eb0865e0373f9a2b91848c Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
| | * | | | soc: qcom: cache_m4m_erp64: Fix L1/L2 error detection initializationMatt Wagantall2017-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | L1/L2 error detection configuration must be configured on all CPUs, but the configuration was performed on all but the current CPU. Replace calls to smp_call_function() with calls to on_each_cpu() to correct this. smp_call_function() only calls the function on other CPUs, not the current one. Change-Id: I68b7657a6b1258f745103531bfe383333dbd9362 Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
| | * | | | soc: qcom: Add M4M Cache ERP snapshotAbhimanyu Kapur2017-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the MSM 64bit cache and M4M error reporting driver which is useful to detect correctable/uncorrectable L1, L2, L3 cache errors as well as cluster interconnect errors. Currently the driver does not handle restoring L2, L3 error configuration settings in case of their respective power collapse scenarios. This is a snapshot of the m4m/cache_erp driver as of msm-3.14 commit: 3bc54cf86bdc7affa7cd4bf7faa3c57fe8f8819d (Merge "msm: camera: Add dummy sub module in sensor pipeline") Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org> Conflicts: drivers/soc/qcom/Kconfig drivers/soc/qcom/Makefile Change-Id: I8ae894a6450d2caa4f8662e01690f4f5938fc0b9 Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
| | * | | | soc: qcom: Add new scm API support in function scm_set_boot_addrJaiju Yesudasan2017-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SCM library now provides a new API that implements a secure world syscall interface. Add support for this new API in function scm_set_boot_addr. Change-Id: I2137ae847098a0afb9d26f53f8f62dc5c997d43b Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
| | * | | | qcom: Kconfig: Add L2_SPM configMaulik Shah2017-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add L2_SPM config support. Change-Id: Iea9686c83e01a71680d361937b71b48dd766d2d4 Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
| | * | | | Merge remote-tracking branch 'remotes/origin/msm-4.4' into dev/msm-4.4-8996auArun KS2017-04-06
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boot/dts/qcom/msm8996pro.dtsi arch/arm64/kernel/Makefile drivers/leds/leds-qpnp-flash.c sound/soc/msm/apq8096-auto.c Change-Id: Idea5d05fec354b8f38ea70643decb03f7b80ddb7 Signed-off-by: Arun KS <arunks@codeaurora.org>
| | * \ \ \ \ Merge "msm: msm_bus: fix the memory leak issue" into dev/msm-4.4-8996auArun Ks2017-03-30
| | |\ \ \ \ \
| | | * | | | | msm: msm_bus: fix the memory leak issueOdelu Kukatla2017-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client name allocated dynamically during the registration is not freed at the time of unregistration. This is leading to memory leak issue. This patch fixes the issue by freeing up the client name during unregistartion time. Change-Id: I0fe75ce71fdf0ee9a1268d52ac244047cc3413d7 Signed-off-by: Kiran Gunda <kgunda@codeaurora.org> Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
| | * | | | | | msm: msm_bus: initialize the local variableOdelu Kukatla2017-03-28
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize the local variable 'ret' which is returned from the function. Change-Id: Ie82e74ce55b622db924e353a6ea98323c7642fa6 Signed-off-by: Kiran Gunda <kgunda@codeaurora.org> Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
| | * | | | | ARM: dts: msm: Add support for MSM8996pro v1.1 automotive SoCsMathew Joseph Karimpanal2017-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add device tree files needed to support MSM8996proAU v1.1 and APQ8096proAU v1.1 SoC CDPs (Core Development Platform). CRs-Fixed: 1030299 Change-Id: I16c6fc69790fd5ad3a29b64f8e615a783dc84e98 Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
| | * | | | | socinfo: Add support for MSM8996proAU SoCMathew Joseph Karimpanal2017-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CPU IDs to the socinfo table needed to support MSM8996pro Automotive SoC. CRs-Fixed: 991575 Change-Id: I6efaf4574a5f563b0ee3edd8545e0acd027ad59b Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
* | | | | | | Merge "soc: qcom: ssr: Add option to relax on ssr failures"Linux Build Service Account2017-05-02
|\ \ \ \ \ \ \
| * | | | | | | soc: qcom: ssr: Add option to relax on ssr failuresArun KS2017-05-02
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SSR failures are considered fatal and results in system panic. In certain scenarios system can continue to work even with a failed subsystem. Add an option in subsystem descriptor to relax on ssr failures. Change-Id: I86dcaa615d6443937077880d9a91070d9c22ea1f Signed-off-by: Arun KS <arunks@codeaurora.org> [satyap@codeaurora.org: trivial merge conflict resolution] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* | | | | | | Merge "ASoC: msm: q6dspv2: fix APR deregistration logic in ASM during ADSP SSR"Linux Build Service Account2017-05-01
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | soc: q6dspv2: apr: fix client registration refcountBanajit Goswami2017-04-13
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Audio Packet Router (APR) is used by multiple audio services to communicate between APSS and ADSP. These audio services registers for service level APR communication (port 0xFFFFFFFF), or for session level APR communication (using port 0x101 etc.). The services might choose to call apr_register for any port at random. The expectation is that the refcounting for the number of ports registered with APR for any specific service, is handled irrespective of the order in which registrations are done. The current logic fails to handle the refcounting when apr_register is called for 0xFFFFFFFF before other session based ports. Fix this correctly using the service count (svc_cnt) variable in apr_svc. CRs-fixed: 2022490 Change-Id: I2fcd1269facf24d509db0d90314e0d2545a2ad67 Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | | | Merge "soc: qcom: Register for indication cb after obtaining state of remote pd"Linux Build Service Account2017-04-28
|\ \ \ \ \ \
| * | | | | | soc: qcom: Register for indication cb after obtaining state of remote pdAvaneesh Kumar Dwivedi2017-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change moves the registration of indication call back after inquiring the state of remote PD, this is logical flow since in any case just after registration we are inquiring the state and doing client notification. With existing arrangement of code, sometime there is occurring a race condition between inquiring the remote pd state and indication call back. Change-Id: I2d4d5e0dc7afde9dfb89747b878c26862532bec4 Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
| * | | | | | soc: qcom: Clear the memory before freeing it upAvaneesh Kumar Dwivedi2017-04-28
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is a case of write after free, this is causing page allocation failure due to corruption. This is due to freeing up of segments allocated for venus subsystem, when venus fw loading fail midway. Change-Id: I0019a05b1d1336dcf361264607597430e5f1625a Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* | | | | | Merge "icnss: Add support to handle SSR within SSR"Linux Build Service Account2017-04-28
|\ \ \ \ \ \