android_kernel_msm-6.1_noth.../include/linux/rpmsg
Chris Lew 052dc8dd1f rpmsg: glink: Add an interface for memshare
In the initial version of zero copy, the memshare driver is supposed to
allocate buffers using the rproc device and GLINK should be able to
access the dma buffer through the rproc helpers.

This approach starts to fall apart when reserved memory regions are
needed for larger allocations. The q6v5_pas rproc can sometimes specify
a reserved region to allocate dma from, when this is present there is
no facility in rproc to point to a different dma region when allocating
from memshare.

This patch adds a interface for the memshare driver to register regions
directly with glink. When glink gets a zero copy packet, it can then
query and prepare cpu access using this interface instead of relying
on remoteproc.

This is a temporary interface until sharing buffers between remoteproc,
memshare and glink is accepeted.

Change-Id: I1438cea517fad55d996852cb17cb2f591190cf04
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2023-03-10 11:43:43 -08:00
..
byteorder.h rpmsg: Introduce __rpmsg{16|32|64} types 2020-11-24 10:10:59 -06:00
mtk_rpmsg.h
ns.h rpmsg: Turn name service into a stand alone driver 2020-11-24 10:11:59 -06:00
qcom_glink.h rpmsg: glink: Add an interface for memshare 2023-03-10 11:43:43 -08:00
qcom_smd.h