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
F107382333: D29625.diff
Mon, Jan 13, 8:48 AM
Unknown Object (File)
Nov 14 2024, 4:16 PM
Unknown Object (File)
Nov 11 2024, 9:17 PM
Unknown Object (File)
Nov 8 2024, 1:23 PM
Unknown Object (File)
Nov 8 2024, 10:59 AM
Unknown Object (File)
Nov 8 2024, 10:09 AM
Unknown Object (File)
Oct 22 2024, 1:37 PM
Unknown Object (File)
Oct 17 2024, 9:58 PM
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