Applied the series. Thanks!
On Mon, Jul 13, 2026 at 7:09 AM Christian König <[email protected]> wrote: > > On 7/11/26 13:21, Timur Kristóf wrote: > > These are in the dmesg logs but are missing from devcoredumps. > > > > Signed-off-by: Timur Kristóf <[email protected]> > > Reviewed-by: Christian König <[email protected]> > > > --- > > drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c | 7 ++++++- > > drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h | 1 + > > 2 files changed, 7 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c > > b/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c > > index 4fd0df3aa70d..aaf091b7f9d0 100644 > > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c > > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c > > @@ -356,10 +356,14 @@ amdgpu_devcoredump_format(char *buffer, size_t count, > > struct amdgpu_coredump_inf > > drm_printf(&p, "kernel: %s\n", init_utsname()->release); > > drm_printf(&p, "module: " KBUILD_MODNAME "\n"); > > drm_printf(&p, "time: %ptSp\n", &coredump->reset_time); > > + drm_printf(&p, "pasid: %u\n", coredump->pasid); > > + drm_printf(&p, "vmid: %u\n", coredump->vmid); > > > > if (coredump->reset_task_info.task.pid) > > - drm_printf(&p, "process_name: %s PID: %d\n", > > + drm_printf(&p, "process_name: %s TGID: %d thread: %s PID: > > %d\n", > > coredump->reset_task_info.process_name, > > + coredump->reset_task_info.tgid, > > + coredump->reset_task_info.task.comm, > > coredump->reset_task_info.task.pid); > > > > /* SOC Information */ > > @@ -563,6 +567,7 @@ void amdgpu_coredump(struct amdgpu_device *adev, bool > > skip_vram_check, > > amdgpu_vm_put_task_info(ti); > > } > > coredump->pasid = job->pasid; > > + coredump->vmid = job->vmid; > > coredump->num_ibs = job->num_ibs; > > for (i = 0; i < job->num_ibs; ++i) { > > coredump->ibs[i].gpu_addr = job->ibs[i].gpu_addr; > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h > > b/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h > > index 2371e20fc68b..63f27337c09a 100644 > > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h > > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h > > @@ -63,6 +63,7 @@ struct amdgpu_coredump_info { > > char *formatted; > > > > unsigned int pasid; > > + unsigned int vmid; > > int num_ibs; > > struct amdgpu_coredump_ib_info ibs[] __counted_by(num_ibs); > > }; >
