Re: [PATCH v4] ALSA: virtio: use ack callback

2023-10-31 Thread Stefano Garzarella
On Fri, Oct 27, 2023 at 10:10:30AM -0400, Michael S. Tsirkin wrote: On Fri, Oct 27, 2023 at 12:18:00PM +0200, Stefano Garzarella wrote: On Fri, Oct 27, 2023 at 11:27:40AM +0200, Takashi Iwai wrote: > On Wed, 25 Oct 2023 11:49:19 +0200, > Matias Ezequiel Vara Larsen wrote: > > > > This commit use

Re: [PATCH v4] ALSA: virtio: use ack callback

2023-10-27 Thread Michael S. Tsirkin
On Fri, Oct 27, 2023 at 12:18:00PM +0200, Stefano Garzarella wrote: > On Fri, Oct 27, 2023 at 11:27:40AM +0200, Takashi Iwai wrote: > > On Wed, 25 Oct 2023 11:49:19 +0200, > > Matias Ezequiel Vara Larsen wrote: > > > > > > This commit uses the ack() callback to determine when a buffer has been > >

Re: [PATCH v4] ALSA: virtio: use ack callback

2023-10-27 Thread Stefano Garzarella
On Fri, Oct 27, 2023 at 11:27:40AM +0200, Takashi Iwai wrote: On Wed, 25 Oct 2023 11:49:19 +0200, Matias Ezequiel Vara Larsen wrote: This commit uses the ack() callback to determine when a buffer has been updated, then exposes it to guest. The current mechanism splits a dma buffer into descrip

[PATCH v4] ALSA: virtio: use ack callback

2023-10-25 Thread Matias Ezequiel Vara Larsen
This commit uses the ack() callback to determine when a buffer has been updated, then exposes it to guest. 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 m