diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-11-17 16:11:39 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-12-14 15:37:55 +0100 |
commit | 7f8312a3b31de5676144d9e75f2f2647c8b4b769 (patch) | |
tree | aea5b2b647c49e6b6fc1a215856bb174945861b4 /drivers/iommu/amd_iommu_v2.c | |
parent | 7b5cc1a9c9f4096555345c365508d727149553fe (diff) |
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>
Diffstat (limited to 'drivers/iommu/amd_iommu_v2.c')
0 files changed, 0 insertions, 0 deletions