On Thu, 27 Feb 2025 23:16:26 +0000 Adrián Larumbe <adrian.larumbe@xxxxxxxxxxxxx> wrote: > -static int panthor_alloc_heap_chunk(struct panthor_device *ptdev, > +static int panthor_alloc_heap_chunk(struct panthor_heap_pool *pool, > struct panthor_vm *vm, > struct panthor_heap *heap, > bool initial_chunk) The pool has a ptdev and a vm, so we can get rid of the vm field and make the panthor_alloc_heap_chunk() and panthor_fre_heap_chunk() helpers consistent.