]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ALSA: memalloc: Convert x86 SG-buffer handling with non-contiguous type"
authorTakashi Iwai <tiwai@suse.de>
Thu, 4 Nov 2021 18:08:46 +0000 (19:08 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Nov 2021 21:10:03 +0000 (22:10 +0100)
commitd214f05948e410344be3fa090fb7f6eec7014664
tree0b2cbb3a200b7f0ec9044c1c8245f29ba8381f02
parent7f04a69f57fc2cf738dd1351606beb9f54d87dc1
Revert "ALSA: memalloc: Convert x86 SG-buffer handling with non-contiguous type"

This reverts commit da1ae444527dd15c63de9f28b39aa20293b6ac63.

We've got a regression report showing that the audio got broken the
device over AMD IOMMU.  The conversion assumed the wrong pointer /
page mapping for the indirect mapping case, and we need to correct
this urgently, so let's revert it for now.

Fixes: da1ae444527d ("ALSA: memalloc: Convert x86 SG-buffer handling with non-contiguous type")
Reported-and-tested-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca>
Link: https://lore.kernel.org/r/20211104180846.16340-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/memalloc.h
sound/core/Makefile
sound/core/memalloc.c
sound/core/sgbuf.c [new file with mode: 0644]