diff options
author | Stefan Roese <[email protected]> | 2016-09-15 07:37:31 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2016-09-15 21:13:59 +0530 |
commit | 77ff7a706f014a56d38f07acf220f381a8fe0fd8 (patch) | |
tree | 060c52eedaba57d63912fc10e89bdefbfcb8ded1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 434cec62a6d73b8c8080cd992bc97a564fdd5a5a (diff) |
dmaengine: mv_xor: Add support for IO (PCIe) src/dst areas
To enable the access to a specific area, the MVEBU XOR controllers needs
to have this area enabled / mapped via an address window. Right now,
only the DRAM memory area is enabled via such memory windows. So
using this driver to DMA to / from a e.g. PCIe memory region is
currently not supported.
This patch now adds support for such PCIe / IO regions by checking
if the src / dst address is located in an IO memory area in contrast
to being located in DRAM. This is done by using the newly introduced
MBus function mvebu_mbus_get_io_win_info(). If the src / dst address
is located in such an IO area, a new address window is created in
the XOR DMA controller. Enabling the controller to access this area.
Signed-off-by: Stefan Roese <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Marcin Wojtas <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Vinod Koul <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions