Page MenuHomeFreeBSD

Stage one of multipass suspend/resume
ClosedPublic

Authored by jhibbits on Aug 12 2014, 12:34 AM.
Tags
None
Referenced Files
F176547985: D590.diff
Mon, Oct 19, 6:13 PM
Unknown Object (File)
Fri, Oct 2, 9:46 PM
Unknown Object (File)
Tue, Sep 29, 3:18 PM
Unknown Object (File)
Tue, Sep 29, 2:51 PM
Unknown Object (File)
Tue, Sep 29, 2:41 PM
Unknown Object (File)
Tue, Sep 29, 11:10 AM
Unknown Object (File)
Tue, Sep 29, 6:10 AM
Unknown Object (File)
Tue, Sep 29, 4:52 AM
Subscribers
None

Details

Summary

Add the beginnings of multipass suspend/resume, by introducing
BUS_SUSPEND_CHILD/BUS_RESUME_CHILD, and move the PCI driver to this.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jhibbits retitled this revision from to Stage one of multipass suspend/resume.
jhibbits updated this object.
jhibbits edited the test plan for this revision. (Show Details)
jhibbits added a reviewer: jhb.

Fix a copy&paste-o. Default for BUS_RESUME_CHILD should be bus_generic_resume_child, not suspend.

BASEPERIPH doesn't need to be resumed early. This was a hack, but is not necessary.

sys/dev/pci/pci.c
3667 ↗(On Diff #1076)

Looks like this can just go away and be replaced in the method list with bus_generic_suspend now?

Thanks for the review!

sys/dev/pci/pci.c
3667 ↗(On Diff #1076)

It can. I kept it in case there was anything else that needed done as well. But, if that's not the case, I'll just remove it.

Remove pci_suspend(), as it's no longer necessary, given it only calls
bus_generic_suspend().

jhb edited edge metadata.

I think this is good to go.

This revision is now accepted and ready to land.Sep 22 2014, 3:44 PM
jhibbits updated this revision to Diff 1722.

Closed by commit rS272013 (authored by @jhibbits).