Date: Tue, 12 Aug 2014 07:06:16 -0700 From: Justin Hibbits <chmeeedalf@gmail.com> To: Alexandr Krivulya <shuriku@shurik.kiev.ua> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Child suspend/resume Message-ID: <20140812070616.62c66567@zhabar.att.net> In-Reply-To: <53E9CDD5.6020507@shurik.kiev.ua> References: <20140810223030.479badbc@zhabar.att.net> <53E9CDD5.6020507@shurik.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Alexandr, Thanks. I got another confirmation that it didn't work, and may have found the cause. I have another patch that you can find at https://phabric.freebsd.org/D590 which fixes a typo that I had made. Could you try that? (Added current@ so everyone else sees this as well). Thanks! - Justin On Tue, 12 Aug 2014 11:18:29 +0300 Alexandr Krivulya <shuriku@shurik.kiev.ua> wrote: > Hi, Justin > After applying your patch my thinkpad e530 (FreeBSD 11.0-CURRENT, > amd64) doesn't resume any more - screen remains black. >=20 > 11.08.2014 08:30, Justin Hibbits (by way of Justin Hibbits > <chmeeedalf@gmail.com>) =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Hi all, > > > > The attached patch is completely untested, due to lack of existing > > suspendable hardware (no x86 machines). It does compile cleanly > > against head, though. I don't think it should change any behavior, > > I tried to keep the essence of the code path the same. > > > > It was suggested that I break up my multipass suspend/resume code > > into incremental parts, so this is part one. It adds a > > BUS_SUSPEND_CHILD/BUS_RESUME_CHILD, as well as helper functions, > > bus_generic_suspend_child()/bus_generic_resume_child(), and modifies > > the PCI driver to use this new facility. > > > > I'd like some feedback, and testing of this, to make sure I didn't > > break anything. > > > > Thanks, > > Justin > > > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to > > "freebsd-current-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140812070616.62c66567>