From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272522AbTGaQIw (ORCPT ); Thu, 31 Jul 2003 12:08:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272516AbTGaQIv (ORCPT ); Thu, 31 Jul 2003 12:08:51 -0400 Received: from smtp-out2.iol.cz ([194.228.2.87]:10472 "EHLO smtp-out2.iol.cz") by vger.kernel.org with ESMTP id S272522AbTGaQIF (ORCPT ); Thu, 31 Jul 2003 12:08:05 -0400 Date: Thu, 31 Jul 2003 18:07:45 +0200 From: Pavel Machek To: David Brownell Cc: Benjamin Herrenschmidt , Alan Stern , Dominik Brugger , kernel list , linux-usb-devel@lists.sourceforge.net Subject: Re: [linux-usb-devel] Re: OHCI problems with suspend/resume Message-ID: <20030731160745.GB342@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> <3F291857.1030803@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F291857.1030803@pacbell.net> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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... > > That SAVE_STATE restriction doesn't seem to be documented... It is not; but I could not convince myself that it is okay to call SAVE_STATE with userland alive, and that's why I did not add SAVE_STATE to apm. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?]