Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d9369c8 authored by Sibi Sankar's avatar Sibi Sankar Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarSibi Sankar <sibis@codeaurora.org>
Signed-off-by: default avatarSivasri Kumar Vanka <sivasri@codeaurora.org>
parent 4a976aa2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −0
Original line number Diff line number Diff line
@@ -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;
+2 −0
Original line number Diff line number Diff line
@@ -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,