]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix system panic when DMA > 40 bits for Nvidia audio controllers
authorMike Travis <travis@sgi.com>
Wed, 1 May 2013 19:04:08 +0000 (14:04 -0500)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 May 2013 09:56:18 +0000 (11:56 +0200)
commitcc718fd9ffe2abdfc2f1f232390d400037ae3979
tree779e7fda8be1657fab54f3105510849e370dd337
parent52b9d23d11f04a8d99a60a06c217176673a3408a
ALSA: hda - Fix system panic when DMA > 40 bits for Nvidia audio controllers

The audio driver mistakenly allows 64 bit addresses to be created for
the audio driver on Nvidia GPUs.  Unfortunately, the hardware normally
only supports up to 40 bits of DMA.  This can cause system panics as
well as misdirected data when the address is > 40 bits as the upper
part the address is truncated.

Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Mike Habeck <habeck@sgi.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c