[PATCH V2 8/8] pm80xx: Bump pm80xx driver version to 0.1.38

2015-08-11 Thread Viswas.G
From: Viswas G viswa...@pmcs.com Bump pm80xx driver version to 0.1.38. Changes From V1: None Signed-off-by: Viswas G viswa...@pmcs.com Reviewed-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com Reviewed-by: Hannes Reinecke h...@suse.com Reviewed-by: Jack Wang jinpu.w...@profitbricks.com

[PATCH V2 4/8] pm80xx: Fix for Incorrect DMA Unmapping of SG List

2015-08-11 Thread Viswas.G
From: Viswas G viswa...@pmcs.com 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.

[PATCH V2 6/8] pm80xx: Add PORT RECOVERY TIMEOUT support

2015-08-11 Thread Viswas.G
From: Viswas G viswa...@pmcs.com 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.

[PATCH V2 7/8] pm80xx: Handling Invalid SSP Response frame

2015-08-11 Thread Viswas.G
From: Viswas G viswa...@pmcs.com The request has to be retried incase if the length of the SSP Response IU is invalid. Changes From V1: None Signed-off-by: Viswas G viswa...@pmcs.com Reviewed-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com Reviewed-by: Hannes Reinecke h...@suse.com

[PATCH V2 3/8] pm80xx: Update For Thermal Page Code

2015-08-11 Thread Viswas.G
From: Viswas G viswa...@pmcs.com Thermal page code has been changed to 7 for the 12G controllers. Changes From V1: None Signed-off-by: Viswas G viswa...@pmcs.com Reviewed-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com Reviewed-by: Hannes Reinecke h...@suse.com Reviewed-by: Jack Wang

[PATCH V2 1/8] pm80xx: Updated link rate

2015-08-11 Thread Viswas.G
From: Viswas G viswa...@pmcs.com Updated 12G linkrate to libsas. Changes from V1: None Signed-off-by: Viswas G viswa...@pmcs.com Reviewed-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com Reviewed-by: Hannes Reinecke h...@suse.com Reviewed-by: Jack Wang jinpu.w...@profitbricks.com

[PATCH 2/8] pm80xx: Corrected device state changes in I_T_Nexus_Reset

2015-07-29 Thread Viswas.G
From: Viswas G viswa...@pmcs.com 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. Signed-off-by: Viswas G viswa...@pmcs.com Signed-off-by: Suresh Thiagarajan

[PATCH 6/8] pm80xx: Add PORT RECOVERY TIMEOUT support

2015-07-29 Thread Viswas.G
From: Viswas G viswa...@pmcs.com 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.

[PATCH 7/8] pm80xx: Handling Invalid SSP Response frame

2015-07-29 Thread Viswas.G
From: Viswas G viswa...@pmcs.com The request has to be retried incase if the length of the SSP Response IU is invalid. Signed-off-by: Viswas G viswa...@pmcs.com Signed-off-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com --- drivers/scsi/pm8001/pm80xx_hwi.c |7 +++

[PATCH 8/8] pm80xx: Bump pm80xx driver version to 0.1.38

2015-07-29 Thread Viswas.G
From: Viswas G viswa...@pmcs.com Bump pm80xx driver version to 0.1.38. Signed-off-by: Viswas G viswa...@pmcs.com Signed-off-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com --- drivers/scsi/pm8001/pm8001_sas.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 3/8] pm80xx: Update For Thermal Page Code

2015-07-29 Thread Viswas.G
From: Viswas G viswa...@pmcs.com Thermal page code has been changed to 7 for the 12G controllers. Signed-off-by: Viswas G viswa...@pmcs.com Signed-off-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com --- drivers/scsi/pm8001/pm80xx_hwi.c |9 - drivers/scsi/pm8001/pm80xx_hwi.h |

[PATCH 5/8] pm80xx: Remove unnecessary phy disconnect while link error

2015-07-29 Thread Viswas.G
From: Viswas G viswa...@pmcs.com 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 viswa...@pmcs.com Signed-off-by: Suresh Thiagarajan

[PATCH 4/8] pm80xx: Fix for Incorrect DMA Unmapping of SG List

2015-07-29 Thread Viswas.G
From: Viswas G viswa...@pmcs.com 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.

[PATCH 1/8] pm80xx: Updated link rate

2015-07-29 Thread Viswas.G
From: Viswas G viswa...@pmcs.com Updated 12G linkrate to libsas. Signed-off-by: Viswas G viswa...@pmcs.com Signed-off-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com --- drivers/scsi/pm8001/pm8001_defs.h |1 + drivers/scsi/pm8001/pm8001_hwi.c |4 2 files changed, 5

[PATCH 0/8] pm80xx: Driver updates

2015-07-29 Thread Viswas.G
From: Viswas G viswa...@pmcs.com 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