Page MenuHomeFreeBSD

PCI DEN0115: Reliably check for a memory resource during probe.
ClosedPublic

Authored by jhb on Jul 13 2023, 8:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 15, 4:00 AM
Unknown Object (File)
Mon, Apr 13, 3:11 AM
Unknown Object (File)
Sat, Mar 28, 1:19 AM
Unknown Object (File)
Mar 13 2026, 7:56 AM
Unknown Object (File)
Mar 13 2026, 2:23 AM
Unknown Object (File)
Mar 12 2026, 7:58 PM
Unknown Object (File)
Mar 6 2026, 5:57 PM
Unknown Object (File)
Mar 6 2026, 2:04 PM
Subscribers

Details

Summary

rid was stack garbage, so the bus_alloc_resource_any() call could fail
and fall through to the SMCCC version check even if a bridge had a
memory resource.

Debugging help: jrtc27
Sponsored by: DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52627
Build 49518: arc lint + arc unit