Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S274876AbTGaV0M (ORCPT ); Thu, 31 Jul 2003 17:26:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S274877AbTGaV0M (ORCPT ); Thu, 31 Jul 2003 17:26:12 -0400 Received: from AMarseille-201-1-5-189.w217-128.abo.wanadoo.fr ([217.128.250.189]:24359 "EHLO gaston") by vger.kernel.org with ESMTP id S274876AbTGaV0J (ORCPT ); Thu, 31 Jul 2003 17:26:09 -0400 Subject: Re: [linux-usb-devel] Re: OHCI problems with suspend/resume From: Benjamin Herrenschmidt To: Pavel Machek Cc: David Brownell , Alan Stern , Dominik Brugger , kernel list , linux-usb-devel@lists.sourceforge.net In-Reply-To: <20030731094904.GC464@elf.ucw.cz> References: <1059153629.528.2.camel@gaston> <3F21B3BF.1030104@pacbell.net> <20030726210123.GD266@elf.ucw.cz> <3F288CAB.6020401@pacbell.net> <20030731094904.GC464@elf.ucw.cz> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1059686717.2418.156.camel@gaston> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 31 Jul 2003 23:25:18 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 932 Lines: 24 On Thu, 2003-07-31 at 11:49, Pavel Machek wrote: > Hi! > > > - APM uses the pm_*() calls for a vetoable check, > > never issues SAVE_STATE, then goes POWER_DOWN. > > I remember the reason... SAVE_STATE expects user processes to be > stopped, which is not the case in APM. Perhaps that is easy to fix > these days... No ! You may feel better stopping user processes (and actuallty you may require that for swsusp, I don't know) but the whole PM scheme is designed to make that unnecessary. I do NOT stop user processes on suspend-to-RAM on PowerMacs, I don't think neither APM nor ACPI need that (I may be wrong here, but if that is the case, then some drivers need fixing). Ben. - 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/