diff options
author | Takeshi Kihara <[email protected]> | 2017-01-11 11:11:17 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2017-01-12 15:34:15 +0000 |
commit | 7f332fc1f0f053799aeda587cefbc67b5ecd72c5 (patch) | |
tree | 4669589f4875bb121bc1f5dff4b2d41502b3aa82 /include/linux/fpga/fpga-mgr.h | |
parent | ec6d06efb0bac6cd92846e42d1afe5b98b57e7c2 (diff) |
arm64: Add support for DMA_ATTR_SKIP_CPU_SYNC attribute to swiotlb
This patch adds support for DMA_ATTR_SKIP_CPU_SYNC attribute for
dma_{un}map_{page,sg} functions family to swiotlb.
DMA_ATTR_SKIP_CPU_SYNC allows platform code to skip synchronization of
the CPU cache for the given buffer assuming that it has been already
transferred to 'device' domain.
Ported from IOMMU .{un}map_{sg,page} ops.
Acked-by: Laurent Pinchart <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Signed-off-by: Takeshi Kihara <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions