]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: memalloc: Drop Xen PV workaround again
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Sep 2024 11:30:59 +0000 (13:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Sep 2024 06:31:19 +0000 (08:31 +0200)
commit9408ace468c317d60159c011b863b2982dae5e05
tree4bbf843ebe0ac2ce3788bd86d20fcab93dd7014b
parent0ccbc99e05ec80a7a2348e12132f8341f5b890aa
ALSA: memalloc: Drop Xen PV workaround again

Since recently in the commit e469e2045f1b ("ALSA: memalloc: Let IOMMU
handle S/G primarily"), the SG buffer allocation code was modified to
use the standard DMA code primarily and the fallback is applied only
limitedly.  This made the Xen PV specific workarounds we took in the
commit 53466ebdec61 ("ALSA: memalloc: Workaround for Xen PV") rather
superfluous.

It was a hackish workaround for the regression at that time, and it
seems that it's causing another issues (reportedly memory
corruptions).  So it's better to clean it up, after all.

Link: https://lore.kernel.org/20240906184209.25423-1-ariadne@ariadne.space
Cc: Ariadne Conill <ariadne@ariadne.space>
Link: https://patch.msgid.link/20240910113100.32542-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memalloc.c