HomeFreeBSD

acpi: Allow child drivers to use bus_set_resource for more resources

Description

acpi: Allow child drivers to use bus_set_resource for more resources

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.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D43892

Details

Provenance
jhbAuthored on Feb 14 2024, 10:07 PM
Reviewer
imp
Differential Revision
D43892: acpi: Allow drivers to use bus_set_resource for more resources
Parents
rGe05436d577de: acpi: Don't assume a resource is reserved in acpi_delete_resource
Branches
Unknown
Tags
Unknown