Page MenuHomeFreeBSD

Stage one of multipass suspend/resume
ClosedPublic

Authored by jhibbits on Aug 12 2014, 12:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 7, 4:38 PM
Unknown Object (File)
Dec 15 2024, 9:17 PM
Unknown Object (File)
Nov 27 2024, 10:47 PM
Unknown Object (File)
Sep 30 2024, 3:09 PM
Unknown Object (File)
Sep 24 2024, 4:15 AM
Unknown Object (File)
Sep 19 2024, 3:46 PM
Unknown Object (File)
Sep 15 2024, 2:48 PM
Unknown Object (File)
Sep 13 2024, 1:31 PM
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).