Skip to content

ALSA: memalloc: Fix for Xen PV and non-IOMMU systems

Takashi Iwai alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ALSA: memalloc: Explicit SG-allocations for Xen PV and non-IOMMU systemssound/core/memalloc.c+4 -30 replies
2/2ALSA: memalloc: Use coherent DMA allocation for fallback againsound/core/memalloc.c+49 -120 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMarek Marczykowski-Górecki
1/2Reported-and-tested-by
2/2Reported-and-tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] ALSA: memalloc: Fix for Xen PV and non-IOMMU systems

Hi,

this is a patch series to address the recent regression on Xen PV (and possibly non-IOMMU) systems about the SG-buffer memory allocation. We switched to use dma_alloc_noncontiguous() as hoped it handling everything right, but it turned out that this doesn't work always. So this is one step back, use the explicit SG-buffer with dma_alloc_coherent() calls, but in a bit more optimized ways, and also applying only for those systems.

Takashi

===

Takashi Iwai (2):
ALSA: memalloc: Explicit SG-allocations for Xen PV and non-IOMMU
systems
ALSA: memalloc: Use coherent DMA allocation for fallback again

 sound/core/memalloc.c | 68 +++++++++++++++++++++++++++++++++----------
 1 file changed, 53 insertions(+), 15 deletions(-)
Signature · 1 line
2.35.3