DMA mapping error check analysis
For those on the iommu list that are not on
the devel-drivers or lkml list....
Since failures/bugs in drivers using dma mapping API
result in IOMMU detected failures (faults) or IOMMU resource leakage...
-------- Original Message --------
Subject: [RFC] DMA mapping error check analysis
Date: Fri, 07 Sep 2012 09:53:20 -0600
From: Shuah Khan <[email protected]>
Reply-To: [email protected]
Organization: ISS-Linux
To: [email protected], akpm-de/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], stern-nwvwT67g6+6dFdvTe/[email protected], [email protected], Konrad Rzeszutek Wilk <[email protected]>
CC: [email protected], LKML <[email protected]>, [email protected]
I analyzed all calls to dma_map_single() and dma_map_page() in the kernel, to see if callers check for mapping errors, before using the returned address.
The goal of this analysis is to find drivers that currently do not check dma mapping errors, and fix them.
I documented the results of this analysis:
http://linuxdriverproject.org/mediawiki/index.php/DMA_Mapping_Error_Analysis
Please review and give me feedback on the analysis and the proposed next steps.
Thanks,
-- Shuah
_______________________________________________
devel mailing list [email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel