diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-08-04 23:53:57 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 14:26:31 +0200 |
commit | 2b5987abaf2dd6c3934e0376b7d9f64411cdcf03 (patch) | |
tree | 1d3609613faed623728eed98a83565f781201420 /arch/mips/mti-malta/malta-smtc.c | |
parent | MIPS: Clean up notify_die() usage. (diff) | |
download | linux-2b5987abaf2dd6c3934e0376b7d9f64411cdcf03.tar.xz linux-2b5987abaf2dd6c3934e0376b7d9f64411cdcf03.zip |
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: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1535/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-malta/malta-smtc.c')
0 files changed, 0 insertions, 0 deletions