Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756113AbYCYOYs (ORCPT ); Tue, 25 Mar 2008 10:24:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754661AbYCYOYi (ORCPT ); Tue, 25 Mar 2008 10:24:38 -0400 Received: from smtp-out003.kontent.com ([81.88.40.217]:44490 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754179AbYCYOYi convert rfc822-to-8bit (ORCPT ); Tue, 25 Mar 2008 10:24:38 -0400 From: Oliver Neukum Organization: Novell To: Alan Stern Subject: Re: [linux-pm] [RFC][PATCH] PM: Introduce new top level =?iso-8859-1?q?suspend=09and_hibernation_callbacks?= (rev. 2) Date: Tue, 25 Mar 2008 15:24:33 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: "Rafael J. Wysocki" , ACPI Devel Maling List , linux-pm@lists.linux-foundation.org, Alexey Starikovskiy , Johannes Berg , LKML References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200803251524.34147.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 26 Am Dienstag, 25. M?rz 2008 15:19:45 schrieb Alan Stern: > On Tue, 25 Mar 2008, Oliver Neukum wrote: > > > Am Dienstag, 25. März 2008 14:06:15 schrieb Rafael J. Wysocki: > > > On Tuesday, 25 of March 2008, Oliver Neukum wrote: > > > > > > A device that cannot wake up is unusable. Shouldn't the pm core disconnect() > > > > such a device? > > It's not safe for the PM core to do such things unilaterally. ?The > decision to unregister a device should be made by the driver or the > subsystem. Why? You can trigger it from user space via sysfs and in many cases suspending to disk will disconnect all devices on a bus, so I'd say a failure to resume is just a limited subcase of a device vanishing during sleep. 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/