commit | ac26c18bd35d982d1ba06020a992b1085fefc3e2 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Thu Feb 12 16:19:13 2009 +0100 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Tue Mar 17 12:56:39 2009 +0100 |
tree | 33f7fe1a22848c7dfdd002298f27efff103480a4 | |
parent | a31fba5d68cebf8f5fefd03e079dab94875e25f5 [diff] |
dma-debug: add function to dump dma mappings 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>