[PATCH 1/3] common: DMA-mapping: add DMA_ATTR_READ_ONLY attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds DMA_ATTR_READ_ONLY attribute to the DMA-mapping
subsystem.

This sets mapping attribute read-only.

Signed-off-by: Hiroshi Doyu <hdoyu@xxxxxxxxxx>
---
 include/linux/dma-attrs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/dma-attrs.h b/include/linux/dma-attrs.h
index f272809..5d7371c 100644
--- a/include/linux/dma-attrs.h
+++ b/include/linux/dma-attrs.h
@@ -18,6 +18,7 @@ enum dma_attr {
 	DMA_ATTR_NO_KERNEL_MAPPING,
 	DMA_ATTR_SKIP_CPU_SYNC,
 	DMA_ATTR_SKIP_FREE_IOVA,
+	DMA_ATTR_READ_ONLY,
 	DMA_ATTR_MAX,
 };
 
-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux