commit | 6d4f343f84993eb0d5864c0823dc9babd171a33a | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Thu Sep 04 19:18:02 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Sep 19 12:59:10 2008 +0200 |
tree | f9fc776688b0b0b9b495f10f6fda707661b38792 | |
parent | 5507eef835c9c941e69d6d96e4b43af23eeb4ac9 [diff] |
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 <joerg.roedel@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>