Skip to content

ALSA: vsnd: Add Xen para-virtualized frontend driver

Oleksandr Andrushchenko alsa-devel lkml xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ALSA: vsnd: Implement driver's probe/removesound/drivers/xen-front.c+27 -00 replies
2/11ALSA: vsnd: Implement Xen bus state handlingsound/drivers/xen-front.c+92 -00 replies
2/11ALSA: vsnd: Implement Xen bus state handlingsound/drivers/xen-front.c+92 -00 replies
3/11ALSA: vsnd: Read sound driver configuration from Xen storesound/drivers/xen-front.c+530 -00 replies
4/11ALSA: vsnd: Implement Xen event channel handlingsound/drivers/xen-front.c+268 -10 replies
5/11ALSA: vsnd: Implement handling of shared bufferssound/drivers/xen-front.c+178 -00 replies
6/11ALSA: vsnd: Introduce ALSA virtual sound driversound/drivers/xen-front.c+159 -20 replies
6/11ALSA: vsnd: Introduce ALSA virtual sound driversound/drivers/xen-front.c+159 -20 replies
7/11ALSA: vsnd: Initialize virtul sound cardsound/drivers/xen-front.c+232 -00 replies
8/11ALSA: vsnd: Add timer for period interrupt emulationsound/drivers/xen-front.c+121 -014 replies
9/11ALSA: vsnd: Implement ALSA PCM operationssound/drivers/xen-front.c+163 -120 replies
9/11ALSA: vsnd: Implement ALSA PCM operationssound/drivers/xen-front.c+163 -120 replies
10/11ALSA: vsnd: Implement communication with backendsound/drivers/xen-front.c+288 -140 replies
11/11ALSA: vsnd: Introduce Kconfig option to enable Xen PV soundsound/drivers/Kconfig sound/drivers/Makefile+14 -00 replies
11/11ALSA: vsnd: Introduce Kconfig option to enable Xen PV soundsound/drivers/Kconfig sound/drivers/Makefile+14 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] ALSA: vsnd: Add Xen para-virtualized frontend driver

From: Oleksandr Andrushchenko <[email protected]>

This patch series adds support for Xen [1] para-virtualized sound frontend driver. It implements the protocol from include/xen/interface/io/sndif.h with the following limitations:
- mute/unmute is not supported
- get/set volume is not supported
Volume control is not supported for the reason that most of the use-cases (at the moment) are based on scenarious where unprivileged OS (e.g. Android, AGL etc) use software mixers.

Both capture and playback are supported.

Thank you,
Oleksandr

[1] https://xenproject.org/

Oleksandr Andrushchenko (11):
ALSA: vsnd: Implement driver's probe/remove
ALSA: vsnd: Implement Xen bus state handling
ALSA: vsnd: Read sound driver configuration from Xen store
ALSA: vsnd: Implement Xen event channel handling
ALSA: vsnd: Implement handling of shared buffers
ALSA: vsnd: Introduce ALSA virtual sound driver
ALSA: vsnd: Initialize virtul sound card
ALSA: vsnd: Add timer for period interrupt emulation
ALSA: vsnd: Implement ALSA PCM operations
ALSA: vsnd: Implement communication with backend
ALSA: vsnd: Introduce Kconfig option to enable Xen PV sound

 sound/drivers/Kconfig     |   12 +
 sound/drivers/Makefile    |    2 +
 sound/drivers/xen-front.c | 2029 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 2043 insertions(+)
Signature · 1 line
2.7.4