[PATCH] [scsi] : pm80xx : fix problem of pm8001_work_fn reseting uncorrect phy device

2014-02-14 Thread XinHong Zhu
If a phy device is removed ,the device can get error of I/O and HBA maybe receieve IO_OPEN_CNX_ERROR_IT_NEXUS_LOSS of event which causes pm8001_work_fn to reset the phy device ,but in pm8001_task_exec don't assign a value for field device of ccb and in other case a ccb used have device field se

[PATCH] [SCSI] pm80xx : no need for tag allocation when issuing the command of unregistering device

2014-02-12 Thread XinHong Zhu
ing device . Signed-off-by: XinHong Zhu --- drivers/scsi/pm8001/pm8001_sas.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c index f50ac44..ba3088c 100644 --- a/drivers/scsi/pm8001/pm8001_sas.c +++ b/dr

[PATCH] [scsi] : pm80xx : fix problem of pm8001_work_fn reseting uncorrect phy device

2014-01-14 Thread XinHong Zhu
If a phy device is removed ,the device can get error of I/O and HBA maybe receieve IO_OPEN_CNX_ERROR_IT_NEXUS_LOSS of event which causes pm8001_work_fn to reset the phy device ,but in pm8001_task_exec don't assign a value for field device of ccb and in other case a ccb used have device field se

[PATCH] [scsi] pm8001 : fix panic when cat /sys/class/sas_phy/phy-8:0/running_disparity_error_count

2013-10-09 Thread XinHong Zhu
pm80xx] RSP CR2: 1034 pm8008 pci bar 0 and 1 form io memory 0,bar 2 and 3 form io memory 1 Signed-off-by : XinHong Zhu --- drivers/scsi/pm8001/pm8001_sas.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/