OSDN Git Service

rpmsg: virtio_rpmsg: set rpmsg_buf_size customizable
authorLoic Pallardy <loic.pallardy@st.com>
Tue, 28 Mar 2017 11:49:43 +0000 (13:49 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 24 Aug 2017 22:37:10 +0000 (15:37 -0700)
commitf93848f9eeb0f87874b8ba8798570bf391eff17f
treec9eef1ca410c6adeb98b54cfdbfc61768edfbcca
parente156aba05040c832a9d898e16eaeea722fa1aed1
rpmsg: virtio_rpmsg: set rpmsg_buf_size customizable

Rpmsg buffer size is currently fixed to 512 bytes.
This patch introduces a new capability in struct virtproc_info
to tune shared buffer size between host and coprocessor
according to the needs.

Acked-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/virtio_rpmsg_bus.c