Skip to content

ALSA: memalloc: Use proper DMA mapping API

Takashi Iwai linux-sound 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ALSA: memalloc: Use proper DMA mapping API for x86 WC buffer allocationssound/core/memalloc.c+32 -190 replies
2/2ALSA: memalloc: Use proper DMA mapping API for x86 S/G buffer allocationssound/core/memalloc.c+36 -420 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ALSA: memalloc: Use proper DMA mapping API

This is a further cleanup of memalloc core stuff to do behave more correctly regarding DMA API. Formerly some x86-specific code relied on the address from the page allocators, but rather we should map correctly the pages with DMA mapping API. With those fixes, the fallback allocation should work more properly, so we can drop the hackish check, too.

Takashi

===

Takashi Iwai (2):
ALSA: memalloc: Use proper DMA mapping API for x86 WC buffer
allocations
ALSA: memalloc: Use proper DMA mapping API for x86 S/G buffer
allocations

 sound/core/memalloc.c | 127 ++++++++++++++++++++++--------------------
 1 file changed, 67 insertions(+), 60 deletions(-)
Signature · 1 line
2.43.0