linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] for-linux/sndif: add explicit back and front synchronization
@ 2018-04-12 16:00 Oleksandr Andrushchenko
  2018-04-12 16:00 ` [PATCH 1/5] xen/sndif: Introduce protocol version Oleksandr Andrushchenko
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Oleksandr Andrushchenko @ 2018-04-12 16:00 UTC (permalink / raw)
  To: xen-devel, linux-kernel, alsa-devel
  Cc: boris.ostrovsky, jgross, iurii.konovalenko, oleksandr.dmytryshyn,
	konrad.wilk, tiwai, andr2000

Hello, all!

This is the syncup version of the sound protocol changes for
Linux Kernel with the only difference from the corresponding Xen
version being spaces to tabs conversion. Regradless of this only
change I have dropped R-b tags received for Xen version.

In order to provide explicit synchronization between backend and
frontend the following changes are introduced in the protocol:
 - bump protocol version to 2
 - 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
 - add XENSND_OP_HW_PARAM_QUERY request to read/update
   stream configuration space: request passes desired intervals/formats for
   the stream parameters and the response returns allowed intervals and
   formats mask that can be used.
 - MAJOR: changed req/resp/evt packet sizes from 32 to 64 octets
 -  Reworked XENSND_OP_HW_PARAM_QUERY so it now sends all
   parameters at once, allowing to check all the configuration
   space.
 - Minor documentation cleanup (added missed "reserved" fields)

Oleksandr Andrushchenko (5):
  xen/sndif: Introduce protocol version
  xen/sndif: Fix missed "reserved" fields in comments
  xen/sndif: Make requests and responses 64 octets long
  xen/sndif: Add explicit back and front synchronization
  xen/sndif: Add explicit back and front parameter negotiation

 include/xen/interface/io/sndif.h | 322 +++++++++++++++++++++++++++++--
 1 file changed, 306 insertions(+), 16 deletions(-)

-- 
2.17.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-04-12 17:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-12 16:00 [PATCH 0/5] for-linux/sndif: add explicit back and front synchronization Oleksandr Andrushchenko
2018-04-12 16:00 ` [PATCH 1/5] xen/sndif: Introduce protocol version Oleksandr Andrushchenko
2018-04-12 16:00 ` [PATCH 2/5] xen/sndif: Fix missed "reserved" fields in comments Oleksandr Andrushchenko
2018-04-12 16:01 ` [PATCH 3/5] xen/sndif: Make requests and responses 64 octets long Oleksandr Andrushchenko
2018-04-12 16:01 ` [PATCH 4/5] xen/sndif: Add explicit back and front synchronization Oleksandr Andrushchenko
2018-04-12 16:01 ` [PATCH 5/5] xen/sndif: Add explicit back and front parameter negotiation Oleksandr Andrushchenko
2018-04-12 16:11 ` [PATCH 0/5] for-linux/sndif: add explicit back and front synchronization Oleksandr Andrushchenko
2018-04-12 16:55   ` Boris Ostrovsky
2018-04-12 16:55     ` Oleksandr Andrushchenko
2018-04-12 17:13       ` Boris Ostrovsky
2018-04-12 17:13         ` Oleksandr Andrushchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).