Page MenuHomeFreeBSD

pci_dw.c: Trim ATU windows bigger than 4GB
ClosedPublic

Authored by kd on Apr 7 2021, 11:19 AM.
Tags
None
Referenced Files
F140068374: D29625.id87103.diff
Fri, Dec 19, 7:38 PM
Unknown Object (File)
Mon, Dec 15, 2:19 PM
Unknown Object (File)
Nov 17 2025, 7:19 PM
Unknown Object (File)
Nov 4 2025, 1:06 AM
Unknown Object (File)
Nov 4 2025, 1:04 AM
Unknown Object (File)
Nov 4 2025, 12:59 AM
Unknown Object (File)
Nov 4 2025, 12:59 AM
Unknown Object (File)
Nov 4 2025, 12:58 AM
Subscribers

Details

Summary

The size of the ATU MEM/IO windows is implicitly casted to uint32_t.
Because of that some window sizes were silently demoted to 0 and ignored.
Check the size if its too large, trim it to 4GB and print a warning message.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable