commit | 1986a3b022bee7ad34d0c539b32a81575bf3c9a3 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Tue May 07 17:46:14 2019 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri May 24 12:21:02 2019 -0500 |
tree | 21a48329d9d9ace6691d8530d43e2fd1a1d83e38 | |
parent | b9c5eb5b801a76df47e12a5754dcc1d3c4b34625 [diff] |
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>