RE: [RFCv2 11/11] remoteproc: Support virtio config space.

2013-01-15 Thread Sjur BRENDELAND
Hi Ido, > > +void rproc_virtio_get(struct virtio_device *vdev, unsigned offset, > > + void *buf, unsigned > len) > > +{ > > + struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); > > + void *cfg = >rsc->vring[rvdev->rsc->num_of_vrings]; > > +

RE: [RFCv2 11/11] remoteproc: Support virtio config space.

2013-01-15 Thread Sjur BRENDELAND
Hi Ido, +void rproc_virtio_get(struct virtio_device *vdev, unsigned offset, + void *buf, unsigned len) +{ + struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); + void *cfg = rvdev-rsc-vring[rvdev-rsc-num_of_vrings]; + memcpy(buf,

Re: [RFCv2 11/11] remoteproc: Support virtio config space.

2012-12-20 Thread Ido Yariv
Hi Sjur, On Fri, Dec 14, 2012 at 05:07:00PM +0100, Sjur Brændeland wrote: > Support virtio configuration space and device status and > feature negotiation with remote device. This virtio device > can now access the resource table in shared memory. > > Signed-off-by: Sjur Brændeland > --- ...

Re: [RFCv2 11/11] remoteproc: Support virtio config space.

2012-12-20 Thread Ido Yariv
Hi Sjur, On Fri, Dec 14, 2012 at 05:07:00PM +0100, Sjur Brændeland wrote: Support virtio configuration space and device status and feature negotiation with remote device. This virtio device can now access the resource table in shared memory. Signed-off-by: Sjur Brændeland

[RFCv2 11/11] remoteproc: Support virtio config space.

2012-12-14 Thread Sjur Brændeland
Support virtio configuration space and device status and feature negotiation with remote device. This virtio device can now access the resource table in shared memory. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_core.c | 10 --

[RFCv2 11/11] remoteproc: Support virtio config space.

2012-12-14 Thread Sjur Brændeland
Support virtio configuration space and device status and feature negotiation with remote device. This virtio device can now access the resource table in shared memory. Signed-off-by: Sjur Brændeland sjur.brandel...@stericsson.com --- drivers/remoteproc/remoteproc_core.c | 10 --