Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2566557rdg; Mon, 16 Oct 2023 08:11:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCiJQ5R/7syx7osYZEfzETs9qlfi6zXBfzznB1OL+PW2omPUzwd27M+Ivk6RY9sknv1AoP X-Received: by 2002:a17:90b:84:b0:27c:fa10:fc82 with SMTP id bb4-20020a17090b008400b0027cfa10fc82mr15591394pjb.28.1697469089469; Mon, 16 Oct 2023 08:11:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697469089; cv=none; d=google.com; s=arc-20160816; b=esGWMbz+thB5YrhuGgNh4C6El45SddQsFGaQTvQQLMaIVf0JQK1hZh3vCDIrdmt+JL oRBVNlmk3W/32nlFyxU7zi8x8L+lLzSGyJni6ScIk2EeSxu8B3mvgCNNvn1n/gJScDJb BXIQ6XLbNALms2TPGIVKwsGFJ0y69SPgb7Yz1dyjm7OSioU+uISRYFcar+Qb7gifFo8M iVVIT3MGsBKEAjImZc/V8QR+qQvxaCabWYBBIzN7wCYpD/0dZAvK9xLcR2HZwTr0i8Ac tVDloe5dwbkmhe0fouTya4nS3ZFSY42/HCnNhwChK7szYFsxaG/0nwL15bwTF08VY2bT xooQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WTW0Rivv2CDIEeQzaLmCKM27EeQ8yJt+yTxxIuYzeAI=; fh=djpHlbO/PaY8yTt0wSk9QZ1+9cjz6gGWoeKTSLyb+kY=; b=XVAhLqR+B/pn+HjL8GvvHojZEmgEzdmAr7IuO3gu4CZXCSnJnaIKM5TJZWj/+CZiTB VRRUotpcKWsCMmZ2ZrOQXqmT3Q1+j8kqUFoDujyYFdMKpPaNJn/UcSe9NlInjnEV9e8X Tursu9jK/v5Mt/ddzk8HYcbh7PqIJgbDDBYcaQvQ56ZG/zWnycdM0xuQlHHfeonkaCSx E8DyKAFnVCfiaYn0yJ9BKcD41C0OQgSxMsK9fXXdpq6mQYMdDSccbe48XR4aac1tFzyb E8G567yyFbiCWRsvcFF4bocq8bpOo/SDeC+jtGTCLKpgCeuB59/FZJMu1ZSibzAf904u zuwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HOPYqSEN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id l195-20020a633ecc000000b00582dcfe3b41si5945859pga.374.2023.10.16.08.11.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 08:11:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HOPYqSEN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7D7B380793C6; Mon, 16 Oct 2023 08:11:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232310AbjJPPK7 (ORCPT + 99 others); Mon, 16 Oct 2023 11:10:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232575AbjJPPK5 (ORCPT ); Mon, 16 Oct 2023 11:10:57 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 335F2B9 for ; Mon, 16 Oct 2023 08:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697469007; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WTW0Rivv2CDIEeQzaLmCKM27EeQ8yJt+yTxxIuYzeAI=; b=HOPYqSENE7pOoxvUGizHwhX2zq+53FfiKzHzGqC8LLt/4fC/cx1/YMoOdDAVUqIPvhH1u2 JMko9dX/sLY3S8hiCPPn2HtpWRzCv/C2tCMRQ6ao7lG/vt1LG6qp1gtg94hp4xm3eri0xR m9XG2ZGBLrUTNFWN5r2H12l/9k4muYU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-659-0wo0sAQFPrK79Tqz-173vA-1; Mon, 16 Oct 2023 11:10:03 -0400 X-MC-Unique: 0wo0sAQFPrK79Tqz-173vA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EC1F9185A7B9; Mon, 16 Oct 2023 15:10:02 +0000 (UTC) Received: from localhost (unknown [10.39.195.59]) by smtp.corp.redhat.com (Postfix) with ESMTP id E095B63F45; Mon, 16 Oct 2023 15:10:01 +0000 (UTC) Date: Mon, 16 Oct 2023 11:10:00 -0400 From: Stefan Hajnoczi To: Matias Ezequiel Vara Larsen , Jaroslav Kysela , Takashi Iwai Cc: anton.yakovlev@opensynergy.com, mst@redhat.com, virtualization@lists.linux-foundation.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, pbonzini@redhat.com, sgarzare@redhat.com, manos.pitsidianakis@linaro.org, mripard@redhat.com Subject: Re: [RFC PATCH] ALSA: virtio: use copy and fill_silence callbacks Message-ID: <20231016151000.GE119987@fedora> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2bIKyQX3Vt+C2epg" Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 16 Oct 2023 08:11:04 -0700 (PDT) --2bIKyQX3Vt+C2epg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 12, 2023 at 05:10:50PM +0200, Matias Ezequiel Vara Larsen wrote: > This commit replaces the mmap mechanism with the copy() and > fill_silence() callbacks for both capturing and playback for the > virtio-sound driver. This change is required to prevent the updating of > the content of a buffer that is already in the available ring. >=20 > The current mechanism splits a dma buffer into descriptors that are > exposed to the device. This dma buffer is shared with the user > application. When the device consumes a buffer, the driver moves the > request from the used ring to available ring. >=20 > The driver exposes the buffer to the device without knowing if the > content has been updated from the user. The section 2.8.21.1 of the > virtio spec states that: "The device MAY access the descriptor chains > the driver created and the memory they refer to immediately". If the > device picks up buffers from the available ring just after it is > notified, it happens that the content may be old. >=20 > By providing the copy() callback, the driver first updates the content > of the buffer, and then, exposes the buffer to the device by enqueuing > it in the available ring. Thus, device always picks up a buffer that is > updated. >=20 > For capturing, the driver starts by exposing all the available buffers > to device. After device updates the content of a buffer, it enqueues it > in the used ring. It is only after the copy() for capturing is issued > that the driver re-enqueues the buffer in the available ring. >=20 > Note that the copy() function assumes that user is always writing a > period. Testing shows that this is true but I may be wrong. This RFC > aims at clarifying this. This sounds like an ALSA driver API question. Jaroslav and Takashi: Any thoughts? Stefan >=20 > Signed-off-by: Matias Ezequiel Vara Larsen > --- > sound/virtio/virtio_pcm.c | 11 ++-- > sound/virtio/virtio_pcm.h | 9 +++- > sound/virtio/virtio_pcm_msg.c | 50 ++++++++++++++++--- > sound/virtio/virtio_pcm_ops.c | 94 +++++++++++++++++++++++++++++++---- > 4 files changed, 137 insertions(+), 27 deletions(-) >=20 > diff --git a/sound/virtio/virtio_pcm.c b/sound/virtio/virtio_pcm.c > index c10d91fff2fb..bfe982952303 100644 > --- a/sound/virtio/virtio_pcm.c > +++ b/sound/virtio/virtio_pcm.c > @@ -104,8 +104,6 @@ static int virtsnd_pcm_build_hw(struct virtio_pcm_sub= stream *vss, > * only message-based transport. > */ > vss->hw.info =3D > - SNDRV_PCM_INFO_MMAP | > - SNDRV_PCM_INFO_MMAP_VALID | > SNDRV_PCM_INFO_BATCH | > SNDRV_PCM_INFO_BLOCK_TRANSFER | > SNDRV_PCM_INFO_INTERLEAVED | > @@ -471,12 +469,11 @@ int virtsnd_pcm_build_devs(struct virtio_snd *snd) > for (kss =3D ks->substream; kss; kss =3D kss->next) > vs->substreams[kss->number]->substream =3D kss; > =20 > - snd_pcm_set_ops(vpcm->pcm, i, &virtsnd_pcm_ops); > + if (i =3D=3D SNDRV_PCM_STREAM_CAPTURE) > + snd_pcm_set_ops(vpcm->pcm, i, &virtsnd_pcm_capture_ops); > + else > + snd_pcm_set_ops(vpcm->pcm, i, &virtsnd_pcm_playback_ops); > } > - > - snd_pcm_set_managed_buffer_all(vpcm->pcm, > - SNDRV_DMA_TYPE_VMALLOC, NULL, > - 0, 0); > } > =20 > return 0; > diff --git a/sound/virtio/virtio_pcm.h b/sound/virtio/virtio_pcm.h > index 062eb8e8f2cf..1c1106ec971f 100644 > --- a/sound/virtio/virtio_pcm.h > +++ b/sound/virtio/virtio_pcm.h > @@ -50,6 +50,8 @@ struct virtio_pcm_substream { > struct work_struct elapsed_period; > spinlock_t lock; > size_t buffer_bytes; > + u8 *buffer; > + size_t buffer_sz; > size_t hw_ptr; > bool xfer_enabled; > bool xfer_xrun; > @@ -90,7 +92,8 @@ struct virtio_pcm { > struct virtio_pcm_stream streams[SNDRV_PCM_STREAM_LAST + 1]; > }; > =20 > -extern const struct snd_pcm_ops virtsnd_pcm_ops; > +extern const struct snd_pcm_ops virtsnd_pcm_playback_ops; > +extern const struct snd_pcm_ops virtsnd_pcm_capture_ops; > =20 > int virtsnd_pcm_validate(struct virtio_device *vdev); > =20 > @@ -117,7 +120,9 @@ int virtsnd_pcm_msg_alloc(struct virtio_pcm_substream= *vss, > =20 > void virtsnd_pcm_msg_free(struct virtio_pcm_substream *vss); > =20 > -int virtsnd_pcm_msg_send(struct virtio_pcm_substream *vss); > +int virtsnd_pcm_msg_send(struct virtio_pcm_substream *vss, bool single); > + > +int virtsnd_pcm_msg_send_locked(struct virtio_pcm_substream *vss, bool s= ingle); > =20 > unsigned int virtsnd_pcm_msg_pending_num(struct virtio_pcm_substream *vs= s); > =20 > diff --git a/sound/virtio/virtio_pcm_msg.c b/sound/virtio/virtio_pcm_msg.c > index aca2dc1989ba..9a5f9814cb62 100644 > --- a/sound/virtio/virtio_pcm_msg.c > +++ b/sound/virtio/virtio_pcm_msg.c > @@ -132,7 +132,6 @@ static void virtsnd_pcm_sg_from(struct scatterlist *s= gs, int nsgs, u8 *data, > int virtsnd_pcm_msg_alloc(struct virtio_pcm_substream *vss, > unsigned int periods, unsigned int period_bytes) > { > - struct snd_pcm_runtime *runtime =3D vss->substream->runtime; > unsigned int i; > =20 > vss->msgs =3D kcalloc(periods, sizeof(*vss->msgs), GFP_KERNEL); > @@ -142,7 +141,7 @@ int virtsnd_pcm_msg_alloc(struct virtio_pcm_substream= *vss, > vss->nmsgs =3D periods; > =20 > for (i =3D 0; i < periods; ++i) { > - u8 *data =3D runtime->dma_area + period_bytes * i; > + u8 *data =3D vss->buffer + period_bytes * i; > int sg_num =3D virtsnd_pcm_sg_num(data, period_bytes); > struct virtio_pcm_msg *msg; > =20 > @@ -186,10 +185,12 @@ void virtsnd_pcm_msg_free(struct virtio_pcm_substre= am *vss) > /** > * virtsnd_pcm_msg_send() - Send asynchronous I/O messages. > * @vss: VirtIO PCM substream. > + * @single: true to enqueue a single message, false to enqueue all of th= em. > * > * All messages are organized in an ordered circular list. Each time the > - * function is called, all currently non-enqueued messages are added to = the > - * virtqueue. For this, the function keeps track of two values: > + * function is called, first non-enqueued message is added to the virtqu= eue. > + * When single is True, only the first message is enqueued. When False, = all the > + * available messages are enqueued. The function keeps track of two val= ues: > * > * msg_last_enqueued =3D index of the last enqueued message, > * msg_count =3D # of pending messages in the virtqueue. > @@ -198,7 +199,7 @@ void virtsnd_pcm_msg_free(struct virtio_pcm_substream= *vss) > * spinlocks to be held by caller. > * Return: 0 on success, -errno on failure. > */ > -int virtsnd_pcm_msg_send(struct virtio_pcm_substream *vss) > +int virtsnd_pcm_msg_send(struct virtio_pcm_substream *vss, bool single) > { > struct snd_pcm_runtime *runtime =3D vss->substream->runtime; > struct virtio_snd *snd =3D vss->snd; > @@ -211,6 +212,13 @@ int virtsnd_pcm_msg_send(struct virtio_pcm_substream= *vss) > i =3D (vss->msg_last_enqueued + 1) % runtime->periods; > n =3D runtime->periods - vss->msg_count; > =20 > + if (single) { > + if (n < 1) > + return -EFAULT; > + > + n =3D 1; > + } > + > for (; n; --n, i =3D (i + 1) % runtime->periods) { > struct virtio_pcm_msg *msg =3D vss->msgs[i]; > struct scatterlist *psgs[] =3D { > @@ -250,6 +258,36 @@ int virtsnd_pcm_msg_send(struct virtio_pcm_substream= *vss) > return 0; > } > =20 > +/** > + * virtsnd_pcm_msg_send_locked() - Send asynchronous I/O messages. > + * @vss: VirtIO PCM substream. > + * @single: true to enqueue a single message, false to enqueue all of th= em. > + * > + * This function holds the tx/rx queue and the VirtIO substream spinlocks > + * before calling virtsnd_pcm_msg_send(). This is a wrapper function to = ease > + * the invocation of virtsnd_pcm_msg_send(). > + * > + * Context: Any context. > + * Return: 0 on success, -errno on failure. > + */ > + > +int virtsnd_pcm_msg_send_locked(struct virtio_pcm_substream *vss, bool s= ingle) > +{ > + struct virtio_snd_queue *queue; > + int rc; > + unsigned long flags; > + > + queue =3D virtsnd_pcm_queue(vss); > + > + spin_lock_irqsave(&queue->lock, flags); > + spin_lock(&vss->lock); > + rc =3D virtsnd_pcm_msg_send(vss, single); > + spin_unlock(&vss->lock); > + spin_unlock_irqrestore(&queue->lock, flags); > + > + return rc; > +} > + > /** > * virtsnd_pcm_msg_pending_num() - Returns the number of pending I/O mes= sages. > * @vss: VirtIO substream. > @@ -320,8 +358,6 @@ static void virtsnd_pcm_msg_complete(struct virtio_pc= m_msg *msg, > le32_to_cpu(msg->status.latency_bytes)); > =20 > schedule_work(&vss->elapsed_period); > - > - virtsnd_pcm_msg_send(vss); > } else if (!vss->msg_count) { > wake_up_all(&vss->msg_empty); > } > diff --git a/sound/virtio/virtio_pcm_ops.c b/sound/virtio/virtio_pcm_ops.c > index f8bfb87624be..a208439dbff8 100644 > --- a/sound/virtio/virtio_pcm_ops.c > +++ b/sound/virtio/virtio_pcm_ops.c > @@ -238,6 +238,11 @@ static int virtsnd_pcm_hw_params(struct snd_pcm_subs= tream *substream, > */ > virtsnd_pcm_msg_free(vss); > =20 > + vss->buffer_sz =3D params_buffer_bytes(hw_params); > + vss->buffer =3D alloc_pages_exact(vss->buffer_sz, GFP_KERNEL); > + if (!vss->buffer) > + return -ENOMEM; > + > return virtsnd_pcm_msg_alloc(vss, params_periods(hw_params), > params_period_bytes(hw_params)); > } > @@ -257,6 +262,11 @@ static int virtsnd_pcm_hw_free(struct snd_pcm_substr= eam *substream) > if (!virtsnd_pcm_msg_pending_num(vss)) > virtsnd_pcm_msg_free(vss); > =20 > + if (vss->buffer) { > + free_pages_exact(vss->buffer, vss->buffer_sz); > + vss->buffer =3D NULL; > + } > + > return 0; > } > =20 > @@ -331,15 +341,18 @@ static int virtsnd_pcm_trigger(struct snd_pcm_subst= ream *substream, int command) > case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: > queue =3D virtsnd_pcm_queue(vss); > =20 > - spin_lock_irqsave(&queue->lock, flags); > - spin_lock(&vss->lock); > - rc =3D virtsnd_pcm_msg_send(vss); > - if (!rc) > - vss->xfer_enabled =3D true; > - spin_unlock(&vss->lock); > - spin_unlock_irqrestore(&queue->lock, flags); > - if (rc) > - return rc; > + // The buffers should be exposed first during capturing so that > + // the device can consume them. Capturing cannot begin > + // otherwise. > + if (vss->direction =3D=3D SNDRV_PCM_STREAM_CAPTURE) { > + rc =3D virtsnd_pcm_msg_send_locked(vss, false); > + if (rc) > + return rc; > + } > + > + spin_lock_irqsave(&vss->lock, flags); > + vss->xfer_enabled =3D true; > + spin_unlock_irqrestore(&vss->lock, flags); > =20 > msg =3D virtsnd_pcm_ctl_msg_alloc(vss, VIRTIO_SND_R_PCM_START, > GFP_KERNEL); > @@ -450,8 +463,66 @@ virtsnd_pcm_pointer(struct snd_pcm_substream *substr= eam) > return hw_ptr; > } > =20 > -/* PCM substream operators map. */ > -const struct snd_pcm_ops virtsnd_pcm_ops =3D { > +static int virtsnd_pcm_pb_copy(struct snd_pcm_substream *substream, > + int channel, unsigned long pos, struct iov_iter > + *src, unsigned long count) > +{ > + struct virtio_pcm_substream *vss =3D snd_pcm_substream_chip(substream); > + > + if (unlikely(pos + count > vss->buffer_sz)) > + return -EINVAL; > + > + if (copy_from_iter(vss->buffer + pos, count, src) !=3D count) > + return -EFAULT; > + > + return virtsnd_pcm_msg_send_locked(vss, true); > +} > + > +static int virtsnd_pcm_cap_copy(struct snd_pcm_substream *substream, > + int channel, unsigned long pos, struct iov_iter > + *dst, unsigned long count) > +{ > + struct virtio_pcm_substream *vss =3D snd_pcm_substream_chip(substream); > + > + if (unlikely(pos + count > vss->buffer_sz)) > + return -EINVAL; > + > + if (copy_to_iter(vss->buffer + pos, count, dst) !=3D count) > + return -EFAULT; > + > + return virtsnd_pcm_msg_send_locked(vss, true); > +} > + > +static int virtsnd_pcm_pb_silence(struct snd_pcm_substream *substream, i= nt channel, > + unsigned long pos, unsigned long count) > +{ > + struct virtio_pcm_substream *vss =3D snd_pcm_substream_chip(substream); > + > + if (unlikely(pos + count > vss->buffer_sz)) > + return -EINVAL; > + > + memset(vss->buffer + pos, 0, count); > + > + return virtsnd_pcm_msg_send_locked(vss, true); > +} > + > +/* PCM substream operators map for playback. */ > +const struct snd_pcm_ops virtsnd_pcm_playback_ops =3D { > + .open =3D virtsnd_pcm_open, > + .close =3D virtsnd_pcm_close, > + .ioctl =3D snd_pcm_lib_ioctl, > + .hw_params =3D virtsnd_pcm_hw_params, > + .hw_free =3D virtsnd_pcm_hw_free, > + .prepare =3D virtsnd_pcm_prepare, > + .trigger =3D virtsnd_pcm_trigger, > + .sync_stop =3D virtsnd_pcm_sync_stop, > + .pointer =3D virtsnd_pcm_pointer, > + .copy =3D virtsnd_pcm_pb_copy, > + .fill_silence =3D virtsnd_pcm_pb_silence, > +}; > + > +/* PCM substream operators map for capturing. */ > +const struct snd_pcm_ops virtsnd_pcm_capture_ops =3D { > .open =3D virtsnd_pcm_open, > .close =3D virtsnd_pcm_close, > .ioctl =3D snd_pcm_lib_ioctl, > @@ -461,4 +532,5 @@ const struct snd_pcm_ops virtsnd_pcm_ops =3D { > .trigger =3D virtsnd_pcm_trigger, > .sync_stop =3D virtsnd_pcm_sync_stop, > .pointer =3D virtsnd_pcm_pointer, > + .copy =3D virtsnd_pcm_cap_copy, > }; >=20 > base-commit: 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa > --=20 > 2.41.0 >=20 --2bIKyQX3Vt+C2epg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmUtUkgACgkQnKSrs4Gr c8h2MggAmu4aWu/BxOEggrXE29NyIVj/q1baCcKeGZ4dJceL5iQqH1XP9Ous2adH ewJYeAJ57MvB50OahXwIOTV4iKgVvL+s28jbxRaZo6AQYQu6zpM4Q6e1O0iey1YO F9ID3WOWLKlr6amDK1l6Pnr6QrdPhCvyJZ0UpBa5jxAOH3qVJ2FWbX26eIXHPjRW 7jFFqJo9o4hpQ/RDlf87k3CSogRqAstOma39FlQPiPPP7Xwx90Eu7RcyURMRhAGd RGb7RYaPCw/PpOQd24mHo/ZLI5ChkRKaeuMLVMFsWxGGi7NObSAkpA0BDA4Fo4WK 0gP2/IEgW/cRSOY6j2qW9lzTsXcS4Q== =Sm0W -----END PGP SIGNATURE----- --2bIKyQX3Vt+C2epg--