Re: [PATCH v3 1/2] usb:dwc3: Enable support for 64-bit system

2016-03-31 Thread Felipe Balbi
Hi, (please don't top-post) "Thang Q. Nguyen" writes: > Hi Balbi, > If CONFIG_DMA_CMA=y, dma mask is set properly. The issue just happen > when CONFIG_DMA_CMA is not set. In this case, dma mask is not set and > we need this code to check if dma mask should be manually set to 32 or > 64. Can yo

Re: [PATCH v3 1/2] usb:dwc3: Enable support for 64-bit system

2016-03-31 Thread Thang Q. Nguyen
Hi Balbi, If CONFIG_DMA_CMA=y, dma mask is set properly. The issue just happen when CONFIG_DMA_CMA is not set. In this case, dma mask is not set and we need this code to check if dma mask should be manually set to 32 or 64. Thang On Wed, Mar 30, 2016 at 8:09 PM, Felipe Balbi wrote: > > Hi,

Re: [PATCH v3 1/2] usb:dwc3: Enable support for 64-bit system

2016-03-30 Thread Felipe Balbi
Hi, "Thang Q. Nguyen" writes: > From: "Thang Q. Nguyen" > > Add 64-bit DMA operation support to the USB DWC3 driver. > First attempt to set the coherent DMA mask for 64-bit DMA. > If that failed, attempt again with 32-bit DMA. > > Changes from v2: > - None. > > Changes from v1: > -

[PATCH v3 1/2] usb:dwc3: Enable support for 64-bit system

2016-03-10 Thread Thang Q. Nguyen
From: "Thang Q. Nguyen" Add 64-bit DMA operation support to the USB DWC3 driver. First attempt to set the coherent DMA mask for 64-bit DMA. If that failed, attempt again with 32-bit DMA. Changes from v2: - None. Changes from v1: - Remove WARN_ON if dma_mask is NULL Signed-off-b