Skip to content

RFC Audio DSP VirtIO and vhost drivers

Guennadi Liakhovetski kvm linux-remoteproc virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ASoC: add function parameters to enable forced path pruninginclude/sound/soc-dpcm.h sound/soc/soc-compress.c sound/soc/soc-dapm.c +1 more+74 -310 replies
2/12ASoC: SOF: extract firmware-related operation into a functionsound/soc/sof/core.c+49 -360 replies
3/12ASoC: SOF: support IPC with immediate responsesound/soc/sof/ipc.c sound/soc/sof/ops.h+16 -50 replies
4/12ASoC: SOF: add a power status IPCinclude/sound/sof/header.h sound/soc/sof/core.c sound/soc/sof/ipc.c +2 more+13 -00 replies
5/12ASoC: SOF: add two helper lookup functionssound/soc/sof/sof-audio.c sound/soc/sof/sof-audio.h sound/soc/sof/topology.c+30 -00 replies
6/12ASoC: SOF: add an RPMsg VirtIO DSP driverinclude/sound/sof.h include/sound/sof/header.h include/sound/sof/rpmsg.h +10 more+1099 -290 replies
7/12ASoC: SOF: use a macro instead of a hard-coded valuesound/soc/sof/pm.c+1 -10 replies
8/12ASoC: SOF: add a vhost driver: sound partinclude/sound/soc-topology.h include/sound/sof/rpmsg.h include/uapi/linux/vhost.h +12 more+1324 -160 replies
9/12ASoC: SOF: VirtIO: free guest pipelines upon terminationinclude/sound/sof/rpmsg.h sound/soc/sof/vhost-vbe.c+161 -10 replies
10/12vhost: add an SOF Audio DSP driverdrivers/vhost/Kconfig drivers/vhost/Makefile drivers/vhost/adsp.c+631 -00 replies
11/12rpmsg: increase buffer size and reduce buffer numberinclude/linux/virtio_rpmsg.h+2 -22 replies
12/12rpmsg: add a device ID to also bind to the ADSP devicedrivers/rpmsg/virtio_rpmsg_bus.c+1 -05 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 00/12] Audio DSP VirtIO and vhost drivers

This patch set is a follow up to "Add a vhost RPMsg API" [1], it is marked as an RFC because firstly it depends on the RPMsg API series and secondly it is currently being reviewed on ALSA and SOF mailing lists, but any early comments from virtualisation developers would be highly appreciated too!

Thanks
Guennadi

[1] https://mailman.alsa-project.org/pipermail/sound-open-firmware/2020-May/003879.html

Guennadi Liakhovetski (12):
ASoC: add function parameters to enable forced path pruning
ASoC: SOF: extract firmware-related operation into a function
ASoC: SOF: support IPC with immediate response
ASoC: SOF: add a power status IPC
ASoC: SOF: add two helper lookup functions
ASoC: SOF: add an RPMsg VirtIO DSP driver
ASoC: SOF: use a macro instead of a hard-coded value
ASoC: SOF: add a vhost driver: sound part
ASoC: SOF: VirtIO: free guest pipelines upon termination
vhost: add an SOF Audio DSP driver
rpmsg: increase buffer size and reduce buffer number
rpmsg: add a device ID to also bind to the ADSP device

 drivers/rpmsg/virtio_rpmsg_bus.c |    1 +
 drivers/vhost/Kconfig            |   10 +
 drivers/vhost/Makefile           |    3 +
 drivers/vhost/adsp.c             |  618 +++++++++++++++++++
 include/linux/virtio_rpmsg.h     |    4 +-
 include/sound/soc-dpcm.h         |   28 +-
 include/sound/soc-topology.h     |    3 +
 include/sound/sof.h              |    4 +
 include/sound/sof/header.h       |    3 +
 include/sound/sof/rpmsg.h        |  196 ++++++
 include/sound/sof/topology.h     |    9 +-
 include/uapi/linux/vhost.h       |    5 +
 include/uapi/linux/vhost_types.h |    7 +
 include/uapi/linux/virtio_ids.h  |    1 +
 sound/soc/soc-compress.c         |    2 +-
 sound/soc/soc-dapm.c             |    8 +-
 sound/soc/soc-pcm.c              |   98 ++-
 sound/soc/sof/Kconfig            |    7 +
 sound/soc/sof/Makefile           |    2 +
 sound/soc/sof/core.c             |  114 ++--
 sound/soc/sof/ipc.c              |   34 +-
 sound/soc/sof/loader.c           |    4 +
 sound/soc/sof/ops.h              |   10 +-
 sound/soc/sof/pcm.c              |   13 +-
 sound/soc/sof/pm.c               |    6 +-
 sound/soc/sof/rpmsg-vfe.c        |  881 ++++++++++++++++++++++++++
 sound/soc/sof/sof-audio.c        |   33 +
 sound/soc/sof/sof-audio.h        |   21 +
 sound/soc/sof/sof-priv.h         |   48 ++
 sound/soc/sof/topology.c         |   71 ++-
 sound/soc/sof/vhost-vbe.c        | 1258 ++++++++++++++++++++++++++++++++++++++
 31 files changed, 3391 insertions(+), 111 deletions(-)
 create mode 100644 drivers/vhost/adsp.c
 create mode 100644 include/sound/sof/rpmsg.h
 create mode 100644 sound/soc/sof/rpmsg-vfe.c
 create mode 100644 sound/soc/sof/vhost-vbe.c
Signature · 1 line
1.9.3