Commit 6a2797db authored by Takashi Iwai's avatar Takashi Iwai Committed by Greg Kroah-Hartman

ALSA: Enable CONFIG_ZONE_DMA for smaller PCI DMA masks

commit 80ab8eae upstream.

The PCI devices with DMA masks smaller than 32bit should enable
CONFIG_ZONE_DMA.  Since the recent change of page allocator, page
allocations via dma_alloc_coherent() with the limited DMA mask bits
may fail more frequently, ended up with no available buffers, when
CONFIG_ZONE_DMA isn't enabled.  With CONFIG_ZONE_DMA, the system has
much more chance to obtain such pages.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=68221Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f2d6404b
...@@ -30,6 +30,7 @@ config SND_ALS300 ...@@ -30,6 +30,7 @@ config SND_ALS300
select SND_PCM select SND_PCM
select SND_AC97_CODEC select SND_AC97_CODEC
select SND_OPL3_LIB select SND_OPL3_LIB
select ZONE_DMA
help help
Say 'Y' or 'M' to include support for Avance Logic ALS300/ALS300+ Say 'Y' or 'M' to include support for Avance Logic ALS300/ALS300+
...@@ -54,6 +55,7 @@ config SND_ALI5451 ...@@ -54,6 +55,7 @@ config SND_ALI5451
tristate "ALi M5451 PCI Audio Controller" tristate "ALi M5451 PCI Audio Controller"
select SND_MPU401_UART select SND_MPU401_UART
select SND_AC97_CODEC select SND_AC97_CODEC
select ZONE_DMA
help help
Say Y here to include support for the integrated AC97 sound Say Y here to include support for the integrated AC97 sound
device on motherboards using the ALi M5451 Audio Controller device on motherboards using the ALi M5451 Audio Controller
...@@ -158,6 +160,7 @@ config SND_AZT3328 ...@@ -158,6 +160,7 @@ config SND_AZT3328
select SND_PCM select SND_PCM
select SND_RAWMIDI select SND_RAWMIDI
select SND_AC97_CODEC select SND_AC97_CODEC
select ZONE_DMA
help help
Say Y here to include support for Aztech AZF3328 (PCI168) Say Y here to include support for Aztech AZF3328 (PCI168)
soundcards. soundcards.
...@@ -463,6 +466,7 @@ config SND_EMU10K1 ...@@ -463,6 +466,7 @@ config SND_EMU10K1
select SND_HWDEP select SND_HWDEP
select SND_RAWMIDI select SND_RAWMIDI
select SND_AC97_CODEC select SND_AC97_CODEC
select ZONE_DMA
help help
Say Y to include support for Sound Blaster PCI 512, Live!, Say Y to include support for Sound Blaster PCI 512, Live!,
Audigy and E-mu APS (partially supported) soundcards. Audigy and E-mu APS (partially supported) soundcards.
...@@ -478,6 +482,7 @@ config SND_EMU10K1X ...@@ -478,6 +482,7 @@ config SND_EMU10K1X
tristate "Emu10k1X (Dell OEM Version)" tristate "Emu10k1X (Dell OEM Version)"
select SND_AC97_CODEC select SND_AC97_CODEC
select SND_RAWMIDI select SND_RAWMIDI
select ZONE_DMA
help help
Say Y here to include support for the Dell OEM version of the Say Y here to include support for the Dell OEM version of the
Sound Blaster Live!. Sound Blaster Live!.
...@@ -511,6 +516,7 @@ config SND_ES1938 ...@@ -511,6 +516,7 @@ config SND_ES1938
select SND_OPL3_LIB select SND_OPL3_LIB
select SND_MPU401_UART select SND_MPU401_UART
select SND_AC97_CODEC select SND_AC97_CODEC
select ZONE_DMA
help help
Say Y here to include support for soundcards based on ESS Solo-1 Say Y here to include support for soundcards based on ESS Solo-1
(ES1938, ES1946, ES1969) chips. (ES1938, ES1946, ES1969) chips.
...@@ -522,6 +528,7 @@ config SND_ES1968 ...@@ -522,6 +528,7 @@ config SND_ES1968
tristate "ESS ES1968/1978 (Maestro-1/2/2E)" tristate "ESS ES1968/1978 (Maestro-1/2/2E)"
select SND_MPU401_UART select SND_MPU401_UART
select SND_AC97_CODEC select SND_AC97_CODEC
select ZONE_DMA
help help
Say Y here to include support for soundcards based on ESS Maestro Say Y here to include support for soundcards based on ESS Maestro
1/2/2E chips. 1/2/2E chips.
...@@ -602,6 +609,7 @@ config SND_ICE1712 ...@@ -602,6 +609,7 @@ config SND_ICE1712
select SND_MPU401_UART select SND_MPU401_UART
select SND_AC97_CODEC select SND_AC97_CODEC
select BITREVERSE select BITREVERSE
select ZONE_DMA
help help
Say Y here to include support for soundcards based on the Say Y here to include support for soundcards based on the
ICE1712 (Envy24) chip. ICE1712 (Envy24) chip.
...@@ -688,6 +696,7 @@ config SND_LX6464ES ...@@ -688,6 +696,7 @@ config SND_LX6464ES
config SND_MAESTRO3 config SND_MAESTRO3
tristate "ESS Allegro/Maestro3" tristate "ESS Allegro/Maestro3"
select SND_AC97_CODEC select SND_AC97_CODEC
select ZONE_DMA
help help
Say Y here to include support for soundcards based on ESS Maestro 3 Say Y here to include support for soundcards based on ESS Maestro 3
(Allegro) chips. (Allegro) chips.
...@@ -782,6 +791,7 @@ config SND_SIS7019 ...@@ -782,6 +791,7 @@ config SND_SIS7019
tristate "SiS 7019 Audio Accelerator" tristate "SiS 7019 Audio Accelerator"
depends on X86 && !X86_64 depends on X86 && !X86_64
select SND_AC97_CODEC select SND_AC97_CODEC
select ZONE_DMA
help help
Say Y here to include support for the SiS 7019 Audio Accelerator. Say Y here to include support for the SiS 7019 Audio Accelerator.
...@@ -793,6 +803,7 @@ config SND_SONICVIBES ...@@ -793,6 +803,7 @@ config SND_SONICVIBES
select SND_OPL3_LIB select SND_OPL3_LIB
select SND_MPU401_UART select SND_MPU401_UART
select SND_AC97_CODEC select SND_AC97_CODEC
select ZONE_DMA
help help
Say Y here to include support for soundcards based on the S3 Say Y here to include support for soundcards based on the S3
SonicVibes chip. SonicVibes chip.
...@@ -804,6 +815,7 @@ config SND_TRIDENT ...@@ -804,6 +815,7 @@ config SND_TRIDENT
tristate "Trident 4D-Wave DX/NX; SiS 7018" tristate "Trident 4D-Wave DX/NX; SiS 7018"
select SND_MPU401_UART select SND_MPU401_UART
select SND_AC97_CODEC select SND_AC97_CODEC
select ZONE_DMA
help help
Say Y here to include support for soundcards based on Trident Say Y here to include support for soundcards based on Trident
4D-Wave DX/NX or SiS 7018 chips. 4D-Wave DX/NX or SiS 7018 chips.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment