diff options
author | Ray Jui <ray.jui@broadcom.com> | 2016-11-01 01:38:39 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-11-17 21:40:37 +0100 |
commit | dd9d4e7498de37d79f00cfe562db1daf77bc2651 (patch) | |
tree | 65eeb77e160e2018f758be89b04c1b830c9f7dd6 /fs/fscache | |
parent | PCI: iproc: Add optional dma-ranges (diff) | |
download | linux-dd9d4e7498de37d79f00cfe562db1daf77bc2651.tar.xz linux-dd9d4e7498de37d79f00cfe562db1daf77bc2651.zip |
PCI: iproc: Add inbound DMA mapping support
Add support for inbound DMA mapping. The range of the inbound mapping is
configured by the optional device tree property 'dma-ranges'.
While inbound mapping is done automatically in the ASIC on most iProc-based
SoCs, newer ASICs (e.g., Stingray) require inbound mapping to be configured
explicitly in software.
[bhelgaas: fold in fixes to avoid 32-bit division in iproc_pcie_ib_write()
and uninitialized return value in iproc_pcie_setup_ib() from Arnd Bergmann
<arnd@arndb.de>]
Signed-off-by: Oza Oza <oza.oza@broadcom.com>
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Diffstat (limited to 'fs/fscache')
0 files changed, 0 insertions, 0 deletions