Skip to content
Commit b157f598 authored by Suman Anna's avatar Suman Anna Committed by Xulin Sun
Browse files

remoteproc: pru: Add support for virtio rpmsg stack

commit 52e18bc6bcbd67c3b822ced4d06f8e8b5f3fad1f from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git



The PRU remoteproc driver has been enhanced to support the optional
rpmsg stack using the virtio-ring based communication transport
between MPU and a PRU core. This provides support to any firmware
images supporting the virtio devices.

The virtio-ring signalling support is provided through two PRU system
events - one event used in each direction for kicking from one processor
and receiving notification on the other processor. It provides an
uniform solution across all the OMAP, Keystone and Davinci architectures.
The virtio-ring based communication requires the corresponding firmware
support though.

Because the vring irq mappings described in DT may conflict with
some PRU client irq mappings described in DT, move part responsible for
gathering vring irq to pru_rproc_start stage and perform it only if
rvdevs are present.

Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
Co-developed-by: default avatarGrzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
[grzegorz.jaszczyk@linaro.org: Gather vring irq only when rvdevs
are present]
Signed-off-by: default avatarGrzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent 86da4b77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment