dma-debug: add function to dump dma mappings
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 12 Feb 2009 15:19:13 +0000 (16:19 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 17 Mar 2009 11:56:39 +0000 (12:56 +0100)
This adds a function to dump the DMA mappings that the debugging code is
aware of -- either for a single device, or for _all_ devices.

This can be useful for debugging -- sticking a call to it in the DMA
page fault handler, for example, to see if the faulting address _should_
be mapped or not, and hence work out whether it's IOMMU bugs we're
seeing, or driver bugs.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found