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
F170574773: D43892.id134364.diff
Sat, Sep 5, 11:39 AM
Unknown Object (File)
Fri, Sep 4, 5:55 AM
Unknown Object (File)
Thu, Sep 3, 5:11 PM
Unknown Object (File)
Thu, Sep 3, 5:10 PM
Unknown Object (File)
Thu, Sep 3, 4:44 PM
Unknown Object (File)
Thu, Sep 3, 12:32 AM
Unknown Object (File)
Wed, Sep 2, 11:02 PM
Unknown Object (File)
Wed, Sep 2, 1:14 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 Not Applicable
Unit
Tests Not Applicable