]> git.baikalelectronics.ru Git - kernel.git/commit
rpmsg: virtio: allocate buffer from parent
authorLoic Pallardy <loic.pallardy@st.com>
Thu, 10 Jan 2019 13:50:51 +0000 (14:50 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 21 Feb 2019 05:15:49 +0000 (21:15 -0800)
commitaeeb64d1e8fa25d27c7ccfb700cc4de1bd7533cd
treeb14a36f5d5392292f623de575f81e0f546187014
parente36d01dff96f23d2b3ef79035ead4f5cfde4840c
rpmsg: virtio: allocate buffer from parent

Remoteproc is now capable to create one specific sub-device per
virtio link to associate a dedicated memory pool.
This implies to change device used by virtio_rpmsg for
buffer allocation from grand-parent to parent.

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Tested-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/virtio_rpmsg_bus.c