Thread (14 messages) 14 messages, 2 authors, 2014-09-23

[PATCH 2/2] remoteproc: add support to handle internal memories

From: Ohad Ben-Cohen <hidden>
Date: 2014-09-23 14:16:51
Also in: linux-omap, lkml

Hi Suman,

On Mon, Sep 15, 2014 at 10:39 PM, Suman Anna [off-list ref] wrote:
These processors need to use their internal RAM for loading, which is
not for generic usage by the kernel, so defining a CMA block for this
memory doesn't make sense.
Ok - so just to make sure I understand, this is physical memory you
want to use, which belongs to the remote processor, and which isn't
mapped normally by the kernel?
Will it suffice to replace the memcpy() with memcpy_toio()?
Yes, memcpy_toio should be fine (and then you don't need to cast the
cookie returned by ioremap).

Thanks,
Ohad.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help