From: Joerg Roedel Date: Thu, 4 Sep 2008 17:18:02 +0000 (+0200) Subject: AMD IOMMU: align alloc_coherent addresses properly X-Git-Tag: v2.6.28-rc1~712^2^4~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d4f343f84993eb0d5864c0823dc9babd171a33a;p=pandora-kernel.git AMD IOMMU: align alloc_coherent addresses properly The API definition for dma_alloc_coherent states that the bus address has to be aligned to the next power of 2 boundary greater than the allocation size. This is violated by AMD IOMMU so far and this patch fixes it. Signed-off-by: Joerg Roedel Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed