Re: [PATCH v2] drm/amdkfd: make sure VM is ready for updating operations

2024-04-18 Thread Felix Kuehling
On 2024-04-11 4:11, Lang Yu wrote: When page table BOs were evicted but not validated before updating page tables, VM is still in evicting state, amdgpu_vm_update_range returns -EBUSY and restore_process_worker runs into a dead loop. v2: Split the BO validation and page table update into two sep

Re: [PATCH v2] drm/amdkfd: make sure VM is ready for updating operations

2024-04-16 Thread Christian König
il 11, 2024 4:11 PM To: amd-gfx@lists.freedesktop.org Cc: Koenig, Christian ; Kuehling, Felix ; Yu, Lang Subject: [PATCH v2] drm/amdkfd: make sure VM is ready for updating operations When page table BOs were evicted but not validated before updating page tables, VM is still in evicting

RE: [PATCH v2] drm/amdkfd: make sure VM is ready for updating operations

2024-04-15 Thread Yu, Lang
[Public] ping >-Original Message- >From: Yu, Lang >Sent: Thursday, April 11, 2024 4:11 PM >To: amd-gfx@lists.freedesktop.org >Cc: Koenig, Christian ; Kuehling, Felix >; Yu, Lang >Subject: [PATCH v2] drm/amdkfd: make sure VM is ready for updating >operations >

[PATCH v2] drm/amdkfd: make sure VM is ready for updating operations

2024-04-11 Thread Lang Yu
When page table BOs were evicted but not validated before updating page tables, VM is still in evicting state, amdgpu_vm_update_range returns -EBUSY and restore_process_worker runs into a dead loop. v2: Split the BO validation and page table update into two separate loops in amdgpu_amdkfd_restore_