Child suspend/resume

Justin Hibbits chmeeedalf at gmail.com
Tue Aug 12 14:06:22 UTC 2014


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 at 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.
> 
> 11.08.2014 08:30, Justin Hibbits (by way of Justin Hibbits
> <chmeeedalf at gmail.com>) пишет:
> > 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to
> > "freebsd-current-unsubscribe at freebsd.org"
> 



More information about the freebsd-current mailing list