[imx8qm] Request help for suspend abort issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx8qm] Request help for suspend abort issue

1,167 Views
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

Tags (1)
0 Kudos
Reply
7 Replies

1,104 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @yuchao_du,

Could you please try the latest Linux BSP version 5.15?

 

Best Regards,
Dhruvit.

0 Kudos
Reply

1,137 Views
yuchao_du
Contributor II

hello,

Is there a new status?

0 Kudos
Reply

1,159 Views
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 Kudos
Reply

1,160 Views
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 Kudos
Reply

1,165 Views
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 Kudos
Reply

1,163 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

1,147 Views
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 Kudos
Reply