Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750986AbZLIQq5 (ORCPT ); Wed, 9 Dec 2009 11:46:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750803AbZLIQq4 (ORCPT ); Wed, 9 Dec 2009 11:46:56 -0500 Received: from cassiel.sirena.org.uk ([80.68.93.111]:58021 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733AbZLIQqz (ORCPT ); Wed, 9 Dec 2009 11:46:55 -0500 Date: Wed, 9 Dec 2009 16:46:54 +0000 From: Mark Brown To: Alan Stern Cc: Linus Torvalds , "Rafael J. Wysocki" , Zhang Rui , LKML , ACPI Devel Maling List , pm list Subject: Re: Async resume patch (was: Re: [GIT PULL] PM updates for 2.6.33) Message-ID: <20091209164653.GI9018@sirena.org.uk> References: <20091209160256.GA3229@rakim.wolfsonmicro.main> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Cookie: Include me out. User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Scanned: No (on cassiel.sirena.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1561 Lines: 31 On Wed, Dec 09, 2009 at 11:23:00AM -0500, Alan Stern wrote: > On Wed, 9 Dec 2009, Mark Brown wrote: > > I'm not convinced that helps with the fact that the suspend may take a > > long time - ideally we'd be able to start the suspend process off but > > let other things carry on while it completes without having to worry > > about something we're relying on getting suspended underneath us. > The suspend procedure is oriented around device structures, and what > you're talking about isn't. It's something separate which has to be > finished before _any_ of the audio devices are suspended. In this context the "subsystem" actually has a struct device associated with it so does appear in the device flow. > How long does it take to bring down the entire embedded audio > subsystem? And how critical is the timing for typical systems? Worst case is about a second for both resume and suspend which means two seconds total but it's very hardware dependant. The latency budget for suspend and resume are both zero in an ideal world, users want to be able to suspend as much as possible which means they'd like it to take no perceptible time at the human level. Some hardware is at the point where that's getting realistic but the folks on older hardware still want to get as close to that as they can. -- 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/