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)
Fri, Nov 8, 1:23 PM
Unknown Object (File)
Fri, Nov 8, 10:59 AM
Unknown Object (File)
Fri, Nov 8, 10:09 AM
Unknown Object (File)
Tue, Oct 22, 1:37 PM
Unknown Object (File)
Thu, Oct 17, 9:58 PM
Unknown Object (File)
Oct 2 2024, 11:40 PM
Unknown Object (File)
Sep 9 2024, 12:06 AM
Unknown Object (File)
Sep 8 2024, 4:19 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