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)
Sat, Sep 20, 11:13 AM
Unknown Object (File)
Sep 8 2025, 2:07 AM
Unknown Object (File)
Aug 30 2025, 11:31 PM
Unknown Object (File)
Aug 19 2025, 5:38 PM
Unknown Object (File)
Aug 15 2025, 4:39 AM
Unknown Object (File)
Aug 11 2025, 8:32 AM
Unknown Object (File)
Aug 9 2025, 12:42 AM
Unknown Object (File)
Aug 3 2025, 10:25 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 Not Applicable
Unit
Tests Not Applicable