Re: [PATCH 09/15] hisi_sas: set dma mask before allocate DMA memory

2016-09-14 Thread Hannes Reinecke
On 09/06/2016 05:36 PM, John Garry wrote: > The device DMA mask was being set after the bulk of the > DMA allocations in the driver init, so potentially > DMA allocates fail. > To resolve, relocate before allocating the DMA memory when > initialising the driver. > > Signed-off-by: Xiang Chen

[PATCH 09/15] hisi_sas: set dma mask before allocate DMA memory

2016-09-06 Thread John Garry
The device DMA mask was being set after the bulk of the DMA allocations in the driver init, so potentially DMA allocates fail. To resolve, relocate before allocating the DMA memory when initialising the driver. Signed-off-by: Xiang Chen Signed-off-by: John Garry