]> git.baikalelectronics.ru Git - kernel.git/commit
add frontend implementation for the IOMMU API
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 26 Nov 2008 16:21:24 +0000 (17:21 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Sat, 3 Jan 2009 13:10:09 +0000 (14:10 +0100)
commit9c5f8fc05f6ffb6b8968e00f0561abb1a851ade1
tree363dab8ecff94ec0306d165d8711df414486f7f8
parent9087de8a3bad8a5d39e763b191f86c5d4fecd4ff
add frontend implementation for the IOMMU API

This API can be used by KVM for accessing different types of IOMMUs to
do device passthrough to guests. Beside that this API can also be used
by device drivers to map non-linear host memory into dma-linear
addresses to prevent sgather-gather DMA. UIO may be another user for
this API.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/iommu.c [new file with mode: 0644]