soc: qcom: Force sequential boot for MSA modem

MSA boot of modem failed sporadically with parallel PIL loading
of blobs. Fix this by forcing msa based modem to perform sequential
loading of modem blobs.

Change-Id: Ie473a51ccb9aaae5484c811c6b9c6a35144c7fa2
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
This commit is contained in:
Sibi Sankar 2019-09-11 16:41:35 +05:30 committed by Gerrit - the friendly Code Review server
parent 4a976aa230
commit 7d9369c8aa
3 changed files with 4 additions and 1 deletions

View File

@ -1305,7 +1305,7 @@ int pil_boot(struct pil_desc *desc)
* Fallback to serial loading of blobs if the
* workqueue creatation failed during module init.
*/
if (pil_wq) {
if (pil_wq && !(desc->sequential_loading)) {
ret = pil_load_segs(desc);
if (ret)
goto err_deinit_image;

View File

@ -63,6 +63,7 @@ struct pil_desc {
bool shutdown_fail;
bool modem_ssr;
bool clear_fw_region;
bool sequential_loading;
u32 subsys_vmid;
bool signal_aop;
struct mbox_client cl;

View File

@ -323,6 +323,8 @@ static int pil_mss_loadable_init(struct modem_data *drv,
q6_desc->ops = &pil_msa_mss_ops;
q6_desc->sequential_loading = of_property_read_bool(pdev->dev.of_node,
"qcom,sequential-fw-load");
q6->reset_clk = of_property_read_bool(pdev->dev.of_node,
"qcom,reset-clk");
q6->self_auth = of_property_read_bool(pdev->dev.of_node,