aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-keystone.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <[email protected]>2020-03-16 11:24:22 +0000
committerLorenzo Pieralisi <[email protected]>2020-04-02 16:57:10 +0000
commit0a121f9bc3f55b83b2c62f6d6fa8e3125e81964e (patch)
tree82cde1af11188d6d31d0e4eaa7cd6c4c8ed56a9f /drivers/pci/controller/dwc/pci-keystone.c
parentPCI: endpoint: functions/pci-epf-test: Print throughput information (diff)
downloadkernel-0a121f9bc3f55b83b2c62f6d6fa8e3125e81964e.tar.gz
kernel-0a121f9bc3f55b83b2c62f6d6fa8e3125e81964e.zip
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 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions