Commit 9408ace
committed
ALSA: memalloc: Drop Xen PV workaround again
Since recently in the commit e469e20 ("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 53466eb ("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>1 parent 0ccbc99 commit 9408ace
1 file changed
Lines changed: 3 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
671 | 670 | | |
672 | 671 | | |
673 | 672 | | |
| |||
687 | 686 | | |
688 | 687 | | |
689 | 688 | | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
| 689 | + | |
| 690 | + | |
697 | 691 | | |
698 | 692 | | |
699 | 693 | | |
| |||
715 | 709 | | |
716 | 710 | | |
717 | 711 | | |
718 | | - | |
719 | 712 | | |
720 | 713 | | |
721 | 714 | | |
| |||
728 | 721 | | |
729 | 722 | | |
730 | 723 | | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
| 724 | + | |
735 | 725 | | |
736 | 726 | | |
737 | 727 | | |
| |||
803 | 793 | | |
804 | 794 | | |
805 | 795 | | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | 796 | | |
810 | 797 | | |
811 | 798 | | |
| |||
0 commit comments