Re: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-10 Thread Philip Yang
    Sent: Tuesday, January 7, 2025 10:34 AM     To: Deng, Emily  ; Kuehling, Felix       ;amd-gfx@lists.freedesktop.org; Yang, Philip

Re: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-09 Thread Felix Kuehling
ap cannot get the correct vm to flush. adev->wq is shared by all processes and all xcp partitions, maybe better to add wq to KFD process info, but right now amdgpu_vm_update_range cannot access KFD process info. Regards, Philip Emily Deng Best Wishes *From:*amd-gfx *On Behalf Of *Den

Re: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-08 Thread Philip Yang
To: Deng, Emily <emily.d...@amd.com>; Kuehling, Felix <felix.kuehl...@amd.com>; amd-gfx@lists.freedesktop.org; Yang, Philip <philip.y...@amd.com>;

RE: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-07 Thread Deng, Emily
gt;] kthread+0x118/0x140 [Wed Jan 8 10:35:44 2025 <0.02>] ? __kthread_bind_mask+0x60/0x60 [Wed Jan 8 10:35:44 2025 <0.02>] ret_from_fork+0x1f/0x30 Emily Deng Best Wishes From: amd-gfx On Behalf Of Deng, Emily Sent: Wednesday, January 8, 2025 8:34 AM To: Yang, Phi

RE: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-07 Thread Deng, Emily
...@amd.com>; amd-gfx@lists.freedesktop.org<mailto:amd-gfx@lists.freedesktop.org>; Yang, Philip <mailto:philip.y...@amd.com>; Koenig, Christian <mailto:christian.koe...@amd.com> Subject: RE: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue [AMD Official

Re: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-07 Thread Philip Yang
Deng, Emily ; Kuehling, Felix ; amd-gfx@lists.freedesktop.org; Yang, Philip ; Koenig, Christian Subject: RE: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue [AMD Official Use Only - AMD Internal Distribution Only] Ping How about this? Currently it is easily

RE: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-07 Thread Deng, Emily
-Original Message- >From: Deng, Emily >Sent: Tuesday, January 7, 2025 10:34 AM >To: Deng, Emily ; Kuehling, Felix >; amd-gfx@lists.freedesktop.org; Yang, Philip >; Koenig, Christian >Subject: RE: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages >iss

RE: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-06 Thread Deng, Emily
t: Monday, January 6, 2025 9:52 AM >To: Kuehling, Felix ; amd-gfx@lists.freedesktop.org; >Yang, Philip ; Koenig, Christian > >Subject: RE: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages >issue > >[AMD Official Use Only - AMD Internal Distribution Only] > >[

RE: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-05 Thread Deng, Emily
[AMD Official Use Only - AMD Internal Distribution Only] >-Original Message- >From: Kuehling, Felix >Sent: Saturday, January 4, 2025 7:18 AM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org; Yang, >Philip ; Koenig, Christian >Subject: Re: [PATCH v2] drm/amdgpu: F

Re: [PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-03 Thread Felix Kuehling
On 2025-01-02 21:26, Emily Deng wrote: As the delayed free pt, the wanted freed bo has been reused which will cause unexpected page fault, and then call svm_range_restore_pages. Detail as below: 1.It wants to free the pt in follow code, but it is not freed immediately and used “schedule_work(&

[PATCH v2] drm/amdgpu: Fix the looply call svm_range_restore_pages issue

2025-01-02 Thread Emily Deng
As the delayed free pt, the wanted freed bo has been reused which will cause unexpected page fault, and then call svm_range_restore_pages. Detail as below: 1.It wants to free the pt in follow code, but it is not freed immediately and used “schedule_work(&vm->pt_free_work);”. [ 92.276838] Call T