]> git.baikalelectronics.ru Git - kernel.git/commit
iommu sg: add IOMMU helper functions for the free area management
authorFUJITA Tomonori <tomof@acm.org>
Tue, 5 Feb 2008 06:28:07 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:11 +0000 (09:44 -0800)
commite866163004ea62502ef03b88a97222ff475c97de
tree5a79187b309cc1a2115a94bc7927c85dd3c67ac9
parente8cf691ccb6b9d4f65f09db3227718164a455f20
iommu sg: add IOMMU helper functions for the free area management

This adds IOMMU helper functions for the free area management.  These
functions take care of LLD's segment boundary limit for IOMMUs.  They would be
useful for IOMMUs that use bitmap for the free area management.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/iommu-helper.h [new file with mode: 0644]
lib/Makefile
lib/iommu-helper.c [new file with mode: 0644]