diff options
author | 2019-05-07 17:46:14 -0400 | |
---|---|---|
committer | 2019-05-24 12:21:02 -0500 | |
commit | 1986a3b022bee7ad34d0c539b32a81575bf3c9a3 (patch) | |
tree | 21a48329d9d9ace6691d8530d43e2fd1a1d83e38 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu: more descriptive message if HMM not enabled (diff) | |
download | wireguard-linux-1986a3b022bee7ad34d0c539b32a81575bf3c9a3.tar.xz wireguard-linux-1986a3b022bee7ad34d0c539b32a81575bf3c9a3.zip |
drm/amdgpu: Improve error handling for HMM
Use unsigned long for number of pages.
Check that pfns are valid after hmm_vma_fault. If they are not,
return an error instead of continuing with invalid page pointers and
PTEs.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions