Thread (4 messages) flat view 4 messages, 2 authors, 2019-09-18

Re: [PATCH 2/2] MIPS: remove support for DMA_ATTR_WRITE_COMBINE

From: Maciej W. Rozycki <hidden>
Date: 2019-09-18 19:50:04
Also in: linux-arm-kernel, linux-iommu, linux-mips, lkml

On Wed, 7 Aug 2019, Christoph Hellwig wrote:
Mips uses the KSEG1 kernel memory segment to map dma coherent
allocations for non-coherent devices as uncacheable, and does not have
any kind of special support for DMA_ATTR_WRITE_COMBINE in the allocation
path.  Thus supporting DMA_ATTR_WRITE_COMBINE in dma_mmap_attrs will
lead to multiple mappings with different caching attributes.
 FYI, AFAIK _CACHE_UNCACHED_ACCELERATED (where supported) is effectively 
write-combine.  Though IIUC someone would have to wire it in first.

  Maciej
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help