From: "Jan Beulich" Subject: Re: linux, suspend/resume logic Date: Thu, 13 Mar 2008 15:59:18 +0000 Message-ID: <47D95D66.76E4.0078.0@novell.com> References: <47D95A2D.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org There ought to be ways, since I'm sure native suspend/resume is depending on some sort of ordering, too. Perhaps through using the right kind of initcall for registering the respective sysdev_class? Jan >>> Keir Fraser 13.03.08 16:52 >>> Can we constrain the ordering then? I think it does matter (would have to double check exactly what the req'd constraints are though). -- Keir On 13/3/08 15:45, "Jan Beulich" wrote: > Instead of arbitrarily calling gnttab_suspend(), {gnttab,irq,time}_resume= () > from the resume path in drivers/xen/core/machine_reboot.c, wouldn't be > more reasonable to do a more complete suspend/resume operation by > calling sysdev_{suspend,resume} (and, I didn't check whether this is > already done for all of them, setting up the necessary sys_device/ > sysdev_class instances so everything gets called as needed)? >=20 > Thanks, Jan >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com=20 > http://lists.xensource.com/xen-devel=20