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
F102045792: D43892.diff
Wed, Nov 6, 10:37 PM
Unknown Object (File)
Sun, Oct 13, 1:24 PM
Unknown Object (File)
Wed, Oct 9, 1:04 AM
Unknown Object (File)
Oct 1 2024, 4:51 PM
Unknown Object (File)
Sep 29 2024, 9:41 PM
Unknown Object (File)
Sep 28 2024, 7:55 PM
Unknown Object (File)
Sep 28 2024, 5:54 AM
Unknown Object (File)
Sep 25 2024, 7:04 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 56011
Build 52900: arc lint + arc unit