When the DMA_MEMORY_MAP flag is used, memory which can be accessed
directly should be returned, so use memremap(..., MEMREMAP_WC) to
provide a writecombine mapping.
Signed-off-by: Brian Starkey
Reviewed-by: Catalin Marinas
---
drivers/base/dma-coherent.c | 20
1 file chan
When the DMA_MEMORY_MAP flag is used, memory which can be accessed
directly should be returned, so use memremap(..., MEMREMAP_WC) to
provide a writecombine mapping.
Signed-off-by: Brian Starkey
Reviewed-by: Catalin Marinas
---
drivers/base/dma-coherent.c | 20
1 file chan
When the DMA_MEMORY_MAP flag is used, memory which can be accessed
directly should be returned, so use memremap(..., MEMREMAP_WC) to
provide a writecombine mapping.
Signed-off-by: Brian Starkey
Reviewed-by: Catalin Marinas
Acked-by: Michal Nazarewicz
---
drivers/base/dma-coherent.c | 20
On Tue, Jan 05 2016, Brian Starkey wrote:
> When the DMA_MEMORY_MAP flag is used, memory which can be accessed
> directly should be returned, so use memremap(..., MEMREMAP_WC) to
> provide a writecombine mapping.
>
> Signed-off-by: Brian Starkey
> Reviewed-by: Catalin Marinas
Acked-by: Michal Na
4 matches
Mail list logo