pm80xx: Driver updates
Subsystems (2)
cover pm80xx: Driver updates
From: Viswas G <[email protected]>
This patch set contains bug fixes for pm80xx driver. Please consider these patches for next kernel release.
Viswas G (8):
pm80xx: Updated link rate
pm80xx: Corrected device state changes in I_T_Nexus_Reset
pm80xx: Update For Thermal Page Code
pm80xx: Fix for Incorrect DMA Unmapping of SG List
pm80xx: Remove unnecessary phy disconnect while link error
pm80xx: Add PORT RECOVERY TIMEOUT support
pm80xx: Handling Invalid SSP Response frame
pm80xx: Bump pm80xx driver version to 0.1.38
drivers/scsi/pm8001/pm8001_defs.h | 1 + drivers/scsi/pm8001/pm8001_hwi.c | 4 + drivers/scsi/pm8001/pm8001_sas.c | 15 ++++- drivers/scsi/pm8001/pm8001_sas.h | 12 +++- drivers/scsi/pm8001/pm80xx_hwi.c | 111 +++++++++++++++++++++++++++---------- drivers/scsi/pm8001/pm80xx_hwi.h | 5 +- 6 files changed, 112 insertions(+), 36 deletions(-)
PATCH 1/8 pm80xx: Updated link rate
From: Viswas G <[email protected]>
Updated 12G linkrate to libsas.
--- drivers/scsi/pm8001/pm8001_defs.h | 1 + drivers/scsi/pm8001/pm8001_hwi.c | 4 ++++ 2 files changed, 5 insertions(+), 0 deletions(-)
drivers/scsi/pm8001/pm8001_defs.h +1 -0
@@ -56,6 +56,7 @@ enum phy_speed {PHY_SPEED_15 =0x01 ,PHY_SPEED_30 =0x02 ,PHY_SPEED_60 =0x04 , + PHY_SPEED_120 = 0x08, }; enum data_direction {
drivers/scsi/pm8001/pm8001_hwi.c +4 -0
@@ -3263,6 +3263,10 @@ void pm8001_get_lrate_mode(struct pm8001_phy *phy, u8 link_rate)struct sas_phy *sas_phy = phy->sas_phy.phy;switch (link_rate) { +case PHY_SPEED_120 : + phy->sas_phy.linkrate =SAS_LINK_RATE_12_0_GBPS ; + phy->sas_phy.phy->negotiated_linkrate =SAS_LINK_RATE_12_0_GBPS ; +break ;case PHY_SPEED_60 : phy->sas_phy.linkrate =SAS_LINK_RATE_6_0_GBPS ; phy->sas_phy.phy->negotiated_linkrate =SAS_LINK_RATE_6_0_GBPS ;
Signature · 1 line
1.7.1
Re: [PATCH 1/8] pm80xx: Updated link rate
Quoted 8 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
Updated 12G linkrate to libsas.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 1/8] pm80xx: Updated link rate
In reply to [email protected]Quoted 8 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
Updated 12G linkrate to libsas.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>
Tomas
PATCH 2/8 pm80xx: Corrected device state changes in I_T_Nexus_Reset
In reply to [email protected]From: Viswas G <[email protected]>
In Nexus reset the device state set to DS_IN_RECOVERY before doing phy reset and internal cleanup. Once internal cleanup finishes, the device state will set to DS_OPERATIONAL.
--- drivers/scsi/pm8001/pm8001_sas.c | 14 +++++++++++--- drivers/scsi/pm8001/pm8001_sas.h | 8 ++++++++ 2 files changed, 19 insertions(+), 3 deletions(-)
drivers/scsi/pm8001/pm8001_sas.c +11 -3
@@ -980,13 +980,21 @@ int pm8001_I_T_nexus_reset(struct domain_device *dev) rc =0 ; goto out; } + pm8001_dev->setds_completion = &completion_setstate; +PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, + pm8001_dev,DS_IN_RECOVERY ); +wait_for_completion (&completion_setstate); rc =sas_phy_reset (phy,1 );msleep (2000 ); +if (rc) { +PM8001_EH_DBG (pm8001_ha, +pm8001_printk ("phy reset failed for device %x\n" +"with rc %d\n" , pm8001_dev->device_id, rc)); + } rc =pm8001_exec_internal_task_abort (pm8001_ha, pm8001_dev , dev,1 ,0 ); - pm8001_dev->setds_completion = &completion_setstate; - rc =PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, - pm8001_dev,0x01 ); +PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, + pm8001_dev,DS_OPERATIONAL );wait_for_completion (&completion_setstate); }else { rc =sas_phy_reset (phy,1 );
drivers/scsi/pm8001/pm8001_sas.h +8 -0
@@ -569,6 +569,14 @@ struct pm8001_fw_image_header {#define NCQ_READ_LOG_FLAG 0x80000000#define NCQ_ABORT_ALL_FLAG 0x40000000#define NCQ_2ND_RLE_FLAG 0x20000000 + +/* Device states */ +#define DS_OPERATIONAL 0x01 +#define DS_PORT_IN_RESET 0x02 +#define DS_IN_RECOVERY 0x03 +#define DS_IN_ERROR 0x04 +#define DS_NON_OPERATIONAL 0x07 +/** * brief param structure for firmware flash update. */
Signature · 1 line
1.7.1
Re: [PATCH 2/8] pm80xx: Corrected device state changes in I_T_Nexus_Reset
Quoted 9 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
In Nexus reset the device state set to
DS_IN_RECOVERYbefore doing phy reset and internal cleanup. Once internal cleanup finishes, the device state will set toDS_OPERATIONAL.Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>---
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/8] pm80xx: Corrected device state changes in I_T_Nexus_Reset
In reply to [email protected]Quoted 29 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
In Nexus reset the device state set to
DS_IN_RECOVERYbefore doing phy reset and internal cleanup. Once internal cleanup finishes, the device state will set toDS_OPERATIONAL.Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>--- drivers/scsi/pm8001/pm8001_sas.c | 14 +++++++++++--- drivers/scsi/pm8001/pm8001_sas.h | 8 ++++++++ 2 files changed, 19 insertions(+), 3 deletions(-)drivers/scsi/pm8001/pm8001_sas.c +6
-0@@ -980,13 +980,21 @@ int pm8001_I_T_nexus_reset(struct domain_device *dev) rc =0 ; goto out; } + pm8001_dev->setds_completion = &completion_setstate; +PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, + pm8001_dev,DS_IN_RECOVERY ); +wait_for_completion (&completion_setstate); rc =sas_phy_reset (phy,1 );msleep (2000 ); +if (rc) { + PM8001_EH_DBG(pm8001_ha,
drivers/scsi/pm8001/pm8001_sas.c int pm8001_I_T_nexus_reset(struct domain_device *dev) · line 997
Quoted 10 lines
drivers/scsi/pm8001/pm8001_sas.c +5
-3+pm8001_printk ("phy reset failed for device %x\n" + "with rc %d\n", pm8001_dev->device_id, rc)); + } rc =pm8001_exec_internal_task_abort (pm8001_ha, pm8001_dev , dev,1 ,0 ); - pm8001_dev->setds_completion = &completion_setstate; - rc =PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, - pm8001_dev,0x01 ); +PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, + pm8001_dev,DS_OPERATIONAL );
Hi Viswas,
the set_dev_state_req can't fail any more ? Also the pm8001_exec_internal_task_abort may fail - shouldn't be error handling also added ?
Cheers,
Tomas
Quoted 23 lines
drivers/scsi/pm8001/pm8001_sas.c +0
-0wait_for_completion (&completion_setstate); }else { rc =sas_phy_reset (phy,1 );drivers/scsi/pm8001/pm8001_sas.h +8
-0@@ -569,6 +569,14 @@ struct pm8001_fw_image_header {#define NCQ_READ_LOG_FLAG 0x80000000#define NCQ_ABORT_ALL_FLAG 0x40000000#define NCQ_2ND_RLE_FLAG 0x20000000 + +/* Device states */ +#define DS_OPERATIONAL 0x01 +#define DS_PORT_IN_RESET 0x02 +#define DS_IN_RECOVERY 0x03 +#define DS_IN_ERROR 0x04 +#define DS_NON_OPERATIONAL 0x07 +/** * brief param structure for firmware flash update. */
RE: [PATCH 2/8] pm80xx: Corrected device state changes in I_T_Nexus_Reset
Quoted 38 lines · Tomas Henzl
Quoted 37 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
In Nexus reset the device state set to
DS_IN_RECOVERYbefore doing phy reset and internal cleanup. Once internal cleanup finishes, the device state will set toDS_OPERATIONAL.Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>--- drivers/scsi/pm8001/pm8001_sas.c | 14 +++++++++++--- drivers/scsi/pm8001/pm8001_sas.h | 8 ++++++++ 2 files changed, 19 insertions(+), 3 deletions(-)drivers/scsi/pm8001/pm8001_sas.c +9
-3@@ -980,13 +980,21 @@ int pm8001_I_T_nexus_reset(struct domain_device *dev) rc =0 ; goto out; } + pm8001_dev->setds_completion = &completion_setstate; +PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, + pm8001_dev,DS_IN_RECOVERY ); +wait_for_completion (&completion_setstate); rc =sas_phy_reset (phy,1 );msleep (2000 ); +if (rc) { +PM8001_EH_DBG (pm8001_ha, +pm8001_printk ("phy reset failed for device %x\n" +"with rc %d\n" , pm8001_dev->device_id, rc)); + } rc =pm8001_exec_internal_task_abort (pm8001_ha, pm8001_dev , dev,1 ,0 ); - pm8001_dev->setds_completion = &completion_setstate; - rc =PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, - pm8001_dev,0x01 );
Quoted 8 lines
drivers/scsi/pm8001/pm8001_sas.c int pm8001_I_T_nexus_reset(struct domain_device *dev) · line 997
Quoted 2 lines
drivers/scsi/pm8001/pm8001_sas.c +2
-0+PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, + pm8001_dev,DS_OPERATIONAL );Hi Viswas,
theset_dev_state_reqcan't fail any more ? Also thepm8001_exec_internal_task_abortmay fail - shouldn't be error handling also added ?
Cheers,
Tomas
Hi Tomas,
The set_dev_state can fail if the ccb/Inbound queue slot is not available. It can happen If there are more than 256 requests are penning with controller.
Internal task abort failure also can be handled. Will resent the patch with these changes.
Regards,
Viswas G
Quoted 20 lines
Quoted 20 lines
drivers/scsi/pm8001/pm8001_sas.c +0
-0wait_for_completion (&completion_setstate); }else { rc =sas_phy_reset (phy,1 );drivers/scsi/pm8001/pm8001_sas.h +8
-0@@ -569,6 +569,14 @@ struct pm8001_fw_image_header {#define NCQ_READ_LOG_FLAG 0x80000000#define NCQ_ABORT_ALL_FLAG 0x40000000#define NCQ_2ND_RLE_FLAG 0x20000000 + +/* Device states */ +#define DS_OPERATIONAL 0x01 +#define DS_PORT_IN_RESET 0x02 +#define DS_IN_RECOVERY 0x03 +#define DS_IN_ERROR 0x04 +#define DS_NON_OPERATIONAL 0x07 +/**
Quoted 8 lines
drivers/scsi/pm8001/pm8001_sas.h struct pm8001_fw_image_header { · line 582
Quoted 3 lines
drivers/scsi/pm8001/pm8001_sas.h +0
-0* brief param structure for firmware flash update. */ --
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
-----Original Message-----
From: Tomas Henzl [mailto:[email protected]]
Sent: Wednesday, July 29, 2015 9:40 PM
To: Viswas G; [email protected]
Cc: [email protected]; [email protected]; Suresh Thiagarajan
Subject: Re: [PATCH 2/8] pm80xx: Corrected device state changes in I_T_Nexus_Reset
Quoted 30 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
In Nexus reset the device state set to
DS_IN_RECOVERYbefore doing phy reset and internal cleanup. Once internal cleanup finishes, the device state will set toDS_OPERATIONAL.Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>--- drivers/scsi/pm8001/pm8001_sas.c | 14 +++++++++++--- drivers/scsi/pm8001/pm8001_sas.h | 8 ++++++++ 2 files changed, 19 insertions(+), 3 deletions(-)drivers/scsi/pm8001/pm8001_sas.c +6
-0@@ -980,13 +980,21 @@ int pm8001_I_T_nexus_reset(struct domain_device *dev) rc =0 ; goto out; } + pm8001_dev->setds_completion = &completion_setstate; +PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, + pm8001_dev,DS_IN_RECOVERY ); +wait_for_completion (&completion_setstate); rc =sas_phy_reset (phy,1 );msleep (2000 ); +if (rc) { + PM8001_EH_DBG(pm8001_ha,
drivers/scsi/pm8001/pm8001_sas.c int pm8001_I_T_nexus_reset(struct domain_device *dev) · line 997
Quoted 10 lines
drivers/scsi/pm8001/pm8001_sas.c +5
-3+pm8001_printk ("phy reset failed for device %x\n" + "with rc %d\n", pm8001_dev->device_id, rc)); + } rc =pm8001_exec_internal_task_abort (pm8001_ha, pm8001_dev , dev,1 ,0 ); - pm8001_dev->setds_completion = &completion_setstate; - rc =PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, - pm8001_dev,0x01 ); +PM8001_CHIP_DISP ->set_dev_state_req (pm8001_ha, + pm8001_dev,DS_OPERATIONAL );
Hi Viswas,
the set_dev_state_req can't fail any more ? Also the pm8001_exec_internal_task_abort may fail - shouldn't be error handling also added ? Cheers,
Tomas
Quoted 24 lines
drivers/scsi/pm8001/pm8001_sas.c +0
-0wait_for_completion (&completion_setstate); }else { rc =sas_phy_reset (phy,1 );drivers/scsi/pm8001/pm8001_sas.h +8
-0@@ -569,6 +569,14 @@ struct pm8001_fw_image_header {#define NCQ_READ_LOG_FLAG 0x80000000#define NCQ_ABORT_ALL_FLAG 0x40000000#define NCQ_2ND_RLE_FLAG 0x20000000 + +/* Device states */ +#define DS_OPERATIONAL 0x01 +#define DS_PORT_IN_RESET 0x02 +#define DS_IN_RECOVERY 0x03 +#define DS_IN_ERROR 0x04 +#define DS_NON_OPERATIONAL 0x07 +/** * brief param structure for firmware flash update. */
PATCH 3/8 pm80xx: Update For Thermal Page Code
In reply to [email protected]From: Viswas G <[email protected]>
Thermal page code has been changed to 7 for the 12G controllers.
--- drivers/scsi/pm8001/pm80xx_hwi.c | 9 ++++++++- drivers/scsi/pm8001/pm80xx_hwi.h | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-)
drivers/scsi/pm8001/pm80xx_hwi.c +8 -1
@@ -843,6 +843,7 @@ pm80xx_set_thermal_config(struct pm8001_hba_info *pm8001_ha)int rc;u32 tag;u32 opc =OPC_INB_SET_CONTROLLER_CONFIG ; +u32 page_code;memset (&payload,0 ,sizeof (struct set_ctrl_cfg_req )); rc =pm8001_tag_alloc (pm8001_ha, &tag);
@@ -851,8 +852,14 @@ pm80xx_set_thermal_config(struct pm8001_hba_info *pm8001_ha) circularQ = &pm8001_ha->inbnd_q_tbl[0 ]; payload.tag =cpu_to_le32 (tag); + +if (IS_SPCV_12G (pm8001_ha->pdev)) + page_code =THERMAL_PAGE_CODE_7H ; +else + page_code =THERMAL_PAGE_CODE_8H ; + payload.cfg_pg[0 ] = (THERMAL_LOG_ENABLE <<9 ) | - (THERMAL_ENABLE <<8 ) |THERMAL_OP_CODE ; + (THERMAL_ENABLE <<8 ) | page_code; payload.cfg_pg[1 ] = (LTEMPHIL <<24 ) | (RTEMPHIL <<8 ); rc =pm8001_mpi_build_cmd (pm8001_ha, circularQ, opc, &payload,0 );
drivers/scsi/pm8001/pm80xx_hwi.h +2 -1
@@ -177,7 +177,8 @@/* Thermal related */ #define THERMAL_ENABLE 0x1#define THERMAL_LOG_ENABLE 0x1 -#define THERMAL_OP_CODE 0x6 +#define THERMAL_PAGE_CODE_7H 0x6 +#define THERMAL_PAGE_CODE_8H 0x7#define LTEMPHIL 70#define RTEMPHIL 100
Signature · 1 line
1.7.1
Re: [PATCH 3/8] pm80xx: Update For Thermal Page Code
Quoted 7 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
Thermal page code has been changed to 7 for the 12G controllers.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>---
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 3/8] pm80xx: Update For Thermal Page Code
In reply to [email protected]Quoted 6 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
Thermal page code has been changed to 7 for the 12G controllers.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>
Tomas
PATCH 4/8 pm80xx: Fix for Incorrect DMA Unmapping of SG List
In reply to [email protected]From: Viswas G <[email protected]>
In pm8001_ccb_task_free(), the dma unmapping is done based on ccb->n_elem value. This should be initialized to zero in the task_abort(). Otherwise, pm8001_ccb_task_free() will try for dma_unmap_sg() which is invalid for task abort and can lead to kernel crash.
--- drivers/scsi/pm8001/pm8001_sas.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/scsi/pm8001/pm8001_sas.c +1 -0
@@ -790,6 +790,7 @@ pm8001_exec_internal_task_abort(struct pm8001_hba_info *pm8001_ha, ccb->device = pm8001_dev; ccb->ccb_tag = ccb_tag; ccb->task = task; + ccb->n_elem =0 ; res =PM8001_CHIP_DISP ->task_abort (pm8001_ha, pm8001_dev, flag, task_tag, ccb_tag);
Signature · 1 line
1.7.1
Re: [PATCH 4/8] pm80xx: Fix for Incorrect DMA Unmapping of SG List
Quoted 20 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
In
pm8001_ccb_task_free(), the dma unmapping is done based onccb->n_elemvalue. This should be initialized to zero in thetask_abort(). Otherwise,pm8001_ccb_task_free()will try fordma_unmap_sg()which is invalid for task abort and can lead to kernel crash.Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>--- drivers/scsi/pm8001/pm8001_sas.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/scsi/pm8001/pm8001_sas.c +0
-0
drivers/scsi/pm8001/pm8001_sas.c pm8001_exec_internal_task_abort(struct pm8001_hba_info *pm8001_ha, · line 796
Quoted 7 lines
drivers/scsi/pm8001/pm8001_sas.c +1
-0@@ -790,6 +790,7 @@ pm8001_exec_internal_task_abort(struct pm8001_hba_info *pm8001_ha, ccb->device = pm8001_dev; ccb->ccb_tag = ccb_tag; ccb->task = task; + ccb->n_elem =0 ; res =PM8001_CHIP_DISP ->task_abort (pm8001_ha, pm8001_dev, flag, task_tag, ccb_tag);
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 4/8] pm80xx: Fix for Incorrect DMA Unmapping of SG List
In reply to [email protected]Quoted 10 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
In
pm8001_ccb_task_free(), the dma unmapping is done based onccb->n_elemvalue. This should be initialized to zero in thetask_abort(). Otherwise,pm8001_ccb_task_free()will try fordma_unmap_sg()which is invalid for task abort and can lead to kernel crash.Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>
Tomas
PATCH 5/8 pm80xx: Remove unnecessary phy disconnect while link error
In reply to [email protected]From: Viswas G <[email protected]>
If the link error happens, we don't need to disconnect the phy, which will remove the drive. Instead acknowledging the controller and logging the error will be enough.
--- drivers/scsi/pm8001/pm80xx_hwi.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)
drivers/scsi/pm8001/pm80xx_hwi.c +0 -12
@@ -3176,9 +3176,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_printk("HW_EVENT_LINK_ERR_INVALID_DWORD\n"));pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_INVALID_DWORD , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_DISPARITY_ERROR : PM8001_MSG_DBG(pm8001_ha,
@@ -3186,9 +3183,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_DISPARITY_ERROR , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_CODE_VIOLATION : PM8001_MSG_DBG(pm8001_ha,
@@ -3196,9 +3190,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_CODE_VIOLATION , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_LOSS_OF_DWORD_SYNCH : PM8001_MSG_DBG(pm8001_ha, pm8001_printk(
@@ -3206,9 +3197,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_LOSS_OF_DWORD_SYNCH , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_MALFUNCTION : PM8001_MSG_DBG(pm8001_ha,
Signature · 1 line
1.7.1
Re: [PATCH 5/8] pm80xx: Remove unnecessary phy disconnect while link error
Quoted 48 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
If the link error happens, we don't need to disconnect the phy, which will remove the drive. Instead acknowledging the controller and logging the error will be enough.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>--- drivers/scsi/pm8001/pm80xx_hwi.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)drivers/scsi/pm8001/pm80xx_hwi.c +0
-9@@ -3176,9 +3176,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_printk("HW_EVENT_LINK_ERR_INVALID_DWORD\n"));pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_INVALID_DWORD , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_DISPARITY_ERROR : PM8001_MSG_DBG(pm8001_ha,@@ -3186,9 +3183,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_DISPARITY_ERROR , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_CODE_VIOLATION : PM8001_MSG_DBG(pm8001_ha,@@ -3196,9 +3190,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_CODE_VIOLATION , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_LOSS_OF_DWORD_SYNCH : PM8001_MSG_DBG(pm8001_ha, pm8001_printk(
drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb) · line 3202
Quoted 9 lines
drivers/scsi/pm8001/pm80xx_hwi.c +0
-3@@ -3206,9 +3197,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_LOSS_OF_DWORD_SYNCH , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_MALFUNCTION : PM8001_MSG_DBG(pm8001_ha,
So what happens with the port, then?
Will you be getting another event when the port finally disconnects? If not, how to you remove the port after a link failure?
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [PATCH 5/8] pm80xx: Remove unnecessary phy disconnect while link error
Quoted 53 lines · Hannes Reinecke
Quoted 52 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
If the link error happens, we don't need to disconnect the phy, which will remove the drive. Instead acknowledging the controller and logging the error will be enough.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>--- drivers/scsi/pm8001/pm80xx_hwi.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)drivers/scsi/pm8001/pm80xx_hwi.c +0
-11@@ -3176,9 +3176,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_printk("HW_EVENT_LINK_ERR_INVALID_DWORD\n"));pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_INVALID_DWORD , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_DISPARITY_ERROR : PM8001_MSG_DBG(pm8001_ha,@@ -3186,9 +3183,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_DISPARITY_ERROR , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_CODE_VIOLATION : PM8001_MSG_DBG(pm8001_ha,@@ -3196,9 +3190,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_CODE_VIOLATION , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_LOSS_OF_DWORD_SYNCH : PM8001_MSG_DBG(pm8001_ha, pm8001_printk(@@ -3206,9 +3197,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_LOSS_OF_DWORD_SYNCH , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ;
Quoted 9 lines
drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb) · line 3202
Quoted 5 lines
drivers/scsi/pm8001/pm80xx_hwi.c +0
-1- sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_MALFUNCTION : PM8001_MSG_DBG(pm8001_ha,So what happens with the port, then?
Will you be getting another event when the port finally disconnects? If not, how to you remove the port after a link failure?
When the Phy disconnects, we will be getting the PHY DOWN events for the phys in that port and we will remove that port.
Quoted 13 lines
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
[email protected] +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hannes Reinecke
Reviewed-byRe: [PATCH 5/8] pm80xx: Remove unnecessary phy disconnect while link error
Quoted 65 lines · Viswas G
Quoted 53 lines · Hannes Reinecke
Quoted 52 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
If the link error happens, we don't need to disconnect the phy, which will remove the drive. Instead acknowledging the controller and logging the error will be enough.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>--- drivers/scsi/pm8001/pm80xx_hwi.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)drivers/scsi/pm8001/pm80xx_hwi.c +0
-11@@ -3176,9 +3176,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_printk("HW_EVENT_LINK_ERR_INVALID_DWORD\n"));pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_INVALID_DWORD , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_DISPARITY_ERROR : PM8001_MSG_DBG(pm8001_ha,@@ -3186,9 +3183,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_DISPARITY_ERROR , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_CODE_VIOLATION : PM8001_MSG_DBG(pm8001_ha,@@ -3196,9 +3190,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_CODE_VIOLATION , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ; - sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_LINK_ERR_LOSS_OF_DWORD_SYNCH : PM8001_MSG_DBG(pm8001_ha, pm8001_printk(@@ -3206,9 +3197,6 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb)pm80xx_hw_event_ack_req (pm8001_ha,0 ,HW_EVENT_LINK_ERR_LOSS_OF_DWORD_SYNCH , port_id, phy_id,0 ,0 ); -sas_phy_disconnected (sas_phy); - phy->phy_attached =0 ;Quoted 9 lines
drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb) · line 3202
Quoted 5 lines
drivers/scsi/pm8001/pm80xx_hwi.c +0
-1- sas_ha->notify_port_event (sas_phy,PORTE_LINK_RESET_ERR );break ;case HW_EVENT_MALFUNCTION : PM8001_MSG_DBG(pm8001_ha,So what happens with the port, then?
Will you be getting another event when the port finally disconnects? If not, how to you remove the port after a link failure?
Quoted 3 lines
When the Phy disconnects, we will be getting the PHY DOWN events for the phys in that port and we will remove that port.
Okay, thanks.
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 5/8] pm80xx: Remove unnecessary phy disconnect while link error
In reply to [email protected]Quoted 8 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
If the link error happens, we don't need to disconnect the phy, which will remove the drive. Instead acknowledging the controller and logging the error will be enough.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>
Tomas
PATCH 6/8 pm80xx: Add PORT RECOVERY TIMEOUT support
In reply to [email protected]From: Viswas G <[email protected]>
PORT RECOVERY TIMEOUT is the maximum time between the controller's detection of the PHY down until the receipt of the ID_Frame (from the same remote SAS port). If the time expires before the ID_FRAME is received, the port is considered INVALID and can be removed. The IOP_EVENT_PORT_RECOVERY_TIMER_TMO event is reported following the IOP_EVENT_ PHY_DOWN event when the PHY/port does not recover after Port Recovery Time.
--- drivers/scsi/pm8001/pm8001_sas.h | 2 +- drivers/scsi/pm8001/pm80xx_hwi.c | 83 ++++++++++++++++++++++++++++++------- 2 files changed, 68 insertions(+), 17 deletions(-)
drivers/scsi/pm8001/pm8001_sas.h +1 -1
@@ -241,7 +241,7 @@ struct pm8001_chip_info {struct pm8001_port {struct asd_sas_port sas_port;u8 port_attached; -u8 wide_port_phymap; +u16 wide_port_phymap;u8 port_state;struct list_head list; };
drivers/scsi/pm8001/pm80xx_hwi.c +67 -16
165 lines not on this page · raw message
Signature · 1 line
1.7.1
Re: [PATCH 6/8] pm80xx: Add PORT RECOVERY TIMEOUT support
Quoted 10 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
PORT RECOVERY TIMEOUT is the maximum time between the controller's detection of the PHY down until the receipt of the
ID_Frame(from the same remote SAS port). If the time expires before theID_FRAMEis received, the port is considered INVALID and can be removed. TheIOP_EVENT_PORT_RECOVERY_TIMER_TMOevent is reported following theIOP_EVENT_PHY_DOWNevent when the PHY/port does not recover after Port Recovery Time.
Quoted 3 lines
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>---
Ah. Here is the link down handling.
Maybe you should indicate this in the previous patch.
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 6/8] pm80xx: Add PORT RECOVERY TIMEOUT support
In reply to [email protected]Quoted 10 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
PORT RECOVERY TIMEOUT is the maximum time between the controller's detection of the PHY down until the receipt of the
ID_Frame(from the same remote SAS port). If the time expires before theID_FRAMEis received, the port is considered INVALID and can be removed. TheIOP_EVENT_PORT_RECOVERY_TIMER_TMOevent is reported following theIOP_EVENT_PHY_DOWNevent when the PHY/port does not recover after Port Recovery Time.
Quoted 2 lines
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>
Tomas
PATCH 7/8 pm80xx: Handling Invalid SSP Response frame
In reply to [email protected]From: Viswas G <[email protected]>
The request has to be retried incase if the length of the SSP Response IU is invalid.
--- drivers/scsi/pm8001/pm80xx_hwi.c | 7 +++++++ drivers/scsi/pm8001/pm80xx_hwi.h | 2 +- 2 files changed, 8 insertions(+), 1 deletions(-)
drivers/scsi/pm8001/pm80xx_hwi.c +7 -0
@@ -1609,6 +1609,13 @@ mpi_ssp_completion(struct pm8001_hba_info *pm8001_ha , void *piomb) ts->stat =SAS_OPEN_REJECT ; ts->open_rej_reason =SAS_OREJ_RSVD_RETRY ;break ; +case IO_XFER_ERROR_INVALID_SSP_RSP_FRAME : +PM8001_IO_DBG (pm8001_ha, +pm8001_printk ("IO_XFER_ERROR_INVALID_SSP_RSP_FRAME\n" )); + ts->resp =SAS_TASK_COMPLETE ; + ts->stat =SAS_OPEN_REJECT ; + ts->open_rej_reason =SAS_OREJ_RSVD_RETRY ; +break ;case IO_OPEN_CNX_ERROR_PROTOCOL_NOT_SUPPORTED :PM8001_IO_DBG (pm8001_ha,pm8001_printk ("IO_OPEN_CNX_ERROR_PROTOCOL_NOT_SUPPORTED\n" ));
drivers/scsi/pm8001/pm80xx_hwi.h +1 -1
@@ -1175,7 +1175,7 @@ typedef struct SASProtocolTimerConfig SASProtocolTimerConfig_t;#define IO_XFER_ERROR_INTERNAL_CRC_ERROR 0x54#define MPI_IO_RQE_BUSY_FULL 0x55#define IO_XFER_ERR_EOB_DATA_OVERRUN 0x56 -#define IO_XFR_ERROR_INVALID_SSP_RSP_FRAME 0x57 +#define IO_XFER_ERROR_INVALID_SSP_RSP_FRAME 0x57#define IO_OPEN_CNX_ERROR_OPEN_PREEMPTED 0x58#define MPI_ERR_IO_RESOURCE_UNAVAILABLE 0x1004
Signature · 1 line
1.7.1
Re: [PATCH 7/8] pm80xx: Handling Invalid SSP Response frame
Quoted 8 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
The request has to be retried incase if the length of the SSP Response IU is invalid.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>---
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 7/8] pm80xx: Handling Invalid SSP Response frame
In reply to [email protected]Quoted 7 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
The request has to be retried incase if the length of the SSP Response IU is invalid.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>
Tomas
Re: [PATCH 7/8] pm80xx: Handling Invalid SSP Response frame
In reply to [email protected]Quoted 7 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
The request has to be retried incase if the length of the SSP Response IU is invalid.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>
Tomas
PATCH 8/8 pm80xx: Bump pm80xx driver version to 0.1.38
In reply to [email protected]From: Viswas G <[email protected]>
Bump pm80xx driver version to 0.1.38.
--- drivers/scsi/pm8001/pm8001_sas.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/pm8001/pm8001_sas.h +1 -1
@@ -58,7 +58,7 @@#include "pm8001_defs.h" #define DRV_NAME "pm80xx" -#define DRV_VERSION "0.1.37" +#define DRV_VERSION "0.1.38"#define PM8001_FAIL_LOGGING 0x01/* Error message logging */ #define PM8001_INIT_LOGGING 0x02/* driver init logging */ #define PM8001_DISC_LOGGING 0x04/* discovery layer logging */
Signature · 1 line
1.7.1
Re: [PATCH 8/8] pm80xx: Bump pm80xx driver version to 0.1.38
Quoted 16 lines · On 07/29/2015 08:27 AM, [email protected] wrote:
From: Viswas G <[email protected]>
Bump pm80xx driver version to 0.1.38.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>--- drivers/scsi/pm8001/pm8001_sas.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/scsi/pm8001/pm8001_sas.h +0
-0
drivers/scsi/pm8001/pm8001_sas.h line 64
Quoted 8 lines
drivers/scsi/pm8001/pm8001_sas.h +1
-1@@ -58,7 +58,7 @@#include "pm8001_defs.h" #define DRV_NAME "pm80xx" -#define DRV_VERSION "0.1.37" +#define DRV_VERSION "0.1.38"#define PM8001_FAIL_LOGGING 0x01/* Error message logging */ #define PM8001_INIT_LOGGING 0x02/* driver init logging */ #define PM8001_DISC_LOGGING 0x04/* discovery layer logging */
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 8/8] pm80xx: Bump pm80xx driver version to 0.1.38
In reply to [email protected]Quoted 6 lines · On 29.7.2015 08:27, [email protected] wrote:
From: Viswas G <[email protected]>
Bump pm80xx driver version to 0.1.38.
Signed-off-by Viswas G <[email protected]>Signed-off-by Suresh Thiagarajan <[email protected]>
Tomas
2015-07-29 8:27 GMT+02:00 <[email protected]>:
Quoted 15 lines
From: Viswas G <[email protected]>
This patch set contains bug fixes for pm80xx driver. Please consider these patches for next kernel release.
Viswas G (8):
pm80xx: Updated link rate
pm80xx: Corrected device state changes inI_T_Nexus_Reset
pm80xx: Update For Thermal Page Code
pm80xx: Fix for Incorrect DMA Unmapping of SG List
pm80xx: Remove unnecessary phy disconnect while link error
pm80xx: Add PORT RECOVERY TIMEOUT support
pm80xx: Handling Invalid SSP Response frame
pm80xx: Bump pm80xx driver version to 0.1.38
Quoted 8 lines
drivers/scsi/pm8001/pm8001_defs.h | 1 + drivers/scsi/pm8001/pm8001_hwi.c | 4 + drivers/scsi/pm8001/pm8001_sas.c | 15 ++++- drivers/scsi/pm8001/pm8001_sas.h | 12 +++- drivers/scsi/pm8001/pm80xx_hwi.c | 111 +++++++++++++++++++++++++++---------- drivers/scsi/pm8001/pm80xx_hwi.h | 5 +- 6 files changed, 112 insertions(+), 36 deletions(-)
For the whole patchset:
PS: company policy requests to use the email address of the company, please cc me to above address next time, I will send a patch to update my email
in MAINTAINERS file.
Thanks
Jack
Suresh Thiagarajan
Reviewed-byQuoted 24 lines · Jack Wang
2015-07-29 8:27 GMT+02:00 <[email protected]>:
Quoted 15 lines
From: Viswas G <[email protected]>
This patch set contains bug fixes for pm80xx driver. Please consider these patches for next kernel release.
Viswas G (8):
pm80xx: Updated link rate
pm80xx: Corrected device state changes inI_T_Nexus_Reset
pm80xx: Update For Thermal Page Code
pm80xx: Fix for Incorrect DMA Unmapping of SG List
pm80xx: Remove unnecessary phy disconnect while link error
pm80xx: Add PORT RECOVERY TIMEOUT support
pm80xx: Handling Invalid SSP Response frame
pm80xx: Bump pm80xx driver version to 0.1.38Quoted 8 lines
drivers/scsi/pm8001/pm8001_defs.h | 1 + drivers/scsi/pm8001/pm8001_hwi.c | 4 + drivers/scsi/pm8001/pm8001_sas.c | 15 ++++- drivers/scsi/pm8001/pm8001_sas.h | 12 +++- drivers/scsi/pm8001/pm80xx_hwi.c | 111 +++++++++++++++++++++++++++---------- drivers/scsi/pm8001/pm80xx_hwi.h | 5 +- 6 files changed, 112 insertions(+), 36 deletions(-)
Quoted 3 lines
For the whole patchset:
Reviewed-by Jack Wang <[email protected]>
For the whole patchset again:
-Suresh
Quoted 8 lines
PS: company policy requests to use the email address of the company, please cc me to above address next time, I will send a patch to update my email
inMAINTAINERSfile.Thanks
Jack