Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758555AbYAYKPi (ORCPT ); Fri, 25 Jan 2008 05:15:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753470AbYAYKPa (ORCPT ); Fri, 25 Jan 2008 05:15:30 -0500 Received: from vs166246.vserver.de ([62.75.166.246]:34396 "EHLO vs166246.vserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726AbYAYKP3 (ORCPT ); Fri, 25 Jan 2008 05:15:29 -0500 From: Michael Buesch To: Pavel Machek Subject: Re: [PATCH -mm 5/5] b43: Avoid unregistering device objects during suspend Date: Fri, 25 Jan 2008 11:13:30 +0100 User-Agent: KMail/1.9.6 Cc: "Rafael J. Wysocki" , Andrew Morton , pm list , Alan Stern , Len Brown , LKML , bcm43xx-dev@lists.berlios.de, Alessandro Rubini , Richard Purdie References: <200801250127.21966.rjw@sisk.pl> <200801250137.34275.rjw@sisk.pl> <20080125074746.GC4134@ucw.cz> In-Reply-To: <20080125074746.GC4134@ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801251113.31325.mb@bu3sch.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1036 Lines: 27 On Friday 25 January 2008 08:47:46 Pavel Machek wrote: > On Fri 2008-01-25 01:37:33, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Modify the b43 driver to avoid deadlocking suspend and resume, > > which happens as a result of attempting to unregister device objects > > locked by the PM core during suspend/resume cycles. Also, make it > > use a suspend-safe method of unregistering device object in the > > resume error path. > > > > Signed-off-by: Rafael J. Wysocki > > Acked-by: Michael Buesch > > Maybe we should have global suspend_in_progress (or maybe system_state > == suspending?) and automatically switch to schedule_removal() while > it is set? > That would be great, from my perspective :) -- Greetings Michael. -- 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/