Centos-kernel-stream-9/sound
Jaroslav Kysela 6c4502e2bb ALSA: memalloc: Unify x86 SG-buffer handling (take#3)
This is a second attempt to unify the x86-specific SG-buffer handling
code with the new standard non-contiguous page handler.

The first try (in commit 2d9ea39917a4) failed due to the wrong page
and address calculations, hence reverted.  (And the second try failed
due to a copy&paste error.)  Now it's corrected with the previous fix
for noncontig pages, and the proper sg page iteration by this patch.

After the migration, SNDRV_DMA_TYPE_DMA_SG becomes identical with
SNDRV_DMA_TYPE_NONCONTIG on x86, while others still fall back to
SNDRV_DMA_TYPE_DEV.

    Tested-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca>
    Tested-by: Harald Arnesen <harald@skogtun.org>
    Link: https://lore.kernel.org/r/20211017074859.24112-4-tiwai@suse.de
    Link: https://lore.kernel.org/r/20211109062235.22310-1-tiwai@suse.de
    Link: https://lore.kernel.org/r/20211116073358.19741-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai <tiwai@suse.de>

Author: Takashi Iwai <tiwai@suse.de>
Date: Tue Nov 16 08:33:58 2021 +0100

Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
(cherry picked from commit 2c95b92ecd92e784785b1db8cccc4f0f2bfa850c)
Bugzilla: https://bugzilla.redhat.com/2017320
2022-02-02 12:32:08 +01:00
..
ac97
aoa
arm ALSA: pxa2xx: Use managed PCM buffer allocation 2022-01-17 14:05:07 +01:00
atmel
core ALSA: memalloc: Unify x86 SG-buffer handling (take#3) 2022-02-02 12:32:08 +01:00
drivers ALSA: drivers: opl3: Fix incorrect use of vp->state 2022-01-17 14:06:35 +01:00
firewire ALSA: fireworks: add support for Loud Onyx 1200f quirk 2022-01-17 14:06:29 +01:00
hda ALSA: hda: Add new AlderLake-P variant PCI ID 2022-02-02 12:09:03 +01:00
i2c
isa ALSA: gus: fix null pointer dereference on pointer block 2022-01-17 14:06:18 +01:00
mips
oss
parisc ALSA: harmony: Drop superfluous address setup 2022-01-17 14:05:12 +01:00
pci ALSA: hda/tegra: Fix Tegra194 HDA reset failure 2022-02-02 12:09:07 +01:00
pcmcia ALSA: vx: Manage vx_core object with devres 2022-01-17 14:04:52 +01:00
ppc
sh
soc ALSA: Fix some typo 2022-02-02 12:08:52 +01:00
sparc
spi
synth ALSA: synth: missing check for possible NULL after the call to kstrdup 2022-01-17 14:06:28 +01:00
usb ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi. 2022-02-02 12:32:08 +01:00
virtio ALSA: virtio: Replace zero-length array with flexible-array member 2022-01-17 14:05:52 +01:00
x86 ALSA: memalloc: Correctly name as WC 2022-01-17 14:05:07 +01:00
xen
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c