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
Unknown Object (File)
Sun, May 31, 7:58 PM
Unknown Object (File)
Thu, May 21, 12:16 AM
Unknown Object (File)
Wed, May 20, 4:17 AM
Unknown Object (File)
Tue, May 19, 11:55 AM
Unknown Object (File)
Sun, May 17, 7:59 AM
Unknown Object (File)
Sat, May 16, 9:38 AM
Unknown Object (File)
Apr 26 2026, 2:45 AM
Unknown Object (File)
Apr 19 2026, 3:13 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