diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2020-03-16 16:54:22 +0530 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-04-02 17:57:10 +0100 |
commit | 0a121f9bc3f55b83b2c62f6d6fa8e3125e81964e (patch) | |
tree | 82cde1af11188d6d31d0e4eaa7cd6c4c8ed56a9f /tools | |
parent | 5893c2e5353bb9a723d862d8b6ba8028a8f6a6eb (diff) | |
download | linux-0a121f9bc3f55b83b2c62f6d6fa8e3125e81964e.tar.bz2 |
misc: pci_endpoint_test: Use streaming DMA APIs for buffer allocation
Use streaming DMA APIs (dma_map_single/dma_unmap_single) for buffers
transmitted/received by the endpoint device instead of allocating
a coherent memory. Also add default_data to set the alignment to
4KB since dma_map_single might not return a 4KB aligned address.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: Alan Mikhak <alan.mikhak@sifive.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions