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
Unknown Object (File)
Mon, Dec 9, 8:40 PM
Unknown Object (File)
Dec 3 2024, 10:39 PM
Unknown Object (File)
Dec 3 2024, 10:39 PM
Unknown Object (File)
Dec 3 2024, 10:36 PM
Unknown Object (File)
Dec 3 2024, 10:18 PM
Unknown Object (File)
Nov 7 2024, 12:42 AM
Unknown Object (File)
Nov 7 2024, 12:31 AM
Unknown Object (File)
Nov 6 2024, 10:37 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