diff options
author | Kishon Vijay Abraham I <[email protected]> | 2020-03-16 16:54:22 +0530 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2020-04-02 17:57:10 +0100 |
commit | 0a121f9bc3f55b83b2c62f6d6fa8e3125e81964e (patch) | |
tree | 82cde1af11188d6d31d0e4eaa7cd6c4c8ed56a9f /lib/mpi/mpi-mul.c | |
parent | 5893c2e5353bb9a723d862d8b6ba8028a8f6a6eb (diff) |
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 <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Tested-by: Alan Mikhak <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions