OSDN Git Service

ALSA: Enable CONFIG_ZONE_DMA for smaller PCI DMA masks
authorTakashi Iwai <tiwai@suse.de>
Fri, 10 Jan 2014 13:20:42 +0000 (14:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Feb 2014 19:08:15 +0000 (11:08 -0800)
commit6d6c9853a8484a22c3aaada5664b15afae1f31cd
treed89a2a402d8ad15a4338f0ba284ffa46fc45dda5
parentebd58143b76236f0c4613fc0440858a52c6d8cdf
ALSA: Enable CONFIG_ZONE_DMA for smaller PCI DMA masks

commit 80ab8eae70e51d578ebbeb228e0f7a562471b8b7 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=68221
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/Kconfig