| | Date | Thu, 12 Feb 2009 16:20:27 +0100 | | From | Joerg Roedel <> | | Subject | Re: [PATCH 0/16] DMA-API debugging facility v2 |
On Thu, Feb 05, 2009 at 10:52:32PM +0000, David Woodhouse wrote:
> 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.
>
> I'd also like to make it answer the question 'should address X be mapped
> for device Y', but I'll get to that next.
>
> Do we have a %pX format for printing dma_addr_t yet?
>
> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
>
Great. Thanks. Applied to my dma-api/debug branch.
Joerg
|