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
F171010877: D41025.diff
Tue, Sep 8, 4:27 AM
Unknown Object (File)
Mon, Sep 7, 12:35 AM
Unknown Object (File)
Sat, Sep 5, 7:16 AM
Unknown Object (File)
Sat, Sep 5, 3:26 AM
Unknown Object (File)
Fri, Sep 4, 6:31 PM
Unknown Object (File)
Fri, Sep 4, 3:42 PM
Unknown Object (File)
Thu, Sep 3, 2:28 PM
Unknown Object (File)
Thu, Sep 3, 11:00 AM
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