[imx8qm] Request help for suspend abort issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

[imx8qm] Request help for suspend abort issue

1,173 次查看
yuchao_du
Contributor II

hello nxp,

now we develop on imx8qm board with linux 5.10, we met a suspend abort issue and after revert below patch, this issue gone, could you help?

https://source.codeaurora.org/external/imx/linux-imx/commit/drivers/mailbox/imx-mailbox.c?id=2385741...

yuchao_du_0-1660284359925.png

 

Thanks

yuchao

标记 (1)
0 项奖励
回复
7 回复数

1,110 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @yuchao_du,

Could you please try the latest Linux BSP version 5.15?

 

Best Regards,
Dhruvit.

0 项奖励
回复

1,143 次查看
yuchao_du
Contributor II

hello,

Is there a new status?

0 项奖励
回复

1,165 次查看
yuchao_du
Contributor II

I doubt I miss something else, so I met this issue.

Base on this patch, in futher, if we plan to use IPC as wakeup source, so this patch should be in our main branch, this issue will be a real issue.

So what I want is fix this issue base on this patch, not just revert it.

0 项奖励
回复

1,166 次查看
yuchao_du
Contributor II

I doubt maybe I miss something else, so that I met this issue.

base on this patch, in futher, if we plan to use IPC as wakeup source, so this patch will in our main branch, this issue will be a real issue.

So I want to base on this patch to fix, not just revert.

0 项奖励
回复

1,171 次查看
yuchao_du
Contributor II

hello nxp,

I think this suspend abort issue because this case, could you help for fix this issue base on this patch?

scu driver register mu channel

       -> imx_mu_startup

                 ->set IRQF_NO_SUSPEND for wakeup source

 

Linux suspend

      -> imx_mu_suspend_noirq

                  ->set priv->suspend = true

----->this time, scu mu irq enter

      -> imx_mu_isr

                  ->judge priv->suspend == true

                               ->pm_system_wakeup abort suspend, wakeup linux

 

0 项奖励
回复

1,169 次查看
joanxie
NXP TechSupport
NXP TechSupport

you already found the patch and fixed your issue, so what do you need now?

0 项奖励
回复

1,153 次查看
yuchao_du
Contributor II

I doubt maybe I miss something else, so that I met this issue.

base on this patch, in futher, if we plan to use IPC as wakeup source, so this patch will in our main branch, this issue will be a real issue.

So I want to base on this patch to fix, not just revert.

0 项奖励
回复