15 Apr, 2009

1 commit

  • We use a static value for the number of dma_debug_entries. It can be
    overwritten by a kernel command line option.

    Some IOMMUs (e.g. GART) can't set an appropriate value by a kernel
    command line option because they can't know such value until they
    finish initializing up their hardware.

    This patch adds dma_debug_resize_entries() enables IOMMUs to adjust
    the number of dma_debug_entries anytime.

    Signed-off-by: FUJITA Tomonori
    Acked-by: Joerg Roedel
    Cc: fujita.tomonori@lab.ntt.co.jp
    Cc: akpm@linux-foundation.org
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    FUJITA Tomonori
     

18 Mar, 2009

1 commit


17 Mar, 2009

2 commits

  • Impact: allow architectures to monitor busses for dma mem leakage

    This patch adds checking code to detect if a device has pending DMA
    operations when it is about to be unbound from its device driver.

    Signed-off-by: Joerg Roedel

    Joerg Roedel
     
  • 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
     

06 Mar, 2009

7 commits


05 Mar, 2009

1 commit