Joerg Roedel 7b5cc1a9c9 iommu/amd: Do proper access checking before calling handle_mm_fault()
The handle_mm_fault function expects the caller to do the
access checks. Not doing so and calling the function with
wrong permissions is a bug (catched by a BUG_ON).
So fix this bug by adding proper access checking to the io
page-fault code in the AMD IOMMUv2 driver.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-By: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2015-12-14 15:37:47 +01:00
..
2015-11-05 16:12:10 -08:00
2015-06-23 18:27:19 -07:00
2015-11-05 16:12:10 -08:00
2015-02-03 18:47:18 +01:00
2015-07-28 15:48:01 +01:00
2015-11-05 16:12:10 -08:00
2015-11-05 16:12:10 -08:00