Re: [PATCH 0/16] DMA-API debugging facility v2

From: Joerg Roedel
Date: Thu Feb 12 2009 - 10:20:41 EST



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@xxxxxxxxx>
>

Great. Thanks. Applied to my dma-api/debug branch.

Joerg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/