HomeFreeBSD

acpi_pcib: Trust decoded bus range from _CRS over _BBN

Description

acpi_pcib: Trust decoded bus range from _CRS over _BBN

Currently if _BBN doesn't match the first bus in the decoded bus range
from _CRS for a Host to PCI bridge, the driver fails to attach as a
defensive measure.

There is now firmware in the field where these do not match, and the
_BBN values are clearly wrong, so rather than failing attach, trust
the range from _CRS over _BBN.

Co-authored-by: Justin Gibbs <gibbs@FreeBSD.org>
Reported by: gibbs
Reviewed by: imp (earlier version)
Differential Revision: https://reviews.freebsd.org/D42231

Details

Provenance
jhbAuthored on Oct 16 2023, 10:19 PM
Reviewer
imp
Differential Revision
D42231: acpi_pcib: Trust decoded bus range from _CRS over _BBN
Parents
rGb0936440b8fc: bhyve: Replace many fprintf(stderr, ...) calls with EPRINTLN
Branches
Unknown
Tags
Unknown