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
F135353567: D43892.id.diff
Sun, Nov 9, 1:19 AM
Unknown Object (File)
Sat, Nov 1, 11:30 PM
Unknown Object (File)
Thu, Oct 30, 2:38 AM
Unknown Object (File)
Mon, Oct 27, 4:02 AM
Unknown Object (File)
Wed, Oct 15, 5:35 AM
Unknown Object (File)
Mon, Oct 13, 6:22 PM
Unknown Object (File)
Sep 24 2025, 12:07 AM
Unknown Object (File)
Sep 4 2025, 12:35 AM
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 Not Applicable
Unit
Tests Not Applicable