[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [PATCH v2] PM / Hibernate: no kernel_power_off when pm_power_off NULL
From:       "Rafael J. Wysocki" <rjw () rjwysocki ! net>
Date:       2014-04-30 23:21:41
Message-ID: 1465868.JN1PNL3ufB () vostro ! rjw ! lan
[Download RAW message or body]

On Tuesday, April 22, 2014 09:09:55 AM Pavel Machek wrote:
> On Mon 2014-04-21 17:30:46, Sebastian Capella wrote:
> > Reboot logic in kernel/reboot will avoid calling kernel_power_off
> > when pm_power_off is null, and instead uses kernel_halt.  Change
> > hibernate's power_down to follow the behavior in the reboot call.
> > 
> > Calling the notifier twice (once for SYS_POWER_OFF and again for
> > SYS_HALT) causes a panic during hibernation on Kirkwood
> > Openblocks A6 board.
> > 
> > Signed-off-by: Sebastian Capella <sebastian.capella@linaro.org>
> > Reported-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> > Cc: Len Brown <len.brown@intel.com>
> 
> Reviewed-by: Pavel Machek <pavel@ucw.cz>

Queued up for 3.16, thanks!

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic