Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759840AbaD3XFN (ORCPT ); Wed, 30 Apr 2014 19:05:13 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:53279 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1759829AbaD3XFL (ORCPT ); Wed, 30 Apr 2014 19:05:11 -0400 From: "Rafael J. Wysocki" To: Pavel Machek Cc: Sebastian Capella , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org, Len Brown , Russell King , One Thousand Gnomes Subject: Re: [PATCH v2] PM / Hibernate: no kernel_power_off when pm_power_off NULL Date: Thu, 01 May 2014 01:21:41 +0200 Message-ID: <1465868.JN1PNL3ufB@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.14.0-rc7+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20140422070955.GA14108@amd.pavel.ucw.cz> References: <1398126646-29518-1-git-send-email-sebastian.capella@linaro.org> <20140422070955.GA14108@amd.pavel.ucw.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > Reported-by: Ezequiel Garcia > > Cc: Len Brown > > Reviewed-by: Pavel Machek 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/