Re: [PATCH 2/2] drm/amdkfd: heavy-weight flush TLB after unmap

2021-05-14 Thread Christian König
Am 13.05.21 um 18:58 schrieb Philip Yang: Need do a heavy-weight TLB flush to make sure we have no more dirty data in the cache for the unmapped pages. Add flush_type parameter to amdgpu_amdkfd_flush_gpu_tlb_pasid. Using a define for the flush type instead of magic numbers would be really

Re: [PATCH 2/2] drm/amdkfd: heavy-weight flush TLB after unmap

2021-05-13 Thread Felix Kuehling
Am 2021-05-13 um 12:58 p.m. schrieb Philip Yang: > Need do a heavy-weight TLB flush to make sure we have no more dirty data > in the cache for the unmapped pages. > > Add flush_type parameter to amdgpu_amdkfd_flush_gpu_tlb_pasid. > > Signed-off-by: Philip Yang The series is Reviewed-by: Felix

[PATCH 2/2] drm/amdkfd: heavy-weight flush TLB after unmap

2021-05-13 Thread Philip Yang
Need do a heavy-weight TLB flush to make sure we have no more dirty data in the cache for the unmapped pages. Add flush_type parameter to amdgpu_amdkfd_flush_gpu_tlb_pasid. Signed-off-by: Philip Yang --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 4 ++--