Re: [PATCH 4/5] remoteproc: core: Supply framework to request, declare and fetch shared memory

From: Bjorn Andersson
Date: Wed May 11 2016 - 18:30:38 EST


On Thu 05 May 06:29 PDT 2016, Lee Jones wrote:

> Normally used for management of; carveout, devmem and trace memory.
>

I like the gist of this, but I have two issues from the Qualcomm land
that I think would tie into a slightly more generic version of this.

1) Registering carveouts from memory-regions, without having a resource
table.
2) Tying the Qualcomm shared memory implementation to the appropriate
remoteproc instance (e.g. for crash handling).

I also think we should match the subdev with entries from the resource
table based on some key, so that we don't add a limitation of only
having a single carveout per rproc.


I will do some prototyping based on your patch and will get back to you.

Regards,
Bjorn