[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251030085912.GA19297@francesco-nb>
Date: Thu, 30 Oct 2025 09:59:12 +0100
From: Francesco Dolcini <francesco@...cini.it>
To: Andrew Davis <afd@...com>
Cc: Beleswar Prasad Padhi <b-padhi@...com>, Hari Nagalla <hnagalla@...com>,
	jassisinghbrar@...il.com, linux-kernel@...r.kernel.org,
	hiagofranco@...il.com, u-kumar1@...com
Subject: Re: [RFC PATCH] mailbox: omap-mailbox: Flush out pending msgs before
 entering suspend
On Fri, Oct 24, 2025 at 09:08:09AM -0500, Andrew Davis wrote:
> On 10/23/25 11:48 PM, Beleswar Prasad Padhi wrote:
> > Hi Hari,
> > 
> > On 23/10/25 22:48, Hari Nagalla wrote:
> > > On 10/22/25 23:38, Beleswar Prasad Padhi wrote:
> > Hmm, this was how it was until 2016 when commit
> > 9f0cee984a25 ("mailbox/omap: check for any unread
> > messages during suspend") was added. Do you
> > suggest reverting 9f0cee984a25? Hope it doesn't
> > break any existing usecases for OMAP platforms.
> 
> Checking for unread messages during suspend is still correct,
> what we then do when we find them is the open question. We can:
> 
>  * Not suspend (current situation)
>  * Suspend anyway, deleting them but with a warning
I would propose that we improve the current patch and just add a
dev_warn when there are unread messages.
Andrew?
>  * Save and restore them
As of now our platforms (Toradex) are broken because of the changes in
this series https://lore.kernel.org/all/20250908142826.1828676-1-b-padhi@ti.com/
(now in mainline), and I would love to get it fixed sooner than later.
Francesco
Powered by blists - more mailing lists
 
