mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v5 00/11] ALSA: virtio: staged capture and dsnoop recovery
@ 2026-10-27 23:43 Joonho Lee
  2026-10-27 23:43 ` [PATCH v5 01/11] ALSA: virtio: Propagate PCM send failures through ACK Joonho Lee
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Joonho Lee @ 2026-10-27 23:43 UTC (permalink / raw)
  To: linux-sound
  Cc: tiwai, perex, anton.yakovlev, mst, virtualization, linux-kernel

Hi Takashi,

Thanks for checking v4. I reproduced the application problem against
sound.git for-next. The two dsnoop patches depended on nine patches from
my earlier submissions that are still absent from that tree.

This version includes those dependencies in application order and applies
directly to for-next at bcb4494239f57c98a8ef576566b03f2935b3000f.
It needs no separately fetched prerequisite patches. Targeting 7.5 or later
works for me; I have no deployment deadline for this work.

There are no code changes from the previously submitted patches. Stable
patch IDs match all nine prerequisites and both patches from v4. Patches
1-5 cover request lifetime and error recovery, 6 covers teardown waits,
7 adds opt-in staged capture and pause restart, 8-9 cover ACK accounting
and period work, and 10-11 add the stop-policy annotations and dsnoop fix.

The staging and pause-restart changes were previously posted as RFCs.
Including them here makes the dependency chain directly applicable; I
would still welcome review of their device-compatibility assumptions.
Capture staging and the VZ compatibility options remain opt-in. This
series does not add host audio support to Docker Desktop or enable any
host microphone permission.

The dsnoop fix recognizes stop_threshold == boundary as free-running
capture while preserving bounded-reader overflow checks. Returning to
bounded mode with a full unread ring reports an XRUN. Paused ACK and
period-work errors arm synchronous cleanup so the first prepare can
release queued RX requests and recover. This fixes behavior introduced by
the staged-capture patches in this series.

Previous v4:
https://lore.kernel.org/all/20261025064038.81674-1-mynameisjune111@gmail.com/
Your rebase request:
https://lore.kernel.org/all/87cxsv33oq.wl-tiwai@suse.de/

Earlier submissions, now included rather than external prerequisites:
https://lore.kernel.org/all/cover.1791881787.git.mynameisjune111@gmail.com/
https://lore.kernel.org/all/rfc-v2-generic-control-wait-0.2eddd58a796e497f@gmail.com/
https://lore.kernel.org/all/rfc-v2-vz-capture-compat-0.b9ab4c1540dc4691@gmail.com/
https://lore.kernel.org/all/rfc-virtio-snd-capture-followups-0.f2737c95c12e45b4@gmail.com/

I built a fresh ARM64 kernel and modules from this base with KASAN and
lockdep enabled. All eleven patches passed sequential git apply and
git am checks, and checkpatch reported no errors or warnings.

On that kernel, all 16 paused-ACK recovery combinations passed across
native pause and pause restart with one and two vCPUs. The first prepare
recovered without a preceding drop. The native pause-release regression
and all 13 mode/lifecycle cases also passed, including shared dsnoop
readers, client drop, mode transitions and reopen. All six QEMU runs
confirmed the expected module hashes and produced no KASAN or lockdep
diagnostics.

Earlier v4 validation covered 16 paused-ACK recovery combinations and the
13-case mode suite under ARM64 QEMU with KASAN and lockdep. Earlier MOTU/VZ
and KCSAN results used the previous base; they are not new results for
this revision. Physical microphone testing, 32-bit builds and forced
RX/pause interleaving have not been rerun on this base.

Thanks,
Joonho

---
base-commit: bcb4494239f57c98a8ef576566b03f2935b3000f

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-10-27 23:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 23:43 [PATCH v5 00/11] ALSA: virtio: staged capture and dsnoop recovery Joonho Lee
2026-10-27 23:43 ` [PATCH v5 01/11] ALSA: virtio: Propagate PCM send failures through ACK Joonho Lee
2026-10-27 23:43 ` [PATCH v5 02/11] ALSA: virtio: Recover PCM state after a failed start Joonho Lee
2026-10-27 23:43 ` [PATCH v5 03/11] ALSA: virtio: Retain queued messages through device reset Joonho Lee
2026-10-27 23:43 ` [PATCH v5 04/11] ALSA: virtio: Keep PCM DMA buffers alive through device ownership Joonho Lee
2026-10-27 23:43 ` [PATCH v5 05/11] ALSA: virtio: Keep control payloads alive through DMA completion Joonho Lee
2026-10-27 23:43 ` [PATCH v5 06/11] ALSA: virtio: wait through signals for PCM teardown Joonho Lee
2026-10-27 23:43 ` [PATCH v5 07/11] ALSA: virtio: stage VZ capture and restart paused streams Joonho Lee
2026-10-27 23:43 ` [PATCH v5 08/11] ALSA: virtio: account staged capture reads before RX refill Joonho Lee
2026-10-27 23:43 ` [PATCH v5 09/11] ALSA: virtio: prioritize staged capture period work Joonho Lee
2026-10-27 23:43 ` [PATCH v5 10/11] ALSA: pcm: mark stop-threshold accesses for capture policy sampling Joonho Lee
2026-10-27 23:43 ` [PATCH v5 11/11] ALSA: virtio-snd: fix dsnoop capture with staged buffers Joonho Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®