From: FUJITA Tomonori Date: Tue, 5 Feb 2008 06:28:16 +0000 (-0800) Subject: iommu sg merging: swiotlb: respect the segment boundary limits X-Git-Tag: v2.6.25-rc1~998 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=681cc5cd3efbeafca6386114070e0bfb5012e249;p=pandora-kernel.git iommu sg merging: swiotlb: respect the segment boundary limits This patch makes swiotlb not allocate a memory area spanning LLD's segment boundary. is_span_boundary() judges whether a memory area spans LLD's segment boundary. If map_single finds such a area, map_single tries to find the next available memory area. Signed-off-by: FUJITA Tomonori Cc: James Bottomley Cc: Jens Axboe Cc: Greg KH Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed