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)
commit0291df8cc9dac09c303d21d5bcd2ad73762c836a
tree5a79187b309cc1a2115a94bc7927c85dd3c67ac9
parent0c95fdc59640824d7e0b017be295fb912ceef4ab
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]