Re: [PATCH 0/5] hisi_sas: v2 hw SATA fixes

2016-04-13 Thread Zhangfei Gao
t for >4 SATA phys > hisi_sas: for v2 hw only set ITCT qw2 for SAS device > hisi_sas: update driver version to 1.4 For the series, Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the

Re: how to test pscsi with vhost

2016-07-07 Thread Zhangfei Gao
Hi, Lingshan On Mon, Jul 4, 2016 at 10:02 PM, Zhu Lingshan wrote: > Hi Zhangfei, > > I am also interested in pscsi, you can try kvm, seems you can create a > virtualized pscsi device in kvm / virt-manager. I haven't tried that yet, > hope this can help. > Somehow I failed to

how to test pscsi with vhost

2016-07-04 Thread Zhangfei Gao
I am testing with pscsi, but fail to find any block device under /dev to mount. The scsi_probe_lun seems can not return correctly, scsi scan: INQUIRY failes. Is this usage correct? /backstores/pscsi> create name=pscsi_backend dev=/dev/sdb Note: block backstore recommended for SCSI block devices

Re: UFS_MASK macro definition

2016-11-23 Thread Zhangfei Gao
On Thu, Nov 24, 2016 at 12:21 PM, Subhash Jadavani <subha...@codeaurora.org> wrote: > On 2016-11-23 19:23, Zhangfei Gao wrote: >> >> Hi, Vinayak >> >> Checked 4.9-rc6, and not find UFS_MASK macro definition. >> Have find this patch from google, >&g

[PATCH] ufs: Add missing UFS_MASK macro definition

2016-11-23 Thread Zhangfei Gao
From: Santosh Y <santos...@gmail.com> Reported-by: Venkatraman S <svenk...@ti.com> Reviewed-by: Vinayak Holikatti <vinholika...@gmail.com> Signed-off-by: Santosh Y <santos...@gmail.com> Signed-off-by: Zhangfei Gao <zhangfei@linaro.org> --- Find the original pat

UFS_MASK macro definition

2016-11-23 Thread Zhangfei Gao
Hi, Vinayak Checked 4.9-rc6, and not find UFS_MASK macro definition. Have find this patch from google, http://www.spinics.net/lists/linux-scsi/msg58634.html [PATCH 2/2] [SCSI] ufs: Add missing UFS_MASK macro definition Is this patch has been merged? There will be build error if some definition

Re: [PATCH 05/11] hisi_sas: replace WARN_ON() with dev_warn() for internal abort

2016-11-23 Thread Zhangfei Gao
; Signed-off-by: John Garry <john.ga...@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> Sorry, miss this one. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 01/11] hisi_sas: add v2 hw support for ECC and AXI bus fatal error

2016-11-23 Thread Zhangfei Gao
On Wed, Nov 23, 2016 at 4:59 PM, John Garry <john.ga...@huawei.com> wrote: > On 16/11/2016 01:47, Zhangfei Gao wrote: >> >> On Mon, Nov 7, 2016 at 8:48 PM, John Garry <john.ga...@huawei.com> wrote: >>> >>> From: Xiang Chen <chenxian...@his

Re: [PATCH 02/11] hisi_sas: alloc queue id of slot according to device id

2016-11-15 Thread Zhangfei Gao
nternal abort, the > allocation method is chosen to be the same for consistency. > > Signed-off-by: Xiang Chen <chenxian...@hisilicon.com> > Signed-off-by: John Garry <john.ga...@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> -- To unsubscribe from

Re: [PATCH 04/11] hisi_sas: fix port form bug in hisi_sas_port_notify_formed()

2016-11-15 Thread Zhangfei Gao
con.com> > Signed-off-by: John Garry <john.ga...@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 10/11] hisi_sas: use atomic64_t for hisi_sas_device.running_req

2016-11-15 Thread Zhangfei Gao
g_req is not thread-safe. > > As such, the value for running_req may be actually incorrect, > so use atomic64_t instead. > > Signed-off-by: John Garry <john.ga...@huawei.com> > Reviewed-by: Xiang Chen <chenxian...@hisilicon.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org>

Re: [PATCH 07/11] hisi_sas: delete repeated configuration in free_device_v2_hw()

2016-11-15 Thread Zhangfei Gao
t; > Signed-off-by: Xiang Chen <chenxian...@hisilicon.com> > Signed-off-by: John Garry <john.ga...@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a m

Re: [PATCH 08/11] hisi_sas: modify some values in get_ata_protocol()

2016-11-15 Thread Zhangfei Gao
y: John Garry <john.ga...@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 03/11] hisi_sas: only process broadcast change in phy_bcast_v2_hw()

2016-11-15 Thread Zhangfei Gao
rocess this. > > Signed-off-by: Xiang Chen <chenxian...@hisilicon.com> > Signed-off-by: John Garry <john.ga...@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a m

Re: [PATCH 01/11] hisi_sas: add v2 hw support for ECC and AXI bus fatal error

2016-11-15 Thread Zhangfei Gao
On Mon, Nov 7, 2016 at 8:48 PM, John Garry wrote: > From: Xiang Chen > > For ECC 1bit error, logic can recover it, so we only print > a warning. > For ECC multi-bit and AXI bus fatal error, we panic. Is it possible to recover via resetting phy

Re: [PATCH 11/11] hisi_sas: add PHY set linkrate support for v1 and v2 hw

2016-11-15 Thread Zhangfei Gao
> Signed-off-by: John Garry <john.ga...@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 06/11] hisi_sas: modify return value of hisi_sas_query_task()

2016-11-15 Thread Zhangfei Gao
for LLDD errors just return TMF_RESP_FUNC_FAILED. > > Signed-off-by: Xiang Chen <chenxian...@hisilicon.com> > Signed-off-by: John Garry <john.ga...@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> -- To unsubscribe from this list: send the line "

Re: [PATCH 09/11] hisi_sas: check SATA FIS when directly attaching SATA device

2016-11-15 Thread Zhangfei Gao
restart OOB. > > Signed-off-by: Xiang Chen <chenxian...@hisilicon.com> > Signed-off-by: John Garry <john.ga...@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei@linaro.org> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the bo