intel-iommu: Use coherent DMA mask when requested
authorMike Travis <travis@sgi.com>
Sat, 28 May 2011 18:15:05 +0000 (13:15 -0500)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 1 Jun 2011 11:47:45 +0000 (12:47 +0100)
commitc681d0ba1252954208220ad32248a3e8e2fc98e4
treefe74fdee4fa76e743aa0e8d2d22f958b1a1c710e
parent1c9fc3d11b84fbd0c4f4aa7855702c2a1f098ebb
intel-iommu: Use coherent DMA mask when requested

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>
Cc: stable@kernel.org
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c