Page MenuHomeFreeBSD

pci_dw: Support multiple memory windows
ClosedPublic

Authored by jrtc27 on Jul 5 2021, 12:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 16 2024, 8:00 AM
Unknown Object (File)
Mar 16 2024, 8:00 AM
Unknown Object (File)
Mar 16 2024, 8:00 AM
Unknown Object (File)
Mar 16 2024, 7:44 AM
Unknown Object (File)
Feb 7 2024, 1:16 AM
Unknown Object (File)
Dec 23 2023, 9:26 PM
Unknown Object (File)
Dec 20 2023, 3:14 AM
Unknown Object (File)
Dec 10 2023, 6:44 PM
Subscribers

Details

Summary

Currently we assume there is only one memory and one prefetch memory
window, and ignore the latter. However, the SiFive FU740 has two normal
memory windows.

As part of this, the viewports are rearranged. Previously the viewports
were memory, config then optionally I/O. Both to simplify the config
index calculation and to ensure it can always be mapped even if we have
too many memory windows for the number of viewports, config is moved to
being the first viewport.

This generalisation now also naturally supports mapping prefetch memory
windows.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable