Thread (24 messages) 24 messages, 6 authors, 2019-06-03

Re: [PATCH v3 0/6] Prerequisites for NXP LS104xA SMMU enablement

From: Christoph Hellwig <hch@infradead.org>
Date: 2019-05-31 17:46:34
Also in: linux-arm-kernel, linux-iommu, lkml, netdev

On Fri, May 31, 2019 at 06:45:00PM +0100, Robin Murphy wrote:
Bleh, I'm certainly not keen on formalising any kind of
dma_to_phys()/dma_to_virt() interface for this. Or are you just proposing
something like dma_unmap_sorry_sir_the_dog_ate_my_homework() for drivers
which have 'lost' the original VA they mapped?
Yes, I guess we need that in some form.  I've heard a report the IBM
emca ethernet driver has the same issue, and any SOC with it this
totally blows up dma-debug as they just never properly unmap.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help