Re: [PATCH 2/4] hptiop: fix calls to dma_set_mask_and_coherent()

2019-02-13 Thread Ewan D. Milne
The patch subject line is incorrect, the driver was changed to call dma_set_mask(), not dma_set_mask_and_coherent(). Also see comments below re: the patch description. The code itself looks fine. -Ewan On Wed, 2019-02-13 at 12:42 +0100, Hannes Reinecke wrote: > The change to use dma_set_mask_and

[PATCH 2/4] hptiop: fix calls to dma_set_mask_and_coherent()

2019-02-13 Thread Hannes Reinecke
The change to use dma_set_mask_and_coherent() incorrectly made a second call with the 32 bit DMA mask value when the call with the 64 bit DMA mask value succeeded. This resulted in NVMe/FC connections failing due to corrupted data buffers, and various other SCSI/FCP I/O errors. Fixes: 453cd3700ca