Page MenuHomeFreeBSD

Fix bug in ofwbus_release_resource() for non-ofwbus descendants
ClosedPublic

Authored by zbb on Feb 16 2016, 8:56 PM.
Tags
None
Referenced Files
F149904112: D5304.id13377.diff
Sat, Mar 28, 12:35 AM
F149875148: D5304.diff
Fri, Mar 27, 6:59 PM
Unknown Object (File)
Mon, Mar 9, 7:19 PM
Unknown Object (File)
Sat, Mar 7, 2:26 PM
Unknown Object (File)
Sat, Mar 7, 2:25 PM
Unknown Object (File)
Thu, Mar 5, 4:59 AM
Unknown Object (File)
Sun, Mar 1, 4:26 PM
Unknown Object (File)
Sun, Mar 1, 7:57 AM
Subscribers

Details

Summary

Resource list for devices that are not ofwbus descendants, but
got to ofwbus method via bus_generic_release_resource() call chain,
cannot be found using BUS_GET_RESOURCE_LIST() used by ofwbus.
In that case, changing device's resource list should be avoided
(will not contain resource list prepared by ofw or simplebus).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zbb retitled this revision from to Fix bug in ofwbus_release_resource() for non-ofwbus descendants .
zbb updated this object.
zbb edited the test plan for this revision. (Show Details)
zbb added reviewers: imp, ian, andrew, wma.
zbb set the repository for this revision to rS FreeBSD src repository - subversion.
zbb added subscribers: ARM, arm64.
wma edited edge metadata.
This revision is now accepted and ready to land.Feb 17 2016, 1:07 PM
This revision was automatically updated to reflect the committed changes.