diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2018-05-22 13:45:24 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2018-05-22 13:45:24 +0000 |
commit | 435b87a99b5d18ec493c265c8d8696724ebdb174 (patch) | |
tree | d007562db7ac7811610381f2cd26de5ca32bfa54 /share | |
parent | a3c7cd11d21b5dae55c9731995cb166c14c1a484 (diff) | |
download | src-435b87a99b5d18ec493c265c8d8696724ebdb174.tar.gz src-435b87a99b5d18ec493c265c8d8696724ebdb174.zip |
bus_dma(9): Correct arm64 BUS_DMA_COHERENT implementation note
BUS_DMA_COHERENT isn't supported in bus_dmamap_create but bus_dma_tag_create.
Document it properly.
Submitted by: andrew
Notes
Notes:
svn path=/head/; revision=334041
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/bus_dma.9 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9 index 95e380846a71..63b2f1db7700 100644 --- a/share/man/man9/bus_dma.9 +++ b/share/man/man9/bus_dma.9 @@ -446,6 +446,15 @@ allocated with Also, due to resource sharing with other tags, this flag does not guarantee that resources will be allocated or reserved exclusively for this tag. It should be treated only as a minor optimization. +.It Dv BUS_DMA_COHERENT +Indicate that the DMA engine and CPU are cache-coherent. +Cached memory may be used to back allocations created by +.Fn bus_dmamem_alloc . +For +.Fn bus_dma_tag_create , +the +.Dv BUS_DMA_COHERENT +flag is currently implemented on arm64. .El .It Fa lockfunc Optional lock manipulation function (may be @@ -504,7 +513,7 @@ For .Fn bus_dmamap_create , the .Dv BUS_DMA_COHERENT -flag is currently implemented on arm64 and sparc64. +flag is currently implemented on sparc64. .El .It Fa mapp Pointer to a |