From: Jesse Barnes Date: Sat, 13 Dec 2014 00:55:30 +0000 (-0800) Subject: iommu/amd: use handle_mm_fault directly X-Git-Tag: omap-for-v3.20/drop-legacy-3517~97^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dc00f4c4fdd1fab12a4da9a966e535b4284b0a4;p=pandora-kernel.git iommu/amd: use handle_mm_fault directly This could be useful for debug in the future if we want to track major/minor faults more closely, and also avoids the put_page trick we used with gup. In order to do this, we also track the task struct in the PASID state structure. This lets us update the appropriate task stats after the fault has been handled, and may aid with debug in the future as well. Signed-off-by: Jesse Barnes Tested-by: Oded Gabbay Cc: Joerg Roedel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed