Re: [PATCH 2/4] drm/amdgpu: fix userptr HMM range handling v2

2022-11-15 Thread Felix Kuehling
On 2022-11-15 08:38, Christian König wrote: The basic problem here is that it's not allowed to page fault while holding the reservation lock. So it can happen that multiple processes try to validate an userptr at the same time. Work around that by putting the HMM range object into the mutex pro

Re: [PATCH 2/4] drm/amdgpu: fix userptr HMM range handling v2

2022-11-15 Thread Christian König
FYI Am 15.11.22 um 14:38 schrieb Christian König: The basic problem here is that it's not allowed to page fault while holding the reservation lock. So it can happen that multiple processes try to validate an userptr at the same time. Work around that by putting the HMM range object into the mu

Re: [PATCH 2/4] drm/amdgpu: fix userptr HMM range handling

2022-11-15 Thread Felix Kuehling
Am 2022-11-15 um 08:37 schrieb Christian König: Am 10.11.22 um 22:55 schrieb Felix Kuehling: Am 2022-11-10 um 08:00 schrieb Christian König: The basic problem here is that it's not allowed to page fault while holding the reservation lock. So it can happen that multiple processes try to valida

[PATCH 2/4] drm/amdgpu: fix userptr HMM range handling v2

2022-11-15 Thread Christian König
The basic problem here is that it's not allowed to page fault while holding the reservation lock. So it can happen that multiple processes try to validate an userptr at the same time. Work around that by putting the HMM range object into the mutex protected bo list for now. v2: make sure range i

Re: [PATCH 2/4] drm/amdgpu: fix userptr HMM range handling

2022-11-15 Thread Christian König
Am 10.11.22 um 22:55 schrieb Felix Kuehling: Am 2022-11-10 um 08:00 schrieb Christian König: The basic problem here is that it's not allowed to page fault while holding the reservation lock. So it can happen that multiple processes try to validate an userptr at the same time. Work around that

Re: [PATCH 2/4] drm/amdgpu: fix userptr HMM range handling

2022-11-10 Thread Felix Kuehling
Am 2022-11-10 um 08:00 schrieb Christian König: The basic problem here is that it's not allowed to page fault while holding the reservation lock. So it can happen that multiple processes try to validate an userptr at the same time. Work around that by putting the HMM range object into the mut

[PATCH 2/4] drm/amdgpu: fix userptr HMM range handling

2022-11-10 Thread Christian König
The basic problem here is that it's not allowed to page fault while holding the reservation lock. So it can happen that multiple processes try to validate an userptr at the same time. Work around that by putting the HMM range object into the mutex protected bo list for now. Signed-off-by: Christ