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 <shuah.k...@hp.com>
Reply-To: shuah.k...@hp.com
Organization: ISS-Linux
To: fujita.tomon...@lab.ntt.co.jp, a...@linux-foundation.org,        
paul.gortma...@windriver.com, bhelg...@google.com, amw...@redhat.com,        
joerg.roe...@amd.com, paul.gortma...@windriver.com, kubak...@wp.pl,        
st...@rowland.harvard.edu, dan.carpen...@oracle.com,        Konrad Rzeszutek Wilk 
<konrad.w...@oracle.com>
CC: de...@linuxdriverproject.org, LKML <linux-ker...@vger.kernel.org>,        
shuahk...@gmail.com

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
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to