Files
linux-apfs/Documentation
Shuah Khan 6c9c6d6301 dma-debug: New interfaces to debug dma mapping errors
Add dma-debug interface debug_dma_mapping_error() to debug
drivers that fail to check dma mapping errors on addresses
returned by dma_map_single() and dma_map_page() interfaces.
This interface clears a flag set by debug_dma_map_page() to
indicate that dma_mapping_error() has been called by the
driver. When driver does unmap, debug_dma_unmap() checks the
flag and if this flag is still set, prints warning message
that includes call trace that leads up to the unmap. This
interface can be called from dma_mapping_error() routines to
enable dma mapping error check debugging.

Tested: Intel iommu and swiotlb (iommu=soft) on x86-64 with
        CONFIG_DMA_API_DEBUG enabled and disabled.

Signed-off-by: Shuah Khan <shuah.khan@hp.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
2012-10-24 17:06:43 +02:00
..
2012-10-11 10:55:04 +01:00
2012-09-17 13:41:56 +01:00
2012-09-09 10:35:39 +02:00
2012-10-08 13:50:12 +10:30
2012-09-06 19:11:04 +01:00
2012-10-05 22:23:54 +02:00
2012-07-18 18:35:57 -07:00
2012-10-01 18:39:45 -04:00
2012-07-09 16:42:11 -04:00
2012-10-09 16:22:55 +09:00
2012-10-09 16:22:40 +09:00
2012-06-03 12:05:50 +02:00
2012-07-29 21:11:05 -03:00