diff options
author | Alex Sierra <alex.sierra@amd.com> | 2023-08-15 15:42:52 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-30 14:58:07 -0400 |
commit | ebac9414a56a5f7c336db5f5c7cc34713b649407 (patch) | |
tree | 5697d2e1ecff64d7954042e05962b716f0296e1a /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 00481158ca02d09c24edf5721094ab88e1477549 (diff) | |
download | linux-ebac9414a56a5f7c336db5f5c7cc34713b649407.tar.gz linux-ebac9414a56a5f7c336db5f5c7cc34713b649407.tar.bz2 linux-ebac9414a56a5f7c336db5f5c7cc34713b649407.zip |
drm/amdkfd: retry after EBUSY is returned from hmm_ranges_get_pages
if hmm_range_get_pages returns EBUSY error during
svm_range_validate_and_map, within the context of a page fault
interrupt. This should retry through svm_range_restore_pages
callback. Therefore we treat this as EAGAIN error instead, and defer
it to restore pages fallback.
Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions