From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: [RFC] sleepy linux Date: Wed, 26 Dec 2007 18:28:04 +0100 Message-ID: <200712261828.04671.oliver@neukum.org> References: <20071225230731.GA29030@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20071225230731.GA29030@elf.ucw.cz> Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org To: Pavel Machek Cc: kernel list , Linux-pm mailing list , "Rafael J. Wysocki" List-Id: linux-pm@vger.kernel.org Am Mittwoch, 26. Dezember 2007 00:07:31 schrieb Pavel Machek: > Heute 00:07:31 > =A0 > This is RFC. It does not even work for me... it sleeps but it will no= t > wake up, because SATA wakeup code is missing. Code attached for illus= tration. >=20 > I wonder if this is the right approach? What is right interface to th= e > drivers? IMHO you are making to many special cases. The system can be "sleepy" if all devices can be runtime suspended and all CPUs are idle. Regards Oliver -- 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/ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752091AbXLZR1r (ORCPT ); Wed, 26 Dec 2007 12:27:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751377AbXLZR1j (ORCPT ); Wed, 26 Dec 2007 12:27:39 -0500 Received: from smtp-out001.kontent.com ([81.88.40.215]:33927 "EHLO smtp-out001.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751376AbXLZR1i convert rfc822-to-8bit (ORCPT ); Wed, 26 Dec 2007 12:27:38 -0500 From: Oliver Neukum Organization: Novell To: Pavel Machek Subject: Re: [RFC] sleepy linux Date: Wed, 26 Dec 2007 18:28:04 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: kernel list , Linux-pm mailing list , "Rafael J. Wysocki" References: <20071225230731.GA29030@elf.ucw.cz> In-Reply-To: <20071225230731.GA29030@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200712261828.04671.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 26. Dezember 2007 00:07:31 schrieb Pavel Machek: > Heute 00:07:31 >   > This is RFC. It does not even work for me... it sleeps but it will not > wake up, because SATA wakeup code is missing. Code attached for illustration. > > I wonder if this is the right approach? What is right interface to the > drivers? IMHO you are making to many special cases. The system can be "sleepy" if all devices can be runtime suspended and all CPUs are idle. Regards Oliver