Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v3 0/3] ALSA: pcm: Workarounds for OSS mmap issues
@ 2026-12-03 11:34 Takashi Iwai
  2026-12-03 11:34 ` [PATCH v3 1/3] ALSA: pcm: Avoid forcibly changing to OPEN state at hw_params errors Takashi Iwai
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Takashi Iwai @ 2026-12-03 11:34 UTC (permalink / raw)
  To: linux-sound; +Cc: Ahmed Abdelmoemen

Yet another respin of a series of fixes for attemping to paper over
the issues with OSS mmap.

v3 addressed a couple of issues reported by Sashiko, and dropped one
patch that turned out to be harmful.


Takashi

v1: https://lore.kernel.org/20261202155431.720872-1-tiwai@suse.de
v2: https://lore.kernel.org/20261203084041.914026-1-tiwai@suse.de

v2->v3: add the check of runtime->oss.params in snd_pcm_oss_prepare()
	more strict checks of buffer changes in hw_params for OSS mmap
	drop patch#4 (ALSA: pcm: Don't reallocate for the same sized buffers)

===

Takashi Iwai (3):
  ALSA: pcm: Avoid forcibly changing to OPEN state at hw_params errors
  ALSA: pcm: Reject hw_params with buffer size changes while mmapped
  ALSA: pcm: Prohibit buffer (re-)allocation/free during mmap

 sound/core/oss/pcm_oss.c |  4 ++++
 sound/core/pcm_memory.c  |  5 +++++
 sound/core/pcm_native.c  | 16 ++++++++++++++--
 3 files changed, 23 insertions(+), 2 deletions(-)


base-commit: 9b7d2f4e334e15ed0b854bff18b7e6bcbe89f847
-- 
2.53.0


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

end of thread, other threads:[~2026-12-03 12:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 11:34 [PATCH v3 0/3] ALSA: pcm: Workarounds for OSS mmap issues Takashi Iwai
2026-12-03 11:34 ` [PATCH v3 1/3] ALSA: pcm: Avoid forcibly changing to OPEN state at hw_params errors Takashi Iwai
2026-12-03 12:09   ` sashiko-bot
2026-12-03 11:34 ` [PATCH v3 2/3] ALSA: pcm: Reject hw_params with buffer size changes while mmapped Takashi Iwai
2026-12-03 11:34 ` [PATCH v3 3/3] ALSA: pcm: Prohibit buffer (re-)allocation/free during mmap Takashi Iwai
2026-12-03 12:00   ` sashiko-bot

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