Re: [PATCH] sound: memalloc.h - fix wrong truncation of dma_addr_t

2013-12-10 Thread Takashi Iwai
At Tue, 10 Dec 2013 14:20:28 +, Stefano Panella wrote: > > When running a 32bit kernel the hda_intel driver is still reporting > a 64bit dma_mask if the HW supports it. > > >From sound/pci/hda/hda_intel.c: > > /* allow 64bit DMA address if supported by H/W */ > if ((gcap &

[PATCH] sound: memalloc.h - fix wrong truncation of dma_addr_t

2013-12-10 Thread Stefano Panella
When running a 32bit kernel the hda_intel driver is still reporting a 64bit dma_mask if the HW supports it. >From sound/pci/hda/hda_intel.c: /* allow 64bit DMA address if supported by H/W */ if ((gcap & ICH6_GCAP_64OK) && !pci_set_dma_mask(pci, DMA_BIT_MASK(64)))

[PATCH] sound: memalloc.h - fix wrong truncation of dma_addr_t

2013-12-10 Thread Stefano Panella
When running a 32bit kernel the hda_intel driver is still reporting a 64bit dma_mask if the HW supports it. From sound/pci/hda/hda_intel.c: /* allow 64bit DMA address if supported by H/W */ if ((gcap ICH6_GCAP_64OK) !pci_set_dma_mask(pci, DMA_BIT_MASK(64)))

Re: [PATCH] sound: memalloc.h - fix wrong truncation of dma_addr_t

2013-12-10 Thread Takashi Iwai
At Tue, 10 Dec 2013 14:20:28 +, Stefano Panella wrote: When running a 32bit kernel the hda_intel driver is still reporting a 64bit dma_mask if the HW supports it. From sound/pci/hda/hda_intel.c: /* allow 64bit DMA address if supported by H/W */ if ((gcap