]> bbs.cooldavid.org Git - net-next-2.6.git/commit
iommu-api: Add iommu_map and iommu_unmap functions
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 8 Jan 2010 12:35:09 +0000 (13:35 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Sun, 7 Mar 2010 17:01:11 +0000 (18:01 +0100)
commitcefc53c7f494240d4813c80154c7617452d1904d
tree675370ec20df0841e404ed7b191d2d41f30f7e52
parent4abc14a733f9002c05623db755aaafdd27fa7a91
iommu-api: Add iommu_map and iommu_unmap functions

These two functions provide support for mapping and
unmapping physical addresses to io virtual addresses. The
difference to the iommu_(un)map_range() is that the new
functions take a gfp_order parameter instead of a size. This
allows the IOMMU backend implementations to detect easier if
a given range can be mapped by larger page sizes.
These new functions should replace the old ones in the long
term.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/base/iommu.c
include/linux/iommu.h