]> git.karo-electronics.de Git - karo-tx-linux.git/commit
intel-iommu: Use coherent DMA mask when requested
authorMike Travis <travis@sgi.com>
Sat, 28 May 2011 18:15:05 +0000 (13:15 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:31 +0000 (15:05 -0700)
commit80ebe0ace73cb376f66bdeeb92f4e7b5d4a3f8fb
treef5da65708ca732e296e01d78a66897102eaf81c7
parent87cc4d1e3e05af38c7c51323a3d86fe2572ab033
intel-iommu: Use coherent DMA mask when requested

commit c681d0ba1252954208220ad32248a3e8e2fc98e4 upstream.

The __intel_map_single function is not honoring the passed in DMA mask.
This results in not using the coherent DMA mask when called from
intel_alloc_coherent().

Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Chris Wright <chrisw@sous-sol.org>
Reviewed-by: Mike Habeck <habeck@sgi.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/intel-iommu.c