search for: sof_vhost_client

Displaying 4 results from an estimated 4 matches for "sof_vhost_client".

2020 May 29
15
[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]
2020 May 29
15
[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]
2020 May 16
0
[PATCH RFC] vhost: add an SOF Audio DSP driver
...h> +#include <uapi/linux/rpmsg.h> + +#include <sound/sof/stream.h> +#include <sound/sof/rpmsg.h> + +#include "vhost.h" +#include "vhost_rpmsg.h" + +#define VHOST_DSP_FEATURES (VHOST_FEATURES | (1ULL << VIRTIO_RPMSG_F_NS)) + +struct snd_sof_dev; +struct sof_vhost_client; + +struct vhost_dsp { + struct vhost_rpmsg vrdev; + + struct sof_vhost_client *snd; + + bool active; + + /* RPMsg address of the position update endpoint */ + u32 posn_addr; + /* position update buffer and work */ + struct vhost_work posn_work; + struct sof_ipc_stream_posn posn; + + /* IPC request...
2020 May 25
0
[Sound-open-firmware] [PATCH RFC] vhost: add an SOF Audio DSP driver
...; > + ---help--- > > + SOF vhost VirtIO driver. It exports the same IPC interface, as the > > + one, used for Audio DSP communication, to Linux VirtIO guests. > > [...] > > > +struct vhost_dsp { > > + struct vhost_rpmsg vrdev; > > + > > + struct sof_vhost_client *snd; > > + > > + bool active; > > I am struggling with this definition, it seems to be a local flag but how is > it aligned to the actual DSP status? > In other words, can you have cases where the dsp is considered 'active' here > but might be pm_runtime suspend...