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)
Fri, Jan 17, 7:20 PM
Unknown Object (File)
Oct 28 2024, 11:21 AM
Unknown Object (File)
Oct 20 2024, 6:34 PM
Unknown Object (File)
Oct 1 2024, 1:30 PM
Unknown Object (File)
Oct 1 2024, 1:27 PM
Unknown Object (File)
Oct 1 2024, 11:40 AM
Unknown Object (File)
Sep 17 2024, 3:55 AM
Unknown Object (File)
Sep 4 2024, 3:49 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