Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1609987
| From | Suman Anna <s-anna@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC LINUX PATCH 0/3] Allow remote to specify shared memory |
| Date | 2017-03-27 18:50 +0200 |
| Message-ID | <tpG09-2yV-1@gated-at.bofh.it> (permalink) |
| References | <tpG09-2yV-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Wendy, On 03/24/2017 02:22 PM, Wendy Liang wrote: > This patch enables the remoteproc to specify the shared memory. > Remoteproc declared this memory as DMA memory. > It can be used for virtio, or shared buffers. You should be able to achieve this without any remoteproc core changes. You can do this by defining a reserved-memory node in your DTS file (can be a CMA pool or a DMA pool), assigning the node using memory-region in your remoteproc DT node and using the function, of_reserved_mem_device_init() in your remoteproc driver. regards Suman > > Wendy Liang (3): > remoteproc: add rproc mem resource entry > remoteproc: add rproc_mem resource entry handler > remoteproc: Release DMA declare mem when cleanup rsc > > drivers/remoteproc/remoteproc_core.c | 40 ++++++++++++++++++++++++++++++++++++ > include/linux/remoteproc.h | 23 ++++++++++++++++++++- > 2 files changed, 62 insertions(+), 1 deletion(-) >
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [RFC LINUX PATCH 0/3] Allow remote to specify shared memory Suman Anna <s-anna@ti.com> - 2017-03-27 18:50 +0200
Re: [RFC LINUX PATCH 0/3] Allow remote to specify shared memory Wendy Liang <sunnyliangjy@gmail.com> - 2017-03-28 21:00 +0200
Re: [RFC LINUX PATCH 0/3] Allow remote to specify shared memory Suman Anna <s-anna@ti.com> - 2017-03-29 01:30 +0200
RE: [RFC LINUX PATCH 0/3] Allow remote to specify shared memory Loic PALLARDY <loic.pallardy@st.com> - 2017-03-29 21:00 +0200
csiph-web