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
Unknown Object (File)
Sun, Nov 3, 3:14 AM
Unknown Object (File)
Sat, Nov 2, 9:30 PM
Unknown Object (File)
Sep 29 2024, 6:02 AM
Unknown Object (File)
Sep 25 2024, 12:39 AM
Unknown Object (File)
Sep 25 2024, 12:38 AM
Unknown Object (File)
Sep 25 2024, 12:38 AM
Unknown Object (File)
Sep 25 2024, 12:36 AM
Unknown Object (File)
Sep 19 2024, 1:21 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.