On 04/09/12 15:37, Konrad Rzeszutek Wilk wrote:Sorry David, I am not completely sure I understand your argument in favour of a bug in theOn Tue, Sep 04, 2012 at 03:07:42PM +0100, Stefano Panella wrote:Note that this appears to be a work around for a bug in the sound systemSo if hwdev->coherent_dma_mask is set to 0xffffffffffffffff our dma_mask willThat is what I was missing. Let me include that in the git commit and also
be u64 set to 0xffffffffffffffff even if we set it to DMA_BIT_MASK(32) previously.
put this patch on the stable tree.
or Intel HDA device driver which is incorrectly truncating a dma_addr_t
to a u32. So by ensuring a DMA_BIT_MASK(32) when the dma_addr_t is
truncated it still works.
David