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(-) -- 2.16.4