Re: [PATCH v3 2/2] drm/amdkfd: pause autosuspend when creating pdd

2024-12-04 Thread Felix Kuehling
On 2024-12-03 09:30, Yunxiang Li wrote: When using MES creating a pdd will require talking to the GPU to setup the relevant context. The code here forgot to wake up the GPU in case it was in suspend, this causes KVM to EFAULT for passthrough GPU for example. This issue can be masked if the GPU

Re: [PATCH v3 2/2] drm/amdkfd: pause autosuspend when creating pdd

2024-12-04 Thread Felix Kuehling
On 2024-12-04 18:36, Felix Kuehling wrote: On 2024-12-03 09:30, Yunxiang Li wrote: When using MES creating a pdd will require talking to the GPU to setup the relevant context. The code here forgot to wake up the GPU in case it was in suspend, this causes KVM to EFAULT for passthrough GPU for

[PATCH v3 2/2] drm/amdkfd: pause autosuspend when creating pdd

2024-12-03 Thread Yunxiang Li
When using MES creating a pdd will require talking to the GPU to setup the relevant context. The code here forgot to wake up the GPU in case it was in suspend, this causes KVM to EFAULT for passthrough GPU for example. This issue can be masked if the GPU was woken up by other things (e.g. opening t