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

(cherry picked from commit 055c1fe230ce5a2997c03a3cc2431baea1594566)

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
rG9fc935855951: cam: Check if cam_simq_alloc fails for the xpt bus during module init
Branches
Unknown
Tags
Unknown