+ * @shmem_base_addr: the virtual memory address of the shared buffer
If you are only going to map this from this pointer for the
initiator/responder shared memory region, maybe it would benefit
from a more specific name?
+ pchan->shmem_base_addr = devm_ioremap(chan->mbox->dev,devm doesn't seem appropriate here given we have manual management
+ pchan->chan.shmem_base_addr,
+ pchan->chan.shmem_size);
of other resources, so the ordering will be different in remove
vs probe.
So I'd handle release of this manually in mbox_free_channel()