summaryrefslogtreecommitdiff
path: root/drivers/soc (follow)
Commit message (Collapse)AuthorAge
...
| * | | soc: msm: add sensor dsp framework support for ancDerek Chen2018-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Sensor DSP framework support for Active Engine Noise Cancellation (ANC). CRs-fixed: 2153236 Signed-off-by: Derek Chen <chenche@codeaurora.org> Change-Id: I4cd28ac1bbfd3fcd21174e0216c70cd664cfa319
* | | | Merge "hab: import/export between remote buffer and dmafd"Linux Build Service Account2018-05-02
|\ \ \ \
| * | | | hab: import/export between remote buffer and dmafdYajun Li2018-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | currently hab only supports importing remote buffer to cpu address, which can't be shared to other process. Therefore we add dma_buf import/export function in hab Change-Id: I156c925d7c0cefef5bf146ad8cff38de9c4b3bee Signed-off-by: Yajun Li <yajunl@codeaurora.org>
* | | | | Merge "soc: qcom: rpm_stats: Fix snprintf string format"Linux Build Service Account2018-05-02
|\ \ \ \ \
| * | | | | soc: qcom: rpm_stats: Fix snprintf string formatArchana Sathyakumar2018-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Undefined string lengths could lead to buffer overflows. Format the string correctly to ensure proper usage of snprintf. Change-Id: Ia85754327d342aefce2a67eb7f5aeca857d8fbcf Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
* | | | | | Merge "soc: msm: add apr sensor domain support"Linux Build Service Account2018-05-01
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | soc: msm: add apr sensor domain supportDerek Chen2018-04-20
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add APR Sensor (DSPS) domain support for Active Noise Cancellation (ANC) usecase. CRs-fixed: 2153236 Change-Id: I5a271aac25ac6e538751d742dc0bf1b105221112 Signed-off-by: Derek Chen <chenche@codeaurora.org>
* | / / / audio: qdsp6v2: add retry when EAGAIN for habmm_socket_recvHugh Guan2018-04-23
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | HAB in the kernel can return -EAGAIN from the habmm_socket_recv() call. This can happen particularly from a signal handler context. Change-Id: Ib2885dc49193efb925ed03dc507a2fd2c97ec8c5 Signed-off-by: King Tam <kingt@codeaurora.org>
* | | | msm_performance: Add NULL pointer checksShashi Shekar Shankar2018-04-19
|/ / / | | | | | | | | | | | | | | | | | | Add NULL pointer checks. Change-Id: Ia49ed015e8ea13c63296c4491c9d3af99ef0e121 Signed-off-by: Shashi Shekar Shankar <ssbang@codeaurora.org>
* | | Merge "voice_svc: Avoid double free in voice_svc driver"Linux Build Service Account2018-04-18
|\ \ \
| * | | voice_svc: Avoid double free in voice_svc driverAditya Bavanari2018-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | voice_svc_dev is allocated as a device managed resource and need not be freed since it is freed automatically. Remove the logic to free voice_svc_dev in probe failure and remove functions to avoid double free. CRs-Fixed: 2204285 Change-Id: If4f9ca840b00448b987f5ce443f66b0923b01969 Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
* | | | soc: qcom: scm: Support single HAB id for QCPEAmit Blay2018-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All guest VMs use the same HAB id for communication with QCPE. Change-Id: I01ed16376730276f13a734b82d387b1d30d14434 Signed-off-by: Amit Blay <ablay@codeaurora.org>
* | | | soc: qcom: hab: add the uninterruptible receive supportYong Ding2018-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the blocking mode of habmm_socket_recv(), it is an interruptible wait by default. Here, the uninterruptible version is added. Change-Id: Iba9ee10afb3f2529a99a9c90f6fc0cb56fb9cb08 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | icnss: Consider recovery as FW downSameer Thalappil2018-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When WLAN driver encounters FW timeout scenarios, it may check if the FW is down by calling icnss_is_fw_down() API. Recovery should also be considered as FW down, as FW has not completely recovered and ready for WLAN communication. Change-Id: I4c9e15aacc5605dca823e2cfcbf6f87152aaa78e CRs-Fixed: 2218795 Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
* | | | soc: qcom: hab: refine hab driver's header filesYong Ding2018-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stuffs relevant with ioctl are only for hab driver itself and hab clients in user space. Those hab clients in kernel dose not need them. So here uapi/linux/habmm.h is refined into two files as habmmid.h and hab_ioctl.h. Change-Id: I9344e3e3fec88a042ec1915a9c0d51a28cea6e9a Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | Merge "soc: qcom: ipc_router_smd_xprt: Set pointer to NULL after free"Linux Build Service Account2018-03-28
|\ \ \ \
| * | | | soc: qcom: ipc_router_smd_xprt: Set pointer to NULL after freeArun Kumar Neelakantam2018-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in_pkt pointer is holding dangling pointer address even after calling release_pkt() which causing use-after-free. Set the in_pkt pointer to NULL after free. CRs-Fixed: 2210859 Change-Id: If5e01c0109c947e52f3ff269c9b2b50ac0dc2bdf Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
* | | | | Merge "soc: qcom: hab: add habmm_socket_query support"Linux Build Service Account2018-03-28
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | soc: qcom: hab: add habmm_socket_query supportYong Ding2018-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This query API can be used by hab clients to get their virtual channels' info if necessary, eg, the local and remote vmids. Change-Id: I1293b51a1127997f493f07c0c2181423bf45d79e Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | | soc: qcom: glink: smem: Add wmb between data and write indexChris Lew2018-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure data is flushed before updating write index by adding a wmb. Change-Id: I3d17ed56b64ac9ca399a0ef11a638027c1ba36ae Signed-off-by: Chris Lew <clew@codeaurora.org>
* | | | | Merge "ASoC: msm: Fix KW issues for audio drivers"Linux Build Service Account2018-03-21
|\ \ \ \ \
| * | | | | ASoC: msm: Fix KW issues for audio driversTony Han2018-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fixed issues include variable initialization missing and improper NULL pointer checking. Change-Id: I5302cf84f7f0414fe0cf69ccc0cafc8225142c5f Signed-off-by: Tony Han <xiahan@codeaurora.org>
* | | | | | Merge "soc: qcom: ipc_router_mhi_xprt: Initialize variable at start"Linux Build Service Account2018-03-20
|\ \ \ \ \ \
| * | | | | | soc: qcom: ipc_router_mhi_xprt: Initialize variable at startDhoat Harpal2018-03-20
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variable rc is not initialized in the beginning of function ipc_router_mhi_write and ipc_router_mhi_xprt_probe. This leads possible use without initialization issue. Initialize variable in the beginning of both functions. CRs-Fixed: 2209246 Change-Id: Ida0bdad2336be928d6e440d4143350bbf9f253d5 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | | | Merge "soc: qcom: tracer_pkt: Fix buffer length check"Linux Build Service Account2018-03-20
|\ \ \ \ \ \
| * | | | | | soc: qcom: tracer_pkt: Fix buffer length checkChris Lew2018-03-20
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logic to truncate packets if the size is too long was off by one. Fix the conditional logic for checking lengths. CRs-Fixed: 2121368 Change-Id: I908bd0a1ab78dea439056dbcd12eb158b2789e4a Signed-off-by: Chris Lew <clew@codeaurora.org>
* / / / / / soc: qcom: subsystem_notif_virt: Fix owner for the driverAnant Goel2018-03-19
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The owner for the driver is not a string. Fix the owner accordingly. Change-Id: I5f29cc0ae65714756868a0076f8a8adc6c3d45c2 Signed-off-by: Anant Goel <anantg@codeaurora.org>
* | | | | soc: qcom: hab: add some pchans for BufferQ and FDEYong Ding2018-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is adding pchans based on the legacy header files. Change-Id: I0abf6b7617f4e1e057891c1312a20538bc65d2ea Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | | Merge "soc: qcom: subsystem_notif_virt: Add virtual subsystem notification ↵Linux Build Service Account2018-03-09
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | driver"
| * | | | | soc: qcom: subsystem_notif_virt: Add virtual subsystem notification driverAnant Goel2018-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The guest VM uses this driver to communicate subsystem state related notifications to a backend driver via the virtual device's registers. Change-Id: I612fcb641c4d531c1d2c0fd18f44f7ebff040f2c Signed-off-by: Anant Goel <anantg@codeaurora.org>
* | | | | | Merge "soc: qcom: scm_qcpe: Derive HAB id from HAB vmid dt node"Linux Build Service Account2018-03-05
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | soc: qcom: scm_qcpe: Derive HAB id from HAB vmid dt nodeAmit Blay2018-03-04
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Derive the QCPE HAB id from the HAB vmid DTS node, rather than have it hard coded into the driver. Change-Id: I29ec7647890f8bc194d31f0402c5ed314572462f Signed-off-by: Amit Blay <ablay@codeaurora.org>
* / | | | soc: qcom: hab: clean the pr_fmt redefined build warningYong Ding2018-02-26
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In include/linux/printk.h, pr_fmt is programmed in such below way. #ifndef pr_fmt #define pr_fmt(fmt) fmt #endif And in hab.h, there is a customized pr_fmt definition. To avoid its redefinition warning, it should be undefed before the customized one if it already exists. And such warning happens in building khab.c now. Change-Id: Ia7a58bc32c7205ac27767f9738271ddce8fef339 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | drivers: soc: Synchronize apr callback and voice svc releasesmanag2018-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue is seen when apr callback is received while voice_svc_release is in process of freeing the driver private data. Avoid invalid access of private data pointer by putting the callback and release functions in the same locked context. Change-Id: I93af13cab0a3c7e653a9bc9fa7f4f86bfa0502df Signed-off-by: smanag <smanag@codeaurora.org>
* | | | msm: secure_buffer: Add SPSS_SP_SHARED vmidSudarshan Rajagopalan2018-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for SPSS_SP_SHARED vmid. This vmid is equivalent to TZ VM, which can be used for sharing memory with TZ with the assign call. Change-Id: I10b98820796e8bab7b8275f5ddf44e8814dc0fb0 Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
* | | | Merge "icnss: Remove vote for hardware resources when FW is not down"Linux Build Service Account2018-02-15
|\ \ \ \
| * | | | icnss: Remove vote for hardware resources when FW is not downYuanyuan Liu2018-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's a race condition that could happen between PDR and driver unloading, where platform removes its hardware resources vote at the end of driver de-initialization in between the 2 stages of WLAN FW reset recipe, which led to a bad state in WLAN HW. To avoid this, check WLAN FW state before removing hardware resources vote. Do not remove vote during driver unloading if WLAN FW is in down state. The vote will be released within FW ready indication handler once WLAN FW is recovered. Change-Id: Ic45c42c4d05676e60a8fb7a8b5cae306b1c3344e CRs-Fixed: 2158466 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | | soc: qcom: hab: fix the panic in shmem device shutdownYong Ding2018-02-08
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The global struct list_head pchannels should be directly used as the list head for pchan list traversal. Previously, a local struct list_head instance was wrongly created and used for such traversal. It caused kernel panic in system shutdown. Change-Id: Ifb82b55d5a0237fd12f8f53db095fccbcef96fb8 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | icnss: Avoid wlan driver remove during modem graceful shutdownHardik Kantilal Patel2018-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of modem graceful shutdown case during wlan driver remove it delete the wlan interface and later probe time create the new interface. some time new interface may get different interface index. Android wificond framework module is not aware about this interface index change due to this after recovery it try to do scan with old interface index which result into scan failure. To address above issue avoid wlan driver remove during modem graceful shutdown. CRs-Fixed: 2157835 Change-Id: I8b828bef8b5f43cc39ba8ee578dcafc6afaa98d6 Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
* | | | Merge "soc: qcom: qdss_bridge: add support for SSR"Linux Build Service Account2018-01-29
|\ \ \ \
| * | | | soc: qcom: qdss_bridge: add support for SSRSaranya Chidura2018-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for mhi shutdown and sys_error notification. Signed-off-by: Saranya Chidura <schidura@codeaurora.org> Change-Id: Icb5f3ad2161f137adc13d1fb8fe283b638845e59
* | | | | Merge "qcom: qpnp-haptics: extend stop timer for a longer request"Linux Build Service Account2018-01-26
|\ \ \ \ \
| * | | | | qcom: qpnp-haptics: extend stop timer for a longer requestFenglin Wu2018-01-24
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Haptics works as a timed output device and it doesn't expect another enable request while current one is still in progress. If a new enabling request comes in and its duration is longer than current pattern's expiry then extend the stop timer. CRs-Fixed: 2171601 Change-Id: I1f1f4e9a58140114a41d2af54b06cd798332eae4 Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
* | | | | Merge "soc: qcom: pil: Increase MBA encryption timeout to 5secs"Linux Build Service Account2018-01-25
|\ \ \ \ \
| * | | | | soc: qcom: pil: Increase MBA encryption timeout to 5secsJitendra Sharma2018-01-25
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increase PIL timeout to give MBA more time for encryption for modem segments as now wlan segments are also being dumped in addition to modem and we see that encryption for WLAN is taking extra time. Change-Id: Ic1b43c63bcd4f0d46fbd73695a95de5917fddd9e Signed-off-by: Jitendra Sharma <shajit@codeaurora.org>
* | | | | Merge "icnss: Avoid qmi exchange when fw is down"Linux Build Service Account2018-01-25
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | icnss: Avoid qmi exchange when fw is downAnurag Chouhan2018-01-24
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently wlan Host driver call exported API's which invoke qmi exchanges irrespective of the firmware status which leads to QMI timeouts. To address this issue avoid sending qmi request to firmware when firmware is down. CRs-Fixed: 2175302 Change-Id: Ie5e340cebf7ee7f6143472e7dca0dfd9600d1b7d Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
* / / / soc: qcom: pil: Add PDR minidump supportJitendra Sharma2018-01-24
|/ / / | | | | | | | | | | | | | | | | | | | | | This change add support to collect PD dump along with minidump on subsystem ssr event. Change-Id: Icb3c20ee2f37ecc8bdbc91d9ba1ee7f383fa075a Signed-off-by: Jitendra Sharma <shajit@codeaurora.org>
* | | Merge "soc: qcom: hab: add compat_ioctl support"Linux Build Service Account2018-01-19
|\ \ \
| * | | soc: qcom: hab: add compat_ioctl supportYong Ding2018-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used to allow 32-bit userland programs to make ioctl calls on 64-bit kernel. Change-Id: Ie5066a3445c79859fc0b509159b34ff08d36358a Signed-off-by: Yong Ding <yongding@codeaurora.org>