Fix potential issues with x86 PCM SG-buffer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ALSA: pcm: Use dma_mmap_coherent() on x86, toosound/ | +0 | 0 replies | |
| 2/4 | ALSA: memalloc: Initialize all fields of snd_dma_buffer properlysound/ | +3 | 0 replies | |
| 3/4 | ALSA: memalloc: Make SG-buffer helper usable for continuous buffer, tooinclude/ sound/ | +11 | 0 replies | |
| 4/4 | ALSA: pcm: Use SG-buffer only when direct DMA is availablesound/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Fix potential issues with x86 PCM SG-buffer
Hi,
it turned out that x86 SG-pages that are used for PCM buffers aren't safe on x86 in all cases, and we need some limitation and workarounds for non-standard configurations. This patch set is an attempt to paper over it in a minimalistic way.
Takashi
===
Takashi Iwai (4):
ALSA: pcm: Use dma_mmap_coherent() on x86, too
ALSA: memalloc: Initialize all fields of snd_dma_buffer properly
ALSA: memalloc: Make SG-buffer helper usable for continuous buffer,
too
ALSA: pcm: Use SG-buffer only when direct DMA is available
include/sound/memalloc.h | 9 ++++++++- sound/core/memalloc.c | 7 +++---- sound/core/pcm_memory.c | 13 +++++++++++++ sound/core/pcm_native.c | 2 -- sound/core/sgbuf.c | 3 +++ 5 files changed, 27 insertions(+), 7 deletions(-)
Signature · 1 line
2.16.4