summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom (follow)
Commit message (Collapse)AuthorAge
...
| * | | | msm: watchdog: Add hibernation supportVenkata Rao Kakani2018-06-22
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During hibernation, freeze/thaw/restore dev_pm_ops are called instead of suspend/resume. Hook up the hibernation ops using macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS. Change-Id: Ic4cb9f5aec1a0a1d66cf2cea9946a4a3aae37671 Signed-off-by: Atul Raut <araut@codeaurora.org>
* | | | Merge "soc: qcom: hab: make LA compilation pass"Linux Build Service Account2018-06-23
|\ \ \ \ | |/ / / |/| | |
| * | | soc: qcom: hab: make LA compilation passChao Bi2018-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to GCC problem (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119), it cause a warning in hab test code, this patch is a workaround to avoid this warning. This can be reverted once the GCC issue is fixed. Change-Id: I4d01920ef36cb42bae4dd9f331c518a38dfd9a5a Signed-off-by: Chao Bi <chaobi@codeaurora.org>
* | | | Merge "msm: msm_bus: Fix error handling in msm_bus_device_init"Linux Build Service Account2018-06-21
|\ \ \ \
| * | | | msm: msm_bus: Fix error handling in msm_bus_device_initDavid Dai2018-06-12
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correctly free pointers allocated by kzalloc. Remove devm_kfree in error handling as device associated memory is automatically freed upon destruction of device. Always use put_device instead of kfree on initialized device. Change-Id: Icbd88e9ccd42fedb4fbce5eff69248c3fceffc02 Signed-off-by: David Dai <daidavid1@codeaurora.org>
* | | | soc: qcom: hab: clean the compilation issuesYong Ding2018-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the hab compilation issues found when CONFIG_GHS_VMM is enabled. Change-Id: Ie4b6aca5f0a7f549273d939dd6069e55db7877c4 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | soc: qcom: hab: return -EINTR if woken up by a signalYong Ding2018-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The standard -EINTR will be returned if the hab open blocking call is woken up by a signal. Change-Id: I0329c3b3a70241a31a64eab6872808e0f7d21013 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | ASoC: apr: Add separate initial boot flag for ADSP and ModemSoumya Managoli2018-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apr ignores initial PDR_DOWN event from ADSP/Modem during boot up. ADSP_DOWN event is wrongly sent to audio drivers during boot up if it gets MODEM_UP event before ADSP_DOWN. Added separate flags for both ADSP and Modem events to avoid this issue. CRs-Fixed: 2232315 Change-Id: I2c6084ac03e3867009f36be36631f881124f59ba Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
* | | | Merge "soc: qcom: subsystem_restart: Add checks to verify validity of a device"Linux Build Service Account2018-06-16
|\ \ \ \
| * | | | soc: qcom: subsystem_restart: Add checks to verify validity of a deviceAnant Goel2018-06-15
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extra checks are added to ensure a subsystem device is valid before accessing any of its fields. Change-Id: Ia8e3dced005485b1edb5d6ccf9429f90d31fa613 Signed-off-by: Anant Goel <anantg@codeaurora.org>
* / / / soc: qcom: hab: add support for multiple hypervisorsYong Ding2018-06-12
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | HAB(Hypervisor ABstraction) is used for message transaction and buffer sharing among different virtual machines with the underlying hypervisor support. Here is the change to add HAB support for linux running in multiple hypervisors. Change-Id: I0747b2fa0f16c7cc0ab662369d45467ac6ba62e5 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | soc: qcom: scm_qcpe: use uninterruptible habmm_socket_recv()Yong Ding2018-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary to support scm call in system shutdown procedure. With interruptible habmm_socket_recv(), it will return immediately without blocking until the response arrives. Change-Id: Ia7ef95e4c6878a149ec373c8d2b5ae19a36f4125 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | Merge "soc: qcom: boot_marker: add mpm timer interface"Linux Build Service Account2018-06-04
|\ \ \
| * | | soc: qcom: boot_marker: add mpm timer interfaceZhiqiang Tu2018-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a debugfs interface to get count of mpm timer. Change-Id: I24e927b6219b8bd4c2f4ddecb8f51518f0db663a Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
* | | | Merge "soc: qcom: hab: add performance test mechanism for HAB"Linux Build Service Account2018-06-04
|\ \ \ \
| * | | | soc: qcom: hab: add performance test mechanism for HABChao Bi2018-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Develop a mechanism to faciliate the performance test for hab and share memory. Use "echo 0 > /sys/module/msm_hab/parameters/perf_test" to start share memory throughput test, and use "cat /sys/module/msm_hab/parameters/perf_test" to get the result. Change-Id: Ic9e27ace5332bd022e444747ab58152bb3dfd584 Signed-off-by: Chao Bi <chaobi@codeaurora.org>
* | | | | Merge "soc: msm: add size check to fix out of bounds on ANC"Linux Build Service Account2018-06-03
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | soc: msm: add size check to fix out of bounds on ANCTimothy Sham2018-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before calling audio ANC ioctl functions, compare the allocated buffer size to the size of the header and ANC cmd header to ensure the buffer is big enough. Change-Id: I8fcd0a830853d802bbb11fc243a4d392fbe384f3 Signed-off-by: Timothy Sham <tsham@codeaurora.org>
* | | | | Merge "soc: qcom: scm_qcpe: Close hab socket on error"Linux Build Service Account2018-05-31
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | soc: qcom: scm_qcpe: Close hab socket on errorAmit Blay2018-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Close the open hab socket after receiving an error status from the hab. Change-Id: Ia56c7ce49d0e61661c9f133d35540e48f3707e01 Signed-off-by: Amit Blay <ablay@codeaurora.org>
* | | | | Merge "ARM: dts: msm: add lpass resource mgr on automotive msm8996"Linux Build Service Account2018-05-27
|\ \ \ \ \
| * | | | | ASoC: msm: qdsp6v2: add early audio interface supportDerek Chen2018-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add early audio interface support to allow synchronization between ADSP loading and early audio playback. Execute the command 'echo 0 > /sys/kernel/lpass_resource_mgr/check_early_audio' to check if early audio playback is ongoing. Output will be "Online" if early audio playback is ongoing. CRs-fixed: 2126727 Change-Id: I95d07c8f3cd93ded112b551238a973a76fb6b7ed Signed-off-by: Derek Chen <chenche@codeaurora.org>
* | | | | | soc: qcom: pasr: Add MSM PASR driverArun KS2018-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial Array Self-Refresh driver is used to interface with rpm to vote/unvote on memory self-refresh from HLOS. Driver listens to memory hotplug notifications and decides to vote or unvote depending on memory online and offline. This vote is considered by RPM to avoid self-refresh on offlined DDR segments. And hence a reduce in power consumption. Change-Id: Ida2b36d671c6379dc3c07258a95cf15ae07a4bc0 Signed-off-by: Arun KS <arunks@codeaurora.org>
* | | | | | Merge "soc: qcom: scm_qcpe: Fix unused variable warning"Linux Build Service Account2018-05-21
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / /
| * | | | soc: qcom: scm_qcpe: Fix unused variable warningAmit Blay2018-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix an unused variable warning when GHS flag is not defined. Change-Id: Icd5b8bbb0e1bd7bedbaa6c806889d21213cb23f2 Signed-off-by: Amit Blay <ablay@codeaurora.org>
* | | | | Merge "soc: qcom: scm_qcpe: Add support for GHS"Linux Build Service Account2018-05-10
|\| | | |
| * | | | soc: qcom: scm_qcpe: Add support for GHSAmit Blay2018-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for GHS Change-Id: I454ee5e9c643b6521ae5072bb461b7c43bbe9dcc Signed-off-by: Amit Blay <ablay@codeaurora.org>
* | | | | Merge "soc: qcom: hab: hold the message when the read buffer is smaller"Linux Build Service Account2018-05-10
|\ \ \ \ \
| * | | | | soc: qcom: hab: hold the message when the read buffer is smallerYong Ding2018-05-09
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the receive buffer in habmm_socket_recv() is smaller than the message, it should be kept in the queue rather than dropped. Change-Id: Iabc1f73e5b443cc7ebdefc3961d5bec9049a265f Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | | Merge "soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handler"Linux Build Service Account2018-05-08
|\ \ \ \ \
| * | | | | soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handlerDhoat Harpal2018-05-08
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tx_data cmd is processed in tasklet which is not guranteed to be scheduled immidiatley. This decreases performance of glink. Process tx_data command in irq handler. CRs-Fixed: 2225619 Change-Id: Ida5e51b83fa46c76f72ae886260752baa8b942b9 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* / / / / soc: qcom: glink_ssr: Initialize waitqueue in probe functionDhoat Harpal2018-05-07
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | waitqueue is initialized on every call to notify_for_subsystem. This leads to stability issue if one thread is waiting for completion and another thread re-initializes it. Waitqueue is initialized only in probe function. CRs-Fixed: 2197181 Change-Id: I3509a7c4a197c727b2025c1aeb6a35690c3c8501 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
* | | | Merge "ARM: dts: msm: enable sensor node on msm8996 and apq8096"Linux Build Service Account2018-05-06
|\ \ \ \ | |/ / / |/| | |
| * | | 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>