From: Shawn Guo <shawnguo@kernel.org>
To: Anson Huang <Anson.Huang@nxp.com>
Cc: s.hauer@pengutronix.de, linux-kernel@vger.kernel.org,
ben.dooks@codethink.co.uk, Linux-imx@nxp.com,
kernel@pengutronix.de, festevam@gmail.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/2] firmware: imx: make sure MU irq can wake up system from suspend mode
Date: Wed, 17 Jun 2020 21:48:14 +0800 [thread overview]
Message-ID: <20200617134813.GA30139@dragon> (raw)
In-Reply-To: <1587683231-18468-1-git-send-email-Anson.Huang@nxp.com>
On Fri, Apr 24, 2020 at 07:07:10AM +0800, Anson Huang wrote:
> IRQF_NO_SUSPEND flag is set for MU IRQ of IPC work, but with this
> flag set, IRQD_WAKEUP_ARMED flag will NOT be set during
> suspend_device_irq() phase, then when MU IRQ arrives, it will NOT
> wake up system from suspend.
>
> To fix this issue, pm_system_wakeup() is called in general MU IRQ
> handler to make sure system can be waked up when MU IRQ arrives.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
I see you guys haven't got agreement on patch #2, so applied #1 only.
Shawn
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Anson Huang <Anson.Huang@nxp.com>
Cc: s.hauer@pengutronix.de, kernel@pengutronix.de,
festevam@gmail.com, ben.dooks@codethink.co.uk,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Linux-imx@nxp.com
Subject: Re: [PATCH 1/2] firmware: imx: make sure MU irq can wake up system from suspend mode
Date: Wed, 17 Jun 2020 21:48:14 +0800 [thread overview]
Message-ID: <20200617134813.GA30139@dragon> (raw)
In-Reply-To: <1587683231-18468-1-git-send-email-Anson.Huang@nxp.com>
On Fri, Apr 24, 2020 at 07:07:10AM +0800, Anson Huang wrote:
> IRQF_NO_SUSPEND flag is set for MU IRQ of IPC work, but with this
> flag set, IRQD_WAKEUP_ARMED flag will NOT be set during
> suspend_device_irq() phase, then when MU IRQ arrives, it will NOT
> wake up system from suspend.
>
> To fix this issue, pm_system_wakeup() is called in general MU IRQ
> handler to make sure system can be waked up when MU IRQ arrives.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
I see you guys haven't got agreement on patch #2, so applied #1 only.
Shawn
next prev parent reply other threads:[~2020-06-17 13:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-23 23:07 [PATCH 1/2] firmware: imx: make sure MU irq can wake up system from suspend mode Anson Huang
2020-04-23 23:07 ` Anson Huang
2020-04-23 23:07 ` [PATCH 2/2] firmware: imx: MU IRQ group number should be 7 Anson Huang
2020-04-23 23:07 ` Anson Huang
2020-04-24 2:32 ` Aisheng Dong
2020-04-24 2:32 ` Aisheng Dong
2020-04-24 2:36 ` Anson Huang
2020-04-24 2:36 ` Anson Huang
2020-04-24 2:51 ` Aisheng Dong
2020-04-24 2:51 ` Aisheng Dong
2020-04-24 2:53 ` Anson Huang
2020-04-24 2:53 ` Anson Huang
2020-04-24 3:15 ` Aisheng Dong
2020-04-24 3:15 ` Aisheng Dong
2020-04-24 2:38 ` [PATCH 1/2] firmware: imx: make sure MU irq can wake up system from suspend mode Aisheng Dong
2020-04-24 2:38 ` Aisheng Dong
2020-05-28 1:54 ` Anson Huang
2020-05-28 1:54 ` Anson Huang
2020-06-17 13:48 ` Shawn Guo [this message]
2020-06-17 13:48 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200617134813.GA30139@dragon \
--to=shawnguo@kernel.org \
--cc=Anson.Huang@nxp.com \
--cc=Linux-imx@nxp.com \
--cc=ben.dooks@codethink.co.uk \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.