Bug 285007 - Warning message about decoded bus range in acpi_pcib_acpi_attach doesn't seem to match code/comments
Summary: Warning message about decoded bus range in acpi_pcib_acpi_attach doesn't seem...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 14.2-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-acpi (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-24 09:48 UTC by Paul Walker
Modified: 2025-02-24 10:09 UTC (History)
1 user (show)

See Also:


Attachments
dmesg.boot (9.83 KB, text/plain)
2025-02-24 09:53 UTC, Paul Walker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Walker 2025-02-24 09:48:57 UTC
There's a check in sys/dev/acpica/acpi_pcib_acpi.c (around line 445) which expects "If there is a decoded bus range, assume the bus number is the first value in the range".

I know nothing about ACPI or PCI bridges, so I can't comment if that's sensible; however, the comment and code don't seem to match the warning message which is output - 128 is definitely within the range 32-255, which is a bit confusing. :-)

pcib9: <ACPI Host-PCI bridge> on acpi0
pcib9: WARNING: BIOS configured bus number (128) is not within decoded bus number range (32 - 255).
pcib9: Using range start (32) as bus number.
Comment 1 Paul Walker 2025-02-24 09:53:27 UTC
Created attachment 257831 [details]
dmesg.boot