RE: [PATCHv2] virtio_console: Add support for remoteproc serial

2012-09-20 Thread Sjur BRENDELAND
Hi Rusty, > > +#if IS_ENABLED(CONFIG_REMOTEPROC) > > +static inline bool is_rproc_serial(struct virtio_device *vdev) > > +{ > > + return vdev->id.device == VIRTIO_ID_RPROC_SERIAL; > > +} > > +#else > > +static inline bool is_rproc_serial(struct virtio_device *vdev) > > +{ > > + return false; >

RE: [PATCHv2] virtio_console: Add support for remoteproc serial

2012-09-20 Thread Sjur BRENDELAND
> From: Michael S. Tsirkin [mailto:m...@redhat.com] > sjur.brandel...@stericsson.com wrote: > > From: Sjur Brændeland > > > > Add a simple serial connection driver called > > VIRTIO_ID_RPROC_SERIAL (0xB) for communicating with a > > remote processor in an asymmetric multi-processing > > configurat

Re: [PATCHv2] virtio_console: Add support for remoteproc serial

2012-09-19 Thread Michael S. Tsirkin
On Wed, Sep 19, 2012 at 06:50:58PM +0200, sjur.brandel...@stericsson.com wrote: > From: Sjur Brændeland > > Add a simple serial connection driver called > VIRTIO_ID_RPROC_SERIAL (0xB) for communicating with a > remote processor in an asymmetric multi-processing > configuration. > > This implemen

Re: [PATCHv2] virtio_console: Add support for remoteproc serial

2012-09-19 Thread Rusty Russell
sjur.brandel...@stericsson.com writes: > From: Sjur Brændeland > > Add a simple serial connection driver called > VIRTIO_ID_RPROC_SERIAL (0xB) for communicating with a > remote processor in an asymmetric multi-processing > configuration. > > This implementation reuses the existing virtio_console

[PATCHv2] virtio_console: Add support for remoteproc serial

2012-09-19 Thread sjur . brandeland
From: Sjur Brændeland Add a simple serial connection driver called VIRTIO_ID_RPROC_SERIAL (0xB) for communicating with a remote processor in an asymmetric multi-processing configuration. This implementation reuses the existing virtio_console implementation, and adds support for DMA allocation of