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)
Fri, Mar 7, 12:31 AM
Unknown Object (File)
Feb 18 2025, 5:53 PM
Unknown Object (File)
Feb 17 2025, 6:45 AM
Unknown Object (File)
Jan 7 2025, 12:05 AM
Unknown Object (File)
Nov 25 2024, 9:41 AM
Unknown Object (File)
Nov 24 2024, 1:16 AM
Unknown Object (File)
Nov 3 2024, 3:14 AM
Unknown Object (File)
Nov 2 2024, 9:30 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.