From: David Woodhouse Date: Thu, 12 Feb 2009 15:19:13 +0000 (+0100) Subject: dma-debug: add function to dump dma mappings X-Git-Tag: v2.6.30-rc1~614^2~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac26c18bd35d982d1ba06020a992b1085fefc3e2;p=pandora-kernel.git 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 --- Reading git-diff-tree failed