dma-debug: add additional checks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dma-debug: add checks for kernel text and rodatalib/ | +25 | 0 replies | |
| 2/3 | dma-debug: add a check dma memory leaksinclude/ lib/ | +62 | 0 replies | |
| 3/3 | dma-debug/x86: register pci bus for dma-debug leak detectionarch/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)