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)
Mon, Apr 1, 7:20 AM
Unknown Object (File)
Jan 14 2024, 8:16 PM
Unknown Object (File)
Dec 19 2023, 2:58 AM
Unknown Object (File)
Dec 12 2023, 5:54 AM
Unknown Object (File)
Nov 29 2023, 1:52 AM
Unknown Object (File)
Sep 28 2023, 12:22 AM
Unknown Object (File)
Sep 28 2023, 12:19 AM
Unknown Object (File)
Sep 28 2023, 12:18 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

Lint
Lint Skipped
Unit
Tests Skipped