lkml.org 
[lkml]   [2019]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 02/10] iommu/vt-d: Use per-device dma_ops
On Wed, Nov 13, 2019 at 08:03:12AM +0100, Christoph Hellwig wrote:
> Indeed. And one idea would be to lift the code in the powerpc
> dma_iommu_ops that check a flag and use the direct ops to the generic
> dma code and a flag in struct device. We can then switch the intel
> iommu ops (and AMD Gart) over to it.

Let me know what you think of the branch below. Only compile tested
and booted on qemu with an emulated intel iommu:

http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/dma-bypass

\
 
 \ /
  Last update: 2019-11-13 10:55    [W:0.097 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site