Skip to content
Snippets Groups Projects
Commit 2b5987ab authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

MIPS: Octeon: Allow more than 3.75GB of memory with PCIe


We reserve the 3.75GB - 4GB region of PCIe address space for device to
device transfers, making the corresponding physical memory under
direct mapping unavailable for DMA.

To allow for PCIe DMA to all physical memory we map this chunk of
physical memory with BAR1.  Because of the resulting discontinuity in
the mapping function, we remove a page of memory at each end of the
range so multi-page DMA buffers can never be allocated that span the
range.

Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1535/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 70dc6f04
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment