aboutsummaryrefslogtreecommitdiff
path: root/drivers/iommu/fsl_pamu_domain.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2015-11-17 16:11:36 +0100
committerJoerg Roedel <jroedel@suse.de>2015-12-14 15:37:47 +0100
commit7b5cc1a9c9f4096555345c365508d727149553fe (patch)
treea704d1bec65c7bda54af3dffbeca97feeb09c57c /drivers/iommu/fsl_pamu_domain.c
parent9f9499ae8e6415cefc4fe0a96ad0e27864353c89 (diff)
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>
Diffstat (limited to 'drivers/iommu/fsl_pamu_domain.c')
0 files changed, 0 insertions, 0 deletions