[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zh5BXAuLKM1uUOyD@bogus>
Date: Tue, 16 Apr 2024 10:14:04 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: "Peng Fan (OSS)" <peng.fan@....nxp.com>
Cc: cristian.marussi@....com, linux-arm-kernel@...ts.infradead.org,
Sudeep Holla <sudeep.holla@....com>, linux-kernel@...r.kernel.org,
Peng Fan <peng.fan@....com>
Subject: Re: [PATCH] firmware: arm_scmi: power_control: support suspend
command
On Mon, Apr 15, 2024 at 06:11:41PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@....com>
>
> Support System suspend notification. Using a work struct to call
> pm_suspend. There is no way to pass suspend level to pm_suspend,
> so use MEM as of now.
>
While the change itself is simple and no-controversial, I am bit worried
about:
1. The choice of S2R(MEM) by default - not sure if different system
prefer different things. The userspace can configure whatever default
behaviour expected as S2R IIUC, so should be OK. I need to check though.
2. The userspace needs to keep the wakeup source enabled always which
I need to check if it is feasible on all the platforms. If wakeups
are not configured properly and suspend is triggered, the system can
never resume back.
We may need to mention above points at-least as part of commit log. I
would wait for some feedback from SCMI users.
--
Regards,
Sudeep
Powered by blists - more mailing lists