]> asedeno.scripts.mit.edu Git - linux.git/commit
arm/dma-mapping: Implement DMA_ATTR_PRIVILEGED
authorSricharan R <sricharan@codeaurora.org>
Fri, 6 Jan 2017 13:28:13 +0000 (18:58 +0530)
committerWill Deacon <will.deacon@arm.com>
Thu, 19 Jan 2017 15:56:19 +0000 (15:56 +0000)
commit7d2822dfea122acd498a8ec4481af5d51777fec1
tree9642a68b1e55af5ec988061dd8c3937650a199a4
parent737c85ca1c3af4f97acb61cd53415ec039b31111
arm/dma-mapping: Implement DMA_ATTR_PRIVILEGED

The newly added DMA_ATTR_PRIVILEGED is useful for creating mappings that
are only accessible to privileged DMA engines.  Adding it to the
arm dma-mapping.c so that the ARM32 DMA IOMMU mapper can make use of it.

Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/mm/dma-mapping.c