lkml.org 
[lkml]   [2005]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRFC: IOMMU bypass
Hi all,

We (Anton Blanchard and others) have been trying to figure out the best
(or any) way to allow for IOMMU bypass when setting up DMA mappings on
particular devices. Our current idea is to hang a structure of pointers
to DMA mapping operations off the struct device and inherit it from the
device's parent. This would allow for per-bus (rather than per-bus_type)
mapping operations and also allow a driver to override the bus's
operations for a particular device.

Does this make sense? Comments (hopefully consructive) please.

Is there a better/simpler/more sensible way to do this?

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-07-15 05:14    [W:0.035 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site