RFC: IOMMU bypass

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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                    [email protected]
http://www.canb.auug.org.au/~sfr/

Attachment: pgpjGuP7dkNsH.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux