Re: [PATCH] drm/amdkfd: remap unaligned svm ranges that have split

2023-10-19 Thread Felix Kuehling
On 2023-10-19 16:51, Alex Sierra wrote: Split SVM ranges that have been mapped into 2MB page table entries, require to be remap in case the split has happened in a non-aligned VA. [WHY]: This condition causes the 2MB page table entries be split into 4KB PTEs. Signed-off-by: Alex Sierra

Re: [PATCH] drm/amdkfd: remap unaligned svm ranges that have split

2023-10-19 Thread Felix Kuehling
On 2023-10-19 16:53, Philip Yang wrote: On 2023-10-19 16:05, Felix Kuehling wrote: On 2023-10-18 18:26, Alex Sierra wrote: Split SVM ranges that have been mapped into 2MB page table entries, require to be remap in case the split has happened in a non-aligned VA. [WHY]: This condition

Re: [PATCH] drm/amdkfd: remap unaligned svm ranges that have split

2023-10-19 Thread Philip Yang
On 2023-10-19 16:05, Felix Kuehling wrote: On 2023-10-18 18:26, Alex Sierra wrote: Split SVM ranges that have been mapped into 2MB page table entries, require to be remap in case the split has happened in a

[PATCH] drm/amdkfd: remap unaligned svm ranges that have split

2023-10-19 Thread Alex Sierra
Split SVM ranges that have been mapped into 2MB page table entries, require to be remap in case the split has happened in a non-aligned VA. [WHY]: This condition causes the 2MB page table entries be split into 4KB PTEs. Signed-off-by: Alex Sierra --- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 43

Re: [PATCH] drm/amdkfd: remap unaligned svm ranges that have split

2023-10-19 Thread Felix Kuehling
On 2023-10-18 18:26, Alex Sierra wrote: Split SVM ranges that have been mapped into 2MB page table entries, require to be remap in case the split has happened in a non-aligned VA. [WHY]: This condition causes the 2MB page table entries be split into 4KB PTEs. Signed-off-by: Alex Sierra ---

[PATCH] drm/amdkfd: remap unaligned svm ranges that have split

2023-10-18 Thread Alex Sierra
Split SVM ranges that have been mapped into 2MB page table entries, require to be remap in case the split has happened in a non-aligned VA. [WHY]: This condition causes the 2MB page table entries be split into 4KB PTEs. Signed-off-by: Alex Sierra --- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 45