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
F133108779: D41025.diff
Thu, Oct 23, 1:27 AM
Unknown Object (File)
Wed, Oct 15, 1:17 AM
Unknown Object (File)
Mon, Oct 13, 7:18 AM
Unknown Object (File)
Mon, Oct 13, 7:18 AM
Unknown Object (File)
Mon, Oct 13, 7:18 AM
Unknown Object (File)
Sun, Oct 12, 7:07 PM
Unknown Object (File)
Sun, Oct 12, 4:26 PM
Unknown Object (File)
Fri, Oct 10, 6:33 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