[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180412183052.GS350@char.us.oracle.com>
Date: Thu, 12 Apr 2018 14:30:52 -0400
From: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
To: Boris Ostrovsky <boris.ostrovsky@...cle.com>
Cc: Oleksandr Andrushchenko <andr2000@...il.com>,
xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org,
alsa-devel@...a-project.org, jgross@...e.com,
iurii.konovalenko@...ballogic.com, tiwai@...e.de,
Oleksandr Grytsov <oleksandr_grytsov@...m.com>
Subject: Re: [PATCH RESEND] xen/sndif: Sync up with the canonical definition
in Xen
On Thu, Apr 12, 2018 at 01:46:33PM -0400, Boris Ostrovsky wrote:
> On 04/12/2018 01:26 PM, Oleksandr Andrushchenko wrote:
> > This is the sync up with the canonical definition of the sound
> > protocol in Xen:
> >
> > 1. Protocol version was referenced in the protocol description,
> > but missed its definition. Fixed by adding a constant
> > for current protocol version.
> >
> > 2. Some of the request descriptions have "reserved" fields
> > missed: fixed by adding corresponding entries.
> >
> > 3. Extend the size of the requests and responses to 64 octets.
> > Bump protocol version to 2.
> >
> > 4. Add explicit back and front synchronization
> > In order to provide explicit synchronization between backend and
> > frontend the following changes are introduced in the protocol:
> > - add new ring buffer for sending asynchronous events from
> > backend to frontend to report number of bytes played by the
> > frontend (XENSND_EVT_CUR_POS)
> > - introduce trigger events for playback control: start/stop/pause/resume
> > - add "req-" prefix to event-channel and ring-ref to unify naming
> > of the Xen event channels for requests and events
> >
> > 5. Add explicit back and front parameter negotiation
> > In order to provide explicit stream parameter negotiation between
> > backend and frontend the following changes are introduced in the protocol:
> > add XENSND_OP_HW_PARAM_QUERY request to read/update
> > configuration space for the parameters given: request passes
> > desired parameter's intervals/masks and the response to this request
> > returns allowed min/max intervals/masks to be used.
> >
> > Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@...m.com>
> > Signed-off-by: Oleksandr Grytsov <oleksandr_grytsov@...m.com>
> > Cc: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
> > Cc: Takashi Iwai <tiwai@...e.de>
> > ---
>
> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@...cle.com>
>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Thank you!
Powered by blists - more mailing lists