public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman)
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: Linus Torvalds <torvalds-3NddpPZAyC0@public.gmane.org>,
	len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	Pierre Ossman
	<drzeus-list-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	ncunningham-3EexvZdKGZRWk0Htik3J/w@public.gmane.org,
	Masoud Sharbiani
	<masouds-VSK0CvVmMoVQFI55V6+gNQ@public.gmane.org>,
	Linux Kernel Mailing List
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Date: Tue, 20 Sep 2005 20:08:07 -0600	[thread overview]
Message-ID: <m1vf0vfa0o.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <20050920210617.GA1779-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> (Pavel Machek's message of "Tue, 20 Sep 2005 23:06:17 +0200")

Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org> writes:

> Hi!
>
>> In the lead up to 2.6.13 I fixed a large number of reboot
>> problems by making the calling conventions consistent.  Despite
>> checking and double checking my work it appears I missed an
>> obvious one.
>> 
>> The S4 suspend code for PM_DISK_PLATFORM was also calling
>> device_shutdown without setting system_state, and was
>> not calling the appropriate reboot_notifier.
>
> ACK on both. But should not you submit patch via -mm, so it gets at
> least some testing there?

The code is obviously correct, and the people with the problem
have reported that this approach solves it.

If this bit of functionality is to even work we need to do
something like this.

So I don't see what benefit putting this in -mm would give.  If
I was aggressive I would say that this needs to be in 2.6.13.N.
If I'm not following some procedure I don't have a problem
changing though.

This is the final fix I know of to get a consistent set of semantics
for the everything in the ``reboot path''.

>From a practical standpoint I am very tardy in getting this out.

Eric


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

  parent reply	other threads:[~2005-09-21  2:08 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <F7DC2337C7631D4386A2DF6E8FB22B30047B8DAF@hdsmsx401.amr.corp.intel.com>
2005-09-10 21:07 ` reboot vs poweroff Eric W. Biederman
     [not found]   ` <m1d5ngk4xa.fsf-T1Yj925okcoyDheHMi7gv2pdwda3JcWeAL8bYrjMMd8@public.gmane.org>
2005-09-11  8:43     ` Meelis Roos
     [not found]       ` <Pine.SOC.4.61.0509111140550.9218-ptEonEWSGqKptlylMvRsHA@public.gmane.org>
2005-09-11  8:53         ` Eric W. Biederman
2005-09-20 17:42       ` [PATCH 1/2] reboot: Comment and factor the main reboot functions Eric W. Biederman
     [not found]         ` <m14q8fhc02.fsf_-_-T1Yj925okcoyDheHMi7gv2pdwda3JcWeAL8bYrjMMd8@public.gmane.org>
2005-09-20 17:49           ` [PATCH 2/2] suspend: Cleanup calling of power off methods Eric W. Biederman
2005-09-20 21:06             ` Pavel Machek
     [not found]               ` <20050920210617.GA1779-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-09-21  2:08                 ` Eric W. Biederman [this message]
2005-09-21 10:18                   ` Pavel Machek
2005-09-21 13:50                     ` Eric W. Biederman
     [not found]                     ` <20050921101855.GD25297-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2005-09-21 16:35                       ` Linus Torvalds
2005-09-21 17:28                         ` Eric W. Biederman
     [not found]                           ` <m1slvycotk.fsf-T1Yj925okcoyDheHMi7gv2pdwda3JcWeAL8bYrjMMd8@public.gmane.org>
2005-09-21 18:02                             ` Andrew Morton
2005-09-21 17:36                         ` Alexander Nyberg
2005-09-21 18:15                           ` Andrew Morton
     [not found]                             ` <20050921111523.4b007281.akpm-3NddpPZAyC0@public.gmane.org>
2005-09-21 19:45                               ` Hugh Dickins
2005-09-21 18:35                           ` Diego Calleja
     [not found]                             ` <20050921203505.32cc714d.diegocg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2005-09-21 18:49                               ` Andrew Morton
2005-09-21 19:54                                 ` Martin J. Bligh
2005-09-26 12:09                                   ` Diego Calleja
     [not found]                                     ` <20050926140900.d070b604.diegocg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2005-09-26 13:47                                       ` Martin J. Bligh
2005-09-21 20:16                                 ` Diego Calleja
2005-09-21 19:43                           ` Russell King
     [not found]                             ` <20050921194306.GC13246-f404yB8NqCZvn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2005-09-21 20:10                               ` Andrew Morton
2005-09-22  7:15                               ` Pierre Ossman
2005-09-22  8:10                                 ` [ACPI] " Rafael J. Wysocki
     [not found]                                 ` <43325A02.90208-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
2005-09-22  9:30                                   ` Eric W. Biederman
     [not found]                                     ` <m14q8dcuvm.fsf-T1Yj925okcoyDheHMi7gv2pdwda3JcWeAL8bYrjMMd8@public.gmane.org>
2005-09-22  9:38                                       ` Russell King
2005-09-22 10:54                                     ` Pierre Ossman
     [not found]                         ` <Pine.LNX.4.58.0509210930410.2553-hNm40g4Ew95AfugRpC6u6w@public.gmane.org>
2005-09-21 17:46                           ` Andrew Morton
     [not found]                             ` <20050921104615.2e8dd7d5.akpm-3NddpPZAyC0@public.gmane.org>
2005-09-21 18:08                               ` Eric W. Biederman
2005-09-21 18:24                                 ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1vf0vfa0o.fsf@ebiederm.dsl.xmission.com \
    --to=ebiederm-as9lmozglivwk0htik3j/w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=drzeus-list-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=masouds-VSK0CvVmMoVQFI55V6+gNQ@public.gmane.org \
    --cc=ncunningham-3EexvZdKGZRWk0Htik3J/w@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.org \
    --cc=torvalds-3NddpPZAyC0@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox