Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1502879

Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices

From Ard Biesheuvel <ard.biesheuvel@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices
Date 2016-10-18 12:30 +0200
Message-ID <stzOF-lH-11@gated-at.bofh.it> (permalink)
References <stiXw-5Qr-23@gated-at.bofh.it> <stzOF-lH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 18 October 2016 at 11:25, Takashi Iwai <tiwai@suse.de> wrote:
> On Mon, 17 Oct 2016 18:23:59 +0200,
> Ard Biesheuvel wrote:
>>
>> Commit 49d9e77e72cf ("ALSA: hda - Fix system panic when DMA > 40 bits
>> for Nvidia audio controllers") simply disabled any DMA exceeding 32
>> bits for NVidia devices, even though they are capable of performing
>> DMA up to 40 bits. On some architectures (such as arm64), system memory
>> is not guaranteed to be 32-bit addressable by PCI devices, and so this
>> change prevents NVidia devices from working on platforms such as AMD
>> Seattle.
>>
>> Since the original commit already mentioned that up to 40 bits of DMA
>> is supported, and given that the code has been updated in the meantime
>> to support a 40 bit DMA mask on other devices, revert commit 49d9e77e72cf
>> and explicitly set the DMA mask to 40 bits for NVidia devices.
>>
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>
> Thanks, applied.  Since this seems causing a real problem, I added Cc
> to stable.
>

Thanks!

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-10-17 18:30 +0200
  Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices Takashi Iwai <tiwai@suse.de> - 2016-10-18 12:30 +0200
    Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-10-18 12:30 +0200
    Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-10-18 14:50 +0200
      Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices Mike Travis <travis@sgi.com> - 2016-10-18 15:10 +0200
        Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-10-18 15:20 +0200
    Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices Mike Travis <travis@sgi.com> - 2016-10-18 14:50 +0200
      Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices Takashi Iwai <tiwai@suse.de> - 2016-10-18 16:20 +0200

csiph-web