Re: [PATCH 5.10.y 1/1] mailbox: imx: fix suspend failue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 12, 2024 at 02:47:38PM +0900, Dominique MARTINET wrote:
> Added in Cc everyone concerned by the patch as per the broken backport:
> https://lore.kernel.org/stable/20220405070315.416940927@xxxxxxxxxxxxxxxxxxx/
> 
> Daisuke Mizobuchi wrote on Fri, Apr 12, 2024 at 02:21:33PM +0900:
> >Subject: Re: [PATCH 5.10.y 1/1] mailbox: imx: fix suspend failue
> 
> failue -> failure
> 
> >
> > When an interrupt occurs, it always wakes up.
> 
> (nitpick: this isn't really clear: "imx_mu_isr() always calls
> pm_system_wakeup() even when it should not, making the system unable to
> enter sleep" ?)
> 
> > Suspend fails as follows:
> >  armadillo:~# echo mem > /sys/power/state
> >  [ 2614.602432] PM: suspend entry (deep)
> >  [ 2614.610640] Filesystems sync: 0.004 seconds
> >  [ 2614.618016] Freezing user space processes ... (elapsed 0.001 seconds) done.
> >  [ 2614.626555] OOM killer disabled.
> >  [ 2614.629792] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
> >  [ 2614.638456] printk: Suspending console(s) (use no_console_suspend to debug)
> >  [ 2614.649504] PM: Some devices failed to suspend, or early wake event detected
> >  [ 2614.730103] PM: resume devices took 0.080 seconds
> >  [ 2614.741924] OOM killer enabled.
> >  [ 2614.745073] Restarting tasks ... done.
> >  [ 2614.754532] PM: suspend exit
> >  ash: write error: Resource busy
> >  armadillo:~#
> > 
> > Upstream is correct, so it seems to be a mistake in cheery-pick.
> 
> cheery-pick -> cherry-pick
> 
> (This is a trivial lookup away but might as well name upstream's commit
> e.g. "Upstream commit 892cb524ae8a is correct, so this seems to be a
> mistake during cherry-pick")
> 
> > Cc: <stable@xxxxxxxxxxxxxxx>
> > Fixes: a16f5ae8ade1 ("mailbox: imx: fix wakeup failure from freeze mode")
> > Signed-off-by: Daisuke Mizobuchi <mizo@xxxxxxxxxxxxxxxxx>
> 
> These typos aside I've confirmed the resulting code matches' upstream's:
> Reviewed-by: Dominique Martinet <dominique.martinet@xxxxxxxxxxxxxxxxx>
> 
> The backport in 5.15 also seems correct and does not need this, and
> there does not seem to be any older backport either that need fixing, so
> 5.10 is the only branch that requires fixing.

Thanks for the review, now queued up.

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux