summaryrefslogtreecommitdiff
path: root/drivers/soc (follow)
Commit message (Collapse)AuthorAge
...
* | Merge "soc: qcom: pil: Disable a clock to maintain clock state across modem SSR"Linux Build Service Account2018-08-10
|\ \
| * | soc: qcom: pil: Disable a clock to maintain clock state across modem SSRAnant Goel2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | A disable and unprepare is called on a clock which is voted for, but never unvoted for. By disabling and unpreparing this clock, the clock state is maintained the same across modem restarts. Change-Id: I4d6cb219ac718de4b7bad593d7f7aa9fd67b1cef Signed-off-by: Anant Goel <anantg@codeaurora.org>
* | | soc: qcom: pil: Remove a register read as it causes an unclocked accessAnant Goel2018-08-09
|/ / | | | | | | | | | | | | | | | | A read of a register during the software fatal error handling is removed. This read causes an unclocked access which prevents the modem subsystem from succssfully restarting. Change-Id: I8338830573e55af2e5c9d0f688756d975a3302af Signed-off-by: Anant Goel <anantg@codeaurora.org>
* | Merge "soc: qcom: hab: add hab statistics support"Linux Build Service Account2018-08-03
|\ \
| * | soc: qcom: hab: add hab statistics supportYong Ding2018-07-31
| | | | | | | | | | | | | | | | | | | | | This allows user to read back hab runtime information. Change-Id: Id266dd17b9c9d38f0e93aa600510ae1c6b12cca5 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | Merge "icnss: Remove sending uevent after FW ready"Linux Build Service Account2018-07-31
|\ \ \ | |/ / |/| |
| * | icnss: Remove sending uevent after FW readyYuanyuan Liu2018-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FW ready indication doesn't mean it is safe to access HW register. FW ready only means that WLAN FW is initialized. The HW register is safe to access only after FW ack the wlan enable mode request. Hence removing uevent in FW ready indication handler. WLAN driver will responsible for setting FW ready state once wlan enable mode request is return success. CRs-Fixed: 2168628 Change-Id: I769d848efb9dd427da0d71494090fcbf9514cfb2 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | soc: qcom: hab: change the unregistration to be dummyYong Ding2018-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAB service should be kept available as long as possible since it is very fundamental. It can possibly be used in the GVM(Guest Virtual Machine) shutdown procedure to talk with the hypervisor. And the unregistration function will only be left to give a log message. Change-Id: I0cbc153a68a0fb496d14fc49db6cfee211a01722 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | Merge "soc: qcom: hab: check the buffer's pointer before exporting it"Linux Build Service Account2018-07-16
|\ \ \
| * | | soc: qcom: hab: check the buffer's pointer before exporting itYong Ding2018-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the buffer's pointer is NULL, -EINVAL will be returned for its export. Change-Id: I3fc949c6152974db360dc55d3dfdb0cb24150473 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | soc: qcom: hab: resolve NULL pointer dereference issuesYong Ding2018-07-12
|/ / / | | | | | | | | | | | | | | | | | | Some NULL pointer dereference issues are fixed. Change-Id: I0f7f8ede860c81d451f2105520750692fd4eee50 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | Merge "soc: qcom: hab: increase the maximum size of message"Linux Build Service Account2018-06-28
|\ \ \
| * | | soc: qcom: hab: increase the maximum size of messageYong Ding2018-06-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the supported maximum size of message sent over hab was 4K bytes. Now, it is increased to 0xFFFF bytes. Change-Id: I3b539e42df2f5c5d3be4bbac7084adeb198c9a0b Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | Merge "soc: qcom: smem: Add secure device check for smem dump"Linux Build Service Account2018-06-28
|\ \ \ \
| * | | | soc: qcom: smem: Add secure device check for smem dumpArun Kumar Neelakantam2018-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In peripheral SSR case SMEM dump is collected and stored which is not expected on secude devices. Add a check and avoid dumping SMEM on secure device. CRs-Fixed: 2264360 Change-Id: I2895aeb86d97b45dcb3ea293aa79a06174b8ac0b Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
* | | | | soc: qcom: hab: resolve some compilation issuesYong Ding2018-06-28
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | hab_qvm.h and its relevant stuffs are only available when CONFIG_MSM_GVM_QUIN is enabled. Change-Id: I7975f65f0f5bc627b7547c05245a37d4e6500c81 Signed-off-by: Yong Ding <yongding@codeaurora.org>
* | | | Merge "msm: watchdog: Add hibernation support"Linux Build Service Account2018-06-23
|\ \ \ \
| * | | | 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
|\ \ \ \ | |/ / / |/| | |