diff options
| author | Joerg Roedel <[email protected]> | 2015-11-17 15:11:36 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2015-12-14 14:37:47 +0000 |
| commit | 7b5cc1a9c9f4096555345c365508d727149553fe (patch) | |
| tree | a704d1bec65c7bda54af3dffbeca97feeb09c57c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | Linux 4.4-rc5 (diff) | |
| download | kernel-7b5cc1a9c9f4096555345c365508d727149553fe.tar.gz kernel-7b5cc1a9c9f4096555345c365508d727149553fe.zip | |
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 <[email protected]>
Acked-By: David Woodhouse <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
