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

This is a revised series of fixes for attemping to paper over the
issues with OSS mmap.  I put the link to Ahmed's patch set in Link tag
for pointing to the actual issues, as well as his Reported-by tag.

v2 addressed a couple of issues reported by Sashiko, too.


Takashi


v1->v2: tag updates
	fix stale runtime->buffer_changed at hw_params
	check runtime->dma_area for a shortcut in snd_pcm_lib_malloc_pages()
===

Takashi Iwai (4):
  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
  ALSA: pcm: Don't reallocate for the same sized buffers

 sound/core/pcm_memory.c |  8 ++++++++
 sound/core/pcm_native.c | 18 ++++++++++++++----
 2 files changed, 22 insertions(+), 4 deletions(-)


base-commit: 9b7d2f4e334e15ed0b854bff18b7e6bcbe89f847
-- 
2.53.0


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

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  8:40 [PATCH v2 0/4] ALSA: pcm: Workarounds for OSS mmap issues Takashi Iwai
2026-12-03  8:40 ` [PATCH v2 1/4] ALSA: pcm: Avoid forcibly changing to OPEN state at hw_params errors Takashi Iwai
2026-12-03  9:09   ` sashiko-bot
2026-12-03  8:40 ` [PATCH v2 2/4] ALSA: pcm: Reject hw_params with buffer size changes while mmapped Takashi Iwai
2026-12-03  9:23   ` sashiko-bot
2026-12-03  8:40 ` [PATCH v2 3/4] ALSA: pcm: Prohibit buffer (re-)allocation/free during mmap Takashi Iwai
2026-12-03  9:10   ` sashiko-bot
2026-12-03  8:40 ` [PATCH v2 4/4] ALSA: pcm: Don't reallocate for the same sized buffers Takashi Iwai
2026-12-03  9:09   ` sashiko-bot

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