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)
Wed, Nov 13, 5:00 AM
Unknown Object (File)
Oct 22 2024, 7:46 PM
Unknown Object (File)
Oct 17 2024, 11:23 PM
Unknown Object (File)
Sep 30 2024, 1:27 AM
Unknown Object (File)
Sep 25 2024, 8:16 PM
Unknown Object (File)
Sep 24 2024, 8:21 PM
Unknown Object (File)
Sep 24 2024, 8:20 PM
Unknown Object (File)
Sep 24 2024, 8:19 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