lkml.org 
[lkml]   [2009]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-02-12 16:23    [W:0.356 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site