From patchwork Mon May 13 12:00:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 2558261 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 1A82CDF2E5 for ; Mon, 13 May 2013 12:00:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751418Ab3EMMAI (ORCPT ); Mon, 13 May 2013 08:00:08 -0400 Received: from mail.skyhub.de ([78.46.96.112]:56441 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251Ab3EMMAH (ORCPT ); Mon, 13 May 2013 08:00:07 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1368446405; bh=xYjLPMJkptyzrNJWBeWpK1TMZCSbdfYyV+DSxfVJQJQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding; b=AY6wtjpr0sJ D1xl+qqNUdnAtCl8QAda/psCb/D0NdfdxQrIxQrSCtUiNzdaojiSlVQiTagM+QoSBja KhEuFmG1oyCLVZmSUNSrgQ3a0SkTubi2bfPMtGC+xpqrkLEp0IiDtCyaL9++szvcGHG pSpKyVL32WTGOkKQUJypo2aTMg= Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Zh8Qor1R0HaB; Mon, 13 May 2013 14:00:05 +0200 (CEST) Received: from liondog.tnic (p54B47DC4.dip0.t-ipconnect.de [84.180.125.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id F41DE1DA15C; Mon, 13 May 2013 14:00:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1368446405; bh=xYjLPMJkptyzrNJWBeWpK1TMZCSbdfYyV+DSxfVJQJQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding; b=AY6wtjpr0sJ D1xl+qqNUdnAtCl8QAda/psCb/D0NdfdxQrIxQrSCtUiNzdaojiSlVQiTagM+QoSBja KhEuFmG1oyCLVZmSUNSrgQ3a0SkTubi2bfPMtGC+xpqrkLEp0IiDtCyaL9++szvcGHG pSpKyVL32WTGOkKQUJypo2aTMg= Received: by liondog.tnic (Postfix, from userid 1000) id 8ED5C1004F1; Mon, 13 May 2013 14:00:04 +0200 (CEST) From: Borislav Petkov To: "Rafael J. Wysocki" Cc: linux-pm@vger.kernel.org, paulmck@linux.vnet.ibm.com, LKML , Borislav Petkov , =?UTF-8?q?Bj=C3=B8rn=20Mork?= Subject: [PATCH] hibernate: Correct documentation Date: Mon, 13 May 2013 14:00:03 +0200 Message-Id: <1368446403-4896-1-git-send-email-bp@alien8.de> X-Mailer: git-send-email 1.8.3.rc0 In-Reply-To: <136862945.66DBfZPmr6@vostro.rjw.lan> References: <136862945.66DBfZPmr6@vostro.rjw.lan> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Borislav Petkov Correct the meaning of PM_HIBERNATION_PREPARE in the docs, as per Rafael. Cc: "Rafael J. Wysocki" Cc: Bjørn Mork Link: http://lkml.kernel.org/r/20130512162717.GA6305@pd.tnic Signed-off-by: Borislav Petkov --- Documentation/power/notifiers.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/power/notifiers.txt b/Documentation/power/notifiers.txt index c2a4a346c0d9..a81fa254303d 100644 --- a/Documentation/power/notifiers.txt +++ b/Documentation/power/notifiers.txt @@ -15,8 +15,10 @@ A suspend/hibernation notifier may be used for this purpose. The subsystems or drivers having such needs can register suspend notifiers that will be called upon the following events by the PM core: -PM_HIBERNATION_PREPARE The system is going to hibernate or suspend, tasks will - be frozen immediately. +PM_HIBERNATION_PREPARE The system is going to hibernate, tasks will be frozen + immediately. This is different from PM_SUSPEND_PREPARE + below because here we do additional work between notifiers + and drivers freezing. PM_POST_HIBERNATION The system memory state has been restored from a hibernation image or an error occurred during