search for: rproc_virtio_kick_vringh

Displaying 8 results from an estimated 8 matches for "rproc_virtio_kick_vringh".

2013 Jan 18
0
[RFC] remoteproc: Add support for host-side (reversed) vrings
...ing host-side virtio rings. The host ring is not integrated with virtiqueues and cannot be managed through virtio-config. So the virtio drivers must call functions exported from remoteproc 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 at stericsson.com> --- drivers/remoteproc/remoteproc_virtio.c | 116 +++++++++++++++++++++++...
2013 Jan 18
0
[RFC] remoteproc: Add support for host-side (reversed) vrings
...ing host-side virtio rings. The host ring is not integrated with virtiqueues and cannot be managed through virtio-config. So the virtio drivers must call functions exported from remoteproc 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 at stericsson.com> --- drivers/remoteproc/remoteproc_virtio.c | 116 +++++++++++++++++++++++...
2013 Feb 12
3
[PATCHv2 vringh 0/3] Introduce CAIF Virtio driver
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> This driver depends on Rusty's new host virtio ring implementation, so this patch-set is based on the vringh branch in Rusty's git. Changes since V1: - Use the new iov helper functions, and simplify iov handling. However this triggers compile warnings, as it takes struct iov while kernel api uses struct kiov - Introduced
2013 Feb 12
3
[PATCHv2 vringh 0/3] Introduce CAIF Virtio driver
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> This driver depends on Rusty's new host virtio ring implementation, so this patch-set is based on the vringh branch in Rusty's git. Changes since V1: - Use the new iov helper functions, and simplify iov handling. However this triggers compile warnings, as it takes struct iov while kernel api uses struct kiov - Introduced
2013 Feb 10
3
[PATCH vringh 0/2] Introduce CAIF Virtio driver
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> This patch-set introduces the CAIF Virtio Link layer driver. This driver depends on Rusty's new host virtio ring implementation, so this patch-set is based on the vringh branch in Rusty's git. Regards, Sjur cc: Rusty Russell <rusty at rustcorp.com.au> cc: Ohad Ben-Cohen <ohad at wizery.com> cc: David S. Miller
2013 Feb 10
3
[PATCH vringh 0/2] Introduce CAIF Virtio driver
From: Sjur Br?ndeland <sjur.brandeland at stericsson.com> This patch-set introduces the CAIF Virtio Link layer driver. This driver depends on Rusty's new host virtio ring implementation, so this patch-set is based on the vringh branch in Rusty's git. Regards, Sjur cc: Rusty Russell <rusty at rustcorp.com.au> cc: Ohad Ben-Cohen <ohad at wizery.com> cc: David S. Miller
2013 Feb 27
2
Wrappers for vringh (was Re: [PATCHv2 vringh 1/3] remoteproc: Add support for vringh (Host vrings))
..._device *vdev) - cfv->vr_rx = rproc_virtio_new_vringh(vdev, RX_RING_INDEX, cfv_recv); - if (!cfv->vr_rx) + err = vdev->config->find_vrh(vdev, 1, &cfv->vr_rx, &vrh_cbs); + if (err) @@ -504 +506 @@ static int cfv_probe(struct virtio_device *vdev) - rproc_virtio_kick_vringh(vdev, RX_RING_INDEX); + cfv->vr_rx->notify(cfv->vr_rx); @@ -522 +524 @@ static void cfv_remove(struct virtio_device *vdev) - rproc_virtio_del_vringh(vdev, RX_RING_INDEX); + vdev->config->del_vrhs(cfv->vdev); Thanks, Sjur
2013 Feb 27
2
Wrappers for vringh (was Re: [PATCHv2 vringh 1/3] remoteproc: Add support for vringh (Host vrings))
..._device *vdev) - cfv->vr_rx = rproc_virtio_new_vringh(vdev, RX_RING_INDEX, cfv_recv); - if (!cfv->vr_rx) + err = vdev->config->find_vrh(vdev, 1, &cfv->vr_rx, &vrh_cbs); + if (err) @@ -504 +506 @@ static int cfv_probe(struct virtio_device *vdev) - rproc_virtio_kick_vringh(vdev, RX_RING_INDEX); + cfv->vr_rx->notify(cfv->vr_rx); @@ -522 +524 @@ static void cfv_remove(struct virtio_device *vdev) - rproc_virtio_del_vringh(vdev, RX_RING_INDEX); + vdev->config->del_vrhs(cfv->vdev); Thanks, Sjur