commit | 1cb8e85a9d9da4192acfb5f70a80b0c5ce8c3e8f | [log] [tgz] |
---|---|---|
author | Nishanth Aravamudan <nacc@us.ibm.com> | Wed Sep 15 08:05:45 2010 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Oct 13 16:19:21 2010 +1100 |
tree | 71b6b99951418f2466c633747af886e438b91dbf | |
parent | dda804ad4023cc202466c46fcfcc163131953838 [diff] |
powerpc/dma: Fix dma_iommu_dma_supported compare The table offset is in entries, each of which imply a dma address of an IOMMU page. Also, we should check the device can reach the whole IOMMU table. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>