Skip to contentSkip to conversation

soc: ti: Drop wait from wkup_m3_rproc_boot_thread

PATCH Superseded Sarangdhar Joshi 4 participants 5 messages Jan 3, 2017 – Jan 5, 2017

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 soc: ti: Drop wait from wkup_m3_rproc_boot_thread

The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to parse the resource table before calling rproc_boot(). However, as the resource table parsing has been moved to rproc_boot(), there's no need to wait for the asynchronous firmware loading completion. So, drop this.

CC Dave Gerlach <[email protected]>
CC Suman Anna <[email protected]>
CC Bjorn Andersson <[email protected]>

---

This patch seems to be doing an independent clean up now. Hence removing it from the series.

 drivers/soc/ti/wkup_m3_ipc.c | 2 --
 1 file changed, 2 deletions(-)
drivers/soc/ti/wkup_m3_ipc.c +0 -2
index 8823cc8..8bfa44b 100644
@@ -370,8 +370,6 @@ static void wkup_m3_rproc_boot_thread(struct wkup_m3_ipc *m3_ipc)
 	struct device *dev = m3_ipc->dev;
 	int ret;
 
-	wait_for_completion(&m3_ipc->rproc->firmware_loading_complete);
-
 	init_completion(&m3_ipc->sync_complete);
 
 	ret = rproc_boot(m3_ipc->rproc);
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Tested-by on v2 1/1
#1 lore raw
Quoted 11 lines · Sarangdhar Joshi

The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to parse the resource table before calling rproc_boot(). However, as the resource table parsing has been moved to rproc_boot(), there's no need to wait for the asynchronous firmware loading completion. So, drop this.

CC Dave Gerlach <[email protected]>
CC Suman Anna <[email protected]>
CC Bjorn Andersson <[email protected]>

+ Tony and Santosh, not sure who is picking up the wkup_m3 related patches.

Only one minor nit, I would prefer the patch subject to start with
soc: ti: wkup_m3_ipc: ....

regards
Suman

Quoted 22 lines

---

This patch seems to be doing an independent clean up now. Hence removing it from the series.

 drivers/soc/ti/wkup_m3_ipc.c | 2 --
 1 file changed, 2 deletions(-)
drivers/soc/ti/wkup_m3_ipc.c +0 -2
index 8823cc8..8bfa44b 100644
@@ -370,8 +370,6 @@ static void wkup_m3_rproc_boot_thread(struct wkup_m3_ipc *m3_ipc)
 	struct device *dev = m3_ipc->dev;
 	int ret;
 
-	wait_for_completion(&m3_ipc->rproc->firmware_loading_complete);
-
 	init_completion(&m3_ipc->sync_complete);
 
 	ret = rproc_boot(m3_ipc->rproc);
#2 lore raw
Quoted 8 lines · Suman Anna
Quoted 7 lines · Sarangdhar Joshi

The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to parse the resource table before calling rproc_boot(). However, as the resource table parsing has been moved to rproc_boot(), there's no need to wait for the asynchronous firmware loading completion. So, drop this.

Quoted 7 lines
Quoted 4 lines
CC Dave Gerlach <[email protected]>
CC Suman Anna <[email protected]>
CC Bjorn Andersson <[email protected]>

+ Tony and Santosh, not sure who is picking up the wkup_m3 related patches.

I think Tony has queued patches for wakeup_m3 before.

Regards,
Snatosh

#3 lore raw
Quoted 11 lines · Santosh Shilimkar
Quoted 8 lines · Suman Anna
Quoted 7 lines · Sarangdhar Joshi

The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to parse the resource table before calling rproc_boot(). However, as the resource table parsing has been moved to rproc_boot(), there's no need to wait for the asynchronous firmware loading completion. So, drop this.

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
CC Dave Gerlach <[email protected]>
CC Suman Anna <[email protected]>
CC Bjorn Andersson <[email protected]>

+ Tony and Santosh, not sure who is picking up the wkup_m3 related patches.

I think Tony has queued patches for wakeup_m3 before.

Sure I can queue it.

Thanks,

Tony

#4 lore raw
In reply to Suman Anna
Quoted 13 lines · Suman Anna
Quoted 11 lines · Sarangdhar Joshi

The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to parse the resource table before calling rproc_boot(). However, as the resource table parsing has been moved to rproc_boot(), there's no need to wait for the asynchronous firmware loading completion. So, drop this.

CC Dave Gerlach <[email protected]>
CC Suman Anna <[email protected]>
CC Bjorn Andersson <[email protected]>
Quoted 4 lines

+ Tony and Santosh, not sure who is picking up the wkup_m3 related patches.

Only one minor nit, I would prefer the patch subject to start with
soc: ti: wkup_m3_ipc: ....

Sure, will update the subject line.

Regards,
Sarang

Quoted 34 lines

regards
Suman

Quoted 14 lines

---

This patch seems to be doing an independent clean up now. Hence removing it from the series.

 drivers/soc/ti/wkup_m3_ipc.c | 2 --
 1 file changed, 2 deletions(-)
drivers/soc/ti/wkup_m3_ipc.c +0 -0
index 8823cc8..8bfa44b 100644

drivers/soc/ti/wkup_m3_ipc.c static void wkup_m3_rproc_boot_thread(struct wkup_m3_ipc *m3_ipc) · line 375

Quoted 8 lines
drivers/soc/ti/wkup_m3_ipc.c +0 -2
@@ -370,8 +370,6 @@ static void wkup_m3_rproc_boot_thread(struct wkup_m3_ipc *m3_ipc)
 	struct device *dev = m3_ipc->dev;
 	int ret;
 
-	wait_for_completion(&m3_ipc->rproc->firmware_loading_complete);
-
 	init_completion(&m3_ipc->sync_complete);
 
 	ret = rproc_boot(m3_ipc->rproc);

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project