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)
Jan 5 2024, 10:42 PM
Unknown Object (File)
Dec 25 2023, 5:33 PM
Unknown Object (File)
Dec 19 2023, 10:56 PM
Unknown Object (File)
Nov 11 2023, 2:46 AM
Unknown Object (File)
Nov 10 2023, 1:46 PM
Unknown Object (File)
Nov 6 2023, 5:25 PM
Unknown Object (File)
Nov 5 2023, 1:40 AM
Unknown Object (File)
Nov 4 2023, 10:16 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).