IOMMU Fixes for Linux v4.4-rc5

	* Two similar fixes for the Intel and AMD IOMMU drivers to add
	  proper access checks before calling handle_mm_fault.
iommu/vt-d: Do access checks before calling handle_mm_fault()

Not doing so is a bug and might trigger a BUG_ON in
handle_mm_fault(). So add the proper permission checks
before calling into mm code.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-By: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 file changed