Re: [PATCH v2 hulk-4.19-next 03/10] scsi:hisi_sas: fix calls to dma_set_mask_and_coherent()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





在 2019/4/9 23:25, Sasha Levin 写道:
On Tue, Apr 09, 2019 at 10:46:47AM +0800, chenxiang wrote:
From: c00284940 <c00284940@xxxxxxxxxx>

plinth inclusion
category: bugfix
bugzilla: NA
DTS: DTS2019030103192
CVE: NA

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 FC connections failing due
to corrupted data buffers, and various other SCSI/FCP I/O errors.

Fixes: e4db40e ("scsi: hisi_sas: use dma_set_mask_and_coherent")
Cc: <stable@xxxxxxxxxxxxxxx>

Signed-off-by: c00284940 <c00284940@xxxxxxxxxx>
Reviewed-on: http://10.90.31.173:8080/4799
Tested-by: public TuringEE <turingee@xxxxxxxxxx>
Reviewed-by: huangdaode 00314581 <huangdaode@xxxxxxxxxxxxx>
Reviewed-by: public TuringEE <turingee@xxxxxxxxxx>

Could you please fix your scripts so it will stop sending your internal
cherry picks everywhere?

Sorry to bother you, and i will change it



--
Thanks,
Sasha

.






[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux