From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754172AbZHMVxO (ORCPT ); Thu, 13 Aug 2009 17:53:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753715AbZHMVxN (ORCPT ); Thu, 13 Aug 2009 17:53:13 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:36591 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753412AbZHMVxN (ORCPT ); Thu, 13 Aug 2009 17:53:13 -0400 From: "Rafael J. Wysocki" To: Alan Stern Subject: Re: [RFC][PATCH 0/3] PM: Asynchronous suspend and resume Date: Thu, 13 Aug 2009 23:53:54 +0200 User-Agent: KMail/1.12.0 (Linux/2.6.31-rc5-rjw; KDE/4.3.0; x86_64; ; ) Cc: "linux-pm" , "linux-acpi" , Linux Kernel Mailing List , Zhang Rui , Len Brown , Arjan van de Ven References: <200908122343.20554.rjw@sisk.pl> In-Reply-To: <200908122343.20554.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200908132353.54902.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 12 August 2009, Rafael J. Wysocki wrote: > On Wednesday 12 August 2009, Alan Stern wrote: > > On Wed, 12 Aug 2009, Rafael J. Wysocki wrote: > > > > > Hi, > > > > > > The following patches introduce a mechanism allowing us to execute device > > > drivers' suspend and resume callbacks asynchronously during system sleep > > > transitions, such as suspend to RAM. The idea is explained in the [1/1] patch > > > message. > > > > > > Comments welcome. > > > > I get the idea. Not bad. > > Thanks! > > > Have you tried it in a serious way? For example, turning on the > > async_suspend flag for every device? > > No, I've only tested it with a few selected drivers. I'm going to try the > "async everyone" scenario, though. On HP nx6325 booted with init=/bin/bash it doesn't pass the 'echo devices > /sys/power/pm_test && echo mem > /sys/power/state' test. The suspend part actually seems to work, but the resume part crashes miserably. Thanks, Rafael