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
F166561351: D5304.id13377.diff
Fri, Aug 14, 11:51 AM
Unknown Object (File)
Wed, Aug 12, 12:40 AM
Unknown Object (File)
Mon, Aug 10, 11:23 AM
Unknown Object (File)
Sat, Aug 8, 5:27 PM
Unknown Object (File)
Sat, Aug 8, 5:12 PM
Unknown Object (File)
Sat, Aug 8, 11:49 AM
Unknown Object (File)
Sat, Aug 8, 5:08 AM
Unknown Object (File)
Jun 15 2026, 10:39 PM
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.