]> git.karo-electronics.de Git - karo-tx-linux.git/commit
remoteproc: Add support for vringh (Host vrings)
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Mon, 18 Feb 2013 23:00:52 +0000 (09:30 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Feb 2013 20:47:28 +0000 (07:17 +1030)
commit414a13c3d236d2116dff36a9c9f974fa06e2e3e5
tree2ad7ae78462b1fa83b5952680e173b584be1fb97
parent4d8dc8b447486a85a0f7749321468035c5f46284
remoteproc: Add support for vringh (Host vrings)

Add functions for creating, deleting and kicking host-side virtio rings.

The host ring is not integrated with virtiqueues and cannot be managed
through virtio-config. Remoteproc must export functions for handling the
host-side virtio rings.

The functions rproc_virtio_get_vringh(), rproc_virtio_del_vringh(),
rproc_virtio_kick_vringh() are added to remoteproc_virtio.c. The
existing functions rproc_vq_interrupt() and rproc_virtio_find_vqs()
are updated to handle the new vhost rings.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
cc: Ohad Ben-Cohen <ohad@wizery.com>
cc: Rusty Russell <rusty@rustcorp.com.au>
cc: Ido Yariv <ido@wizery.com>
cc: Erwan Yvin <erwan.yvin@stericsson.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/remoteproc/Kconfig
drivers/remoteproc/remoteproc_virtio.c
include/linux/remoteproc.h