kernel_samsung_a53x/drivers/mailbox
Daisuke Mizobuchi cbce68b5d2 mailbox: imx: fix suspend failue
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 commit 892cb524ae8a is correct, so this seems to be a
mistake during cherry-pick.

Cc: <stable@vger.kernel.org>
Fixes: a16f5ae8ade1 ("mailbox: imx: fix wakeup failure from freeze mode")
Signed-off-by: Daisuke Mizobuchi <mizo@atmark-techno.com>
Reviewed-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 11:32:20 +01:00
..
arm_mhu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
arm_mhu_db.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
armada-37xx-rwtm-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-flexrm-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-pdc-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm2835-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hi3660-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hi6220-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-mailbox.c mailbox: imx: fix suspend failue 2024-11-19 11:32:20 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mailbox-altera.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mailbox-sti.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mailbox-test.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mailbox-xgene-slimpro.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mailbox.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk-cmdq-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pl320-ipc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
platform_mhu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom-apcs-ipc-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom-ipcc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sprd-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stm32-ipcc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun6i-msgbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tegra-hsp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti-msgmgr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
zynqmp-ipi-mailbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00