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, Apr 21, 8:40 PM
Unknown Object (File)
Sun, Apr 21, 8:38 PM
Unknown Object (File)
Sat, Apr 20, 6:01 AM
Unknown Object (File)
Sat, Apr 20, 6:01 AM
Unknown Object (File)
Sat, Apr 20, 5:49 AM
Unknown Object (File)
Fri, Apr 19, 5:32 PM
Unknown Object (File)
Mon, Apr 1, 7:20 AM
Unknown Object (File)
Jan 14 2024, 8:16 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