Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261285AbVDZDkO (ORCPT ); Mon, 25 Apr 2005 23:40:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261289AbVDZDkO (ORCPT ); Mon, 25 Apr 2005 23:40:14 -0400 Received: from gate.crashing.org ([63.228.1.57]:64709 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S261285AbVDZDkI (ORCPT ); Mon, 25 Apr 2005 23:40:08 -0400 Subject: Re: [linux-usb-devel] Re: [PATCH] PCI: Add pci shutdown ability From: Benjamin Herrenschmidt To: Pavel Machek Cc: Greg KH , Amit Gud , Alan Stern , Linux Kernel list , linux-pci@atrey.karlin.mff.cuni.cz, Andrew Morton , Jeff Garzik , cramerj@intel.com, USB development list In-Reply-To: <20050425204207.GA23724@elf.ucw.cz> References: <20050425182951.GA23209@kroah.com> <20050425185113.GC23209@kroah.com> <20050425190606.GA23763@kroah.com> <20050425204207.GA23724@elf.ucw.cz> Content-Type: text/plain Date: Tue, 26 Apr 2005 13:39:20 +1000 Message-Id: <1114486761.7183.14.camel@gaston> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 21 > Yes. > > I believe it should just do suspend(PMSG_SUSPEND) before system > shutdown. If you think distintion between shutdown and suspend is > important (I am not 100% convinced it is), we can just add flag > saying "this is system shutdown". > > Actually this patch should be in the queue somewhere... We had it in > suse trees for a long time, and IMO it can solve problem easily. I think we probably want a distinct state for shutdown ... 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/