Page MenuHomeFreeBSD

acpi: Allow drivers to use bus_set_resource for more resources
ClosedPublic

Authored by jhb on Feb 14 2024, 6:55 PM.
Tags
None
Referenced Files
F154010526: D43892.id.diff
Sat, Apr 25, 10:44 AM
Unknown Object (File)
Wed, Apr 22, 4:21 PM
Unknown Object (File)
Tue, Apr 21, 3:15 PM
Unknown Object (File)
Tue, Apr 7, 1:34 PM
Unknown Object (File)
Mon, Apr 6, 5:10 AM
Unknown Object (File)
Sun, Apr 5, 9:30 AM
Unknown Object (File)
Thu, Apr 2, 5:31 AM
Unknown Object (File)
Wed, Apr 1, 6:55 PM
Subscribers

Details

Summary

acpi_set_resource excludes certain types of resources for certain
devices. The intention of this is to avoid adding resource entries
for bogus resources enumerated via _CRS. However, this also prevents
drivers from adding those resources explicitly if needed. To fix
this, move the logic to exclude these resources into an ignore hook
used when parsing _CRS to create the initial set of resources for each
device.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56011
Build 52900: arc lint + arc unit