summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom/peripheral-loader.h (follow)
Commit message (Collapse)AuthorAge
* soc: qcom: Reorganize PIL code for reclaiming MSS mem during SSRAvaneesh Kumar Dwivedi2019-10-17
| | | | | | | | | | | | This change ask hypervisor to remove memory mapping for MSS from IOMMU second stage table and assign the ownership back to HLOS just after MBA is booted. Presently this is being done only after MBA is booted and MDT is authenticated. Change-Id: I724c1bcc664827e666612dd34cd078f3f044498a Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* soc: qcom: Create additional ramdump device node for SSR minidumpAvaneesh Kumar Dwivedi2017-09-20
| | | | | | | | This change add a new ramdump device node which is only used to collect SSR minidump by ramdump process. Change-Id: I3af5c15798d3c74896a499c8db30e5733743f106 Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* soc: qcom: Add SSR minidump provision for subsystem ramdumpAvaneesh Kumar Dwivedi2017-08-29
| | | | | | | | | | | | Minidump is concise and bare minimum dump to enable technology teams to debug most of subsystem issues. This change adds required driver code changes to provide support of subsystem minidump. Increase PIL timeout to give MBA more time for encryption and decryption for modem segments. Change-Id: I1d04a9306ce507bc610777bc476197f26c1e18ac Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* soc: qcom: pil: Use subsys_set_error to indicate firmware errorsMeghana Ashok2017-05-23
| | | | | | | | | | | | Use subsys_set_error() to indicate invalid firmware image that prevented subsystem from coming up. Userspace helper applications will find this useful to take suitable recovery action. Change-Id: Ie03e4f2652692f30d32bbe80b39fb49ba95ea728 Signed-off-by: Meghana Ashok <meghanaa@codeaurora.org> [fixed minor conflicts] Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
* soc: qcom: Skip clearing modem FW region post load failureAvaneesh Kumar Dwivedi2017-03-20
| | | | | | | | | | In existing implementation, we are clearing fw region when loading fails midway. This is not in consonance with MBA design so differentiate between modem and other PIL modules. While at it, rectify the data type of subsys_state in qmi_client_info as well. Change-Id: I985456fca42346947eac24df5bf66599dcbf4c53 Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
* soc: qcom: pil: Add flag to know if modem SSR happened.Puja Gupta2016-08-04
| | | | | | | | | | | | Introduce a flag to know if modem is restarting from cold boot or from SSR. Use this flag to decide if modem memory needs to be assigned back to linux. After cold boot linux already owns modem memory and trying to assign it back from modem is incorrect. CRs-Fixed: 1050153 Change-Id: I1c1ef35ea7ef6c2552a22b85c5af260ade413777 Signed-off-by: Puja Gupta <pujag@codeaurora.org>
* soc: qcom: pil: timeouts to be disabled from pil-imemPuja Gupta2016-05-19
| | | | | | | | | Allow modem mba, modem pbl and err_ready timeouts to be disabled by writing to starting of pil_imem region. CRs-Fixed: 1015492 Change-Id: I786d8edcd89e3624ef05ffc9a6953a8f840bbac0 Signed-off-by: Puja Gupta <pujag@codeaurora.org>
* soc: qcom: add snapshot of PIL, SSR and SYSMON drivers/librariesDavid Keitel2016-03-22
This is a snapshot of PIL, SSR and SYSMON drivers and libraries as of msm-3.18 commit 5cef33a285e91869cebe40a25e6294ae1e5fc9cc (Merge "ASoC: msm: Update the AFE clock API support") Change-Id: Ibebddee32b15fbcb5b18cceac43769d3309e609c Signed-off-by: David Keitel <dkeitel@codeaurora.org>