linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* per-device dma_map_ops for intel-iommu?
@ 2019-04-09 13:59 Christoph Hellwig
  2019-04-09 14:03 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2019-04-09 13:59 UTC (permalink / raw)
  To: David Woodhouse, Joerg Roedel; +Cc: iommu, linux-kernel

Hi David and Joerg,

do you remember a good reason why intel-iommu is not using per-device
dma_map_ops like the AMD iommu or the various ARM iommus?

Right now intel-iommu.c contains a half-asses reimplementation of the
dma direct code for the iommu_no_mapping() case, and it would seem
much nicer to just fall back to that case and not even call into
intel-iommu in that case.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-11 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-09 13:59 per-device dma_map_ops for intel-iommu? Christoph Hellwig
2019-04-09 14:03 ` David Woodhouse
2019-04-11 13:57   ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).