[PATCH v2] drm/amdkfd: reserve the BO before validating it

2024-01-22 Thread Lang Yu
Fixes: 410f08516e0f ("drm/amdkfd: Move dma unmapping after TLB flush") v2: Avoid unmapping attachment twice when ERESTARTSYS. [ 41.708711] WARNING: CPU: 0 PID: 1463 at drivers/gpu/drm/ttm/ttm_bo.c:846 ttm_bo_validate+0x146/0x1b0 [ttm] [ 41.708989] Call Trace: [ 41.708992] [ 41.708996]

Re: [PATCH v2] drm/amdkfd: reserve the BO before validating it

2024-01-24 Thread Felix Kuehling
On 2024-01-22 4:08, Lang Yu wrote: Fixes: 410f08516e0f ("drm/amdkfd: Move dma unmapping after TLB flush") v2: Avoid unmapping attachment twice when ERESTARTSYS. [ 41.708711] WARNING: CPU: 0 PID: 1463 at drivers/gpu/drm/ttm/ttm_bo.c:846 ttm_bo_validate+0x146/0x1b0 [ttm] [ 41.708989] Call Tr

RE: [PATCH v2] drm/amdkfd: reserve the BO before validating it

2024-01-25 Thread Yu, Lang
[AMD Official Use Only - General] >-Original Message- >From: Kuehling, Felix >Sent: Thursday, January 25, 2024 5:41 AM >To: Yu, Lang ; amd-gfx@lists.freedesktop.org >Cc: Francis, David >Subject: Re: [PATCH v2] drm/amdkfd: reserve the BO before validating it > >

Re: [PATCH v2] drm/amdkfd: reserve the BO before validating it

2024-01-26 Thread Felix Kuehling
On 2024-01-25 20:59, Yu, Lang wrote: [AMD Official Use Only - General] -Original Message- From: Kuehling, Felix Sent: Thursday, January 25, 2024 5:41 AM To: Yu, Lang ; amd-gfx@lists.freedesktop.org Cc: Francis, David Subject: Re: [PATCH v2] drm/amdkfd: reserve the BO before

RE: [PATCH v2] drm/amdkfd: reserve the BO before validating it

2024-01-28 Thread Yu, Lang
[AMD Official Use Only - General] >-Original Message- >From: Kuehling, Felix >Sent: Saturday, January 27, 2024 3:22 AM >To: Yu, Lang ; amd-gfx@lists.freedesktop.org >Cc: Francis, David >Subject: Re: [PATCH v2] drm/amdkfd: reserve the BO before validating it > >

Re: [PATCH v2] drm/amdkfd: reserve the BO before validating it

2024-01-29 Thread Felix Kuehling
validating it On 2024-01-25 20:59, Yu, Lang wrote: [AMD Official Use Only - General] -Original Message- From: Kuehling, Felix Sent: Thursday, January 25, 2024 5:41 AM To: Yu, Lang ; amd-gfx@lists.freedesktop.org Cc: Francis, David Subject: Re: [PATCH v2] drm/amdkfd: reserve the BO before

RE: [PATCH v2] drm/amdkfd: reserve the BO before validating it

2024-01-29 Thread Yu, Lang
[Public] >-Original Message- >From: Kuehling, Felix >Sent: Monday, January 29, 2024 10:58 PM >To: Yu, Lang ; amd-gfx@lists.freedesktop.org >Cc: Francis, David >Subject: Re: [PATCH v2] drm/amdkfd: reserve the BO before validating it > >On 2024-01-28 21:30,