Re: [PATCH v1 4/5] drm/panthor: Propagate VM-level faults to groups

From: Boris Brezillon

Date: Mon Dec 15 2025 - 07:46:26 EST


On Mon, 15 Dec 2025 11:54:56 +0000
Lukas Zapolskas <lukas.zapolskas@xxxxxxx> wrote:

> group->task_info.pid, group->task_info.comm);
>
> group->fatal_queues |= BIT(cs_id);
> +
> + if (panthor_vm_has_unhandled_faults(group->vm)) {
> + struct panthor_vm_fault *fault;
> +
> + fault = panthor_vm_get_fault(group->vm);
> + if (fault)
> + group->fatal = *fault;

group->vm can't be NULL, meaning fault can't be NULL either.

> + }
> }