Skip to content

dma-debug: add additional checks

Joerg Roedel lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dma-debug: add checks for kernel text and rodatalib/dma-debug.c+25 -10 replies
2/3dma-debug: add a check dma memory leaksinclude/linux/dma-debug.h lib/dma-debug.c+62 -00 replies
3/3dma-debug/x86: register pci bus for dma-debug leak detectionarch/x86/kernel/pci-dma.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] dma-debug: add additional checks

Hi,

this small series of patches adds three additional checks to the dma-api debugging code. The first one checks if dma mappings are requested for kernel text or rodata segments.
The second check added makes noise if a device is unbound from its driver and there are still pending dma allocations we are aware of.

Joerg

diffstat:

 arch/x86/kernel/pci-dma.c |    4 ++
 include/linux/dma-debug.h |    7 ++++
 lib/dma-debug.c           |   81 ++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 91 insertions(+), 1 deletions(-)