]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/dma-mapping.h
Merge tag 'for-next-dma_ops' of git://git.kernel.org/pub/scm/linux/kernel/git/dledfor...
[karo-tx-linux.git] / include / linux / dma-mapping.h
index 426c43d4fdbf49fedbc9a0f0ad85fe8d92c6c3d3..0977317c6835c2526428f61c12fcfab976650b99 100644 (file)
  */
 #define DMA_ATTR_NO_WARN       (1UL << 8)
 
+/*
+ * DMA_ATTR_PRIVILEGED: used to indicate that the buffer is fully
+ * accessible at an elevated privilege level (and ideally inaccessible or
+ * at least read-only at lesser-privileged levels).
+ */
+#define DMA_ATTR_PRIVILEGED            (1UL << 9)
+
 /*
  * A dma_addr_t can hold any valid DMA or bus address for the platform.
  * It can be given to a device to use as a DMA source or target.  A CPU cannot