Re: [PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2025-01-30 Thread Christian König
Am 29.01.25 um 19:18 schrieb Joonas Lahtinen: Would be great to reach a consensus on the high level details before spinning off further series addressing the smaller items. I would say that attaching debug metadata to the GPU VMA doesn't look like the best design, but if you just do that inside

Re: [PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2025-01-29 Thread Joonas Lahtinen
Quoting Christian König (2025-01-29 12:33:52) > Am 29.01.25 um 09:03 schrieb Joonas Lahtinen: > > Quoting Christian König (2024-12-20 14:56:14) > >> Am 20.12.24 um 12:31 schrieb Mika Kuoppala: > >>> Implement debugger vm access for userptrs. > >>> > >>> When bind is done, take ref to current task s

Re: [PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2025-01-29 Thread Christian König
Am 29.01.25 um 09:03 schrieb Joonas Lahtinen: Quoting Christian König (2024-12-20 14:56:14) Am 20.12.24 um 12:31 schrieb Mika Kuoppala: Implement debugger vm access for userptrs. When bind is done, take ref to current task so that we know from which vm the address was bound. Then during debugg

Re: [PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2025-01-29 Thread Joonas Lahtinen
Quoting Christian König (2024-12-20 14:56:14) > Am 20.12.24 um 12:31 schrieb Mika Kuoppala: > > Implement debugger vm access for userptrs. > > > > When bind is done, take ref to current task so that > > we know from which vm the address was bound. Then during > > debugger pread/pwrite we use this t

Re: [PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2025-01-13 Thread Mika Kuoppala
Thomas Hellström writes: > On Fri, 2024-12-20 at 13:31 +0200, Mika Kuoppala wrote: >> Implement debugger vm access for userptrs. >> >> When bind is done, take ref to current task so that >> we know from which vm the address was bound. Then during >> debugger pread/pwrite we use this target task

Re: [PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2024-12-23 Thread Thomas Hellström
On Fri, 2024-12-20 at 13:31 +0200, Mika Kuoppala wrote: > Implement debugger vm access for userptrs. > > When bind is done, take ref to current task so that > we know from which vm the address was bound. Then during > debugger pread/pwrite we use this target task as > parameter to access the debug

Re: [PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2024-12-20 Thread Christian König
Am 20.12.24 um 12:31 schrieb Mika Kuoppala: Implement debugger vm access for userptrs. When bind is done, take ref to current task so that we know from which vm the address was bound. Then during debugger pread/pwrite we use this target task as parameter to access the debuggee vm with access_pro

[PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2024-12-20 Thread Mika Kuoppala
Implement debugger vm access for userptrs. When bind is done, take ref to current task so that we know from which vm the address was bound. Then during debugger pread/pwrite we use this target task as parameter to access the debuggee vm with access_process_vm(). This is based on suggestions from

[PATCH 13/26] RFC drm/xe/eudebug: userptr vm pread/pwrite

2024-12-16 Thread Mika Kuoppala
Implement debugger vm access for userptrs. When bind is done, take ref to current task so that we know from which vm the address was bound. Then during debugger pread/pwrite we use this target task as parameter to access the debuggee vm with access_process_vm(). This is based on suggestions from