Re: Question regarding Virtio Console and Remoteproc

2012-06-05 Thread Amit Shah
Hi Sjur, On (Fri) 01 Jun 2012 [09:31:30], Sjur BRENDELAND wrote: Hi Amit and Rusty, I've been looking into the possibility of using the Virtio Console Driver together with the remoteproc framework to communicate with ST-Ericsson modem over shared memory. It seems like Virtio Console

Re: Question regarding Virtio Console and Remoteproc

2012-06-04 Thread Benjamin Herrenschmidt
On Mon, 2012-06-04 at 14:15 +0930, Rusty Russell wrote: Something along those lines is also needed for remote processors which access memory via an IOMMU (e.g. OMAP4's M3 and DSP). Allocating the memory via the DMA API will seamlessly configure the relevant IOMMU as needed, and will

Re: Question regarding Virtio Console and Remoteproc

2012-06-03 Thread Rusty Russell
On Fri, 1 Jun 2012 10:51:38 +0300, Ohad Ben-Cohen o...@wizery.com wrote: On Fri, Jun 1, 2012 at 10:31 AM, Sjur BRENDELAND sjur.brandel...@stericsson.com wrote:        if (virtio_has_feature(vdev, VIRTIO_CONSOLE_USE_DMA_MEM)) {                dma_addr_t dma;                buf =

Question regarding Virtio Console and Remoteproc

2012-06-01 Thread Sjur BRENDELAND
Hi Amit and Rusty, I've been looking into the possibility of using the Virtio Console Driver together with the remoteproc framework to communicate with ST-Ericsson modem over shared memory. It seems like Virtio Console would be a good fit, except for a issue with buffer allocation. Due to HW