RE: [PATCH 3/4] pm8001: add a new spinlock to protect the CCB

2014-06-27 Thread Viswas G
are protecting using pm8001_ha-lock. 2)Driver initialization : We are not using the lock here . As there only one will be running, we don't need a lock here. So there is no need of a specific lock for tag allocation. Regards, Viswas G -Original Message- From: Tomas Henzl [mailto:the...@redhat.com

[PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-10-22 Thread Viswas G
Signed-off-by: Viswas G viswa...@pmcs.com --- drivers/scsi/pm8001/pm8001_ctl.c | 248 - drivers/scsi/pm8001/pm8001_ctl.h | 55 drivers/scsi/pm8001/pm8001_init.c | 37 ++ drivers/scsi/pm8001/pm8001_sas.h | 30 + drivers/scsi/pm8001

RE: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-11-04 Thread Viswas G
Hi Jack, We wanted to control the GPIO in the HBA only. Bsg interface gets created only for enclosure or expander. For our HBA, bsg interface will not be created since it does not have an enclosure target inside. That's why we wanted to use IOCTL. Please advise. Best Regards, Viswas G

RE: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-11-10 Thread Viswas G
complexity by using ioctl interface. Regards, Viswas G -Original Message- From: Jack Wang [mailto:xjtu...@gmail.com] Sent: Monday, November 04, 2013 4:00 PM To: Viswas G Cc: linux-scsi@vger.kernel.org; Sangeetha Gnanasekaran; Nikith Ganigarakoppal; Anand Kumar Santhanam; Suresh

RE: [PATCH 11/11] pm80xx : gpio feature support for motherboard controllers

2013-11-14 Thread Viswas G
Hi James, Can you please share your opinion on this ? Regards Viswas G -Original Message- From: Jack Wang [mailto:xjtu...@gmail.com] Sent: Monday, November 11, 2013 2:28 PM To: Viswas G; James Bottomley Cc: linux-scsi@vger.kernel.org; Sangeetha Gnanasekaran; Nikith Ganigarakoppal

[PATCH 5/6] pm80xx : Removing redundant code snippets

2013-11-19 Thread Viswas G
Removed redundant code snipptes in pm8001_hwi.c and pm8001_ctl.c Signed-off-by: Viswas G viswa...@pmcs.com --- drivers/scsi/pm8001/pm8001_ctl.c | 22 -- drivers/scsi/pm8001/pm8001_hwi.c |7 +-- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/drivers

[PATCH 6/6] pm80xx : Fixed return value issue

2013-11-19 Thread Viswas G
pm8001_get_gsm_dump() was returning 1 in error case instead of negative error code. Signed-off-by: Viswas G viswa...@pmcs.com --- drivers/scsi/pm8001/pm8001_hwi.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi

RE: [PATCH 6/6] pm80xx : Fixed return value issue

2013-11-20 Thread Viswas G
Hi Tomas, Patches 1-4 are submitted with subject [PATCH V2 0/4]: pm8001 driver bug fixes. As this patch has to be applied after those four patches, we submitted this as 5/6 and 6/6. We will resend the modified patch. Regards, Viswas G -Original Message- From: Tomas Henzl

[PATCH 0/2] pm8001 driver code cleanup

2013-11-26 Thread Viswas G
=138493235925253w=2 [PATCH 6/6] pm80xx : Fixed return value issue http://marc.info/?l=linux-scsim=138493243028701w=2 Sorry for the confusion. This patch set has to be applied after the below patch set submitted by Anand. http://marc.info/?l=linux-scsim=138434875025909w=2 Viswas G (2): pm80xx

[PATCH 1/2] pm80xx : Removing redundant code snippets

2013-11-26 Thread Viswas G
Removed redundant code snippets in pm8001_hwi.c and pm8001_ctl.c Signed-off-by: Viswas G viswa...@pmcs.com --- drivers/scsi/pm8001/pm8001_ctl.c | 22 -- drivers/scsi/pm8001/pm8001_hwi.c |7 +-- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/drivers

[PATCH 2/2] pm80xx : Fixed return value issue.

2013-11-26 Thread Viswas G
pm80xx_get_gsm_dump() was returning 1 in error case instead of negative error value. Signed-off-by: Viswas G viswa...@pmcs.com --- drivers/scsi/pm8001/pm8001_ctl.c |4 ++-- drivers/scsi/pm8001/pm8001_hwi.c |8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v2 0/2] pm8001 driver code cleanup

2013-12-09 Thread Viswas G
=138493235925253w=2 [PATCH 6/6] pm80xx : Fixed return value issue http://marc.info/?l=linux-scsim=138493243028701w=2 Sorry for the confusion. This patch set has to be applied after the below patch set submitted by Anand. http://marc.info/?l=linux-scsim=138434875025909w=2 Viswas G (2): pm80xx

[PATCH v2 1/2] pm80xx : Removing redundant code snippets

2013-12-09 Thread Viswas G
Removed redundant code snippets in pm8001_hwi.c and pm8001_ctl.c Signed-off-by: Viswas G viswa...@pmcs.com Reviewed-by: Jack Wang jinpu.w...@profitbricks.com --- drivers/scsi/pm8001/pm8001_ctl.c | 34 ++ drivers/scsi/pm8001/pm8001_hwi.c |7 +-- 2 files

[PATCH v2 2/2] pm80xx : Fixed return value issue

2013-12-09 Thread Viswas G
pm80xx_get_gsm_dump() was returning 1 in error case instead of negative error value. Signed-off-by: Viswas G viswa...@pmcs.com Reviewed-by: Jack Wang jinpu.w...@profitbricks.com Acked-by: TomasHenzl the...@redhat.com --- drivers/scsi/pm8001/pm8001_ctl.c |4 ++-- drivers/scsi/pm8001

[PATCH] pm80xx: Spinlock fix

2013-12-18 Thread Viswas G
is added and used across all the places where pm8001_ha-lock is used. Reported-by: Jason Seba jason.seb...@gmail.com Signed-off-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com Signed-off-by: Viswas G viswa...@pmcs.com --- drivers/scsi/pm8001/pm8001_hwi.c | 158

[PATCH V2] pm80xx: Spinlock fix

2014-01-16 Thread Viswas G
-by: Suresh Thiagarajan suresh.thiagara...@pmcs.com Signed-off-by: Viswas G viswa...@pmcs.com --- drivers/scsi/pm8001/pm8001_hwi.c | 84 ++ drivers/scsi/pm8001/pm8001_sas.h | 12 + drivers/scsi/pm8001/pm80xx_hwi.c | 84 ++ 3

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

2015-07-29 Thread Viswas G
On Wed, Jul 29, 2015 at 2:26 PM, Hannes Reinecke h...@suse.de wrote: On 07/29/2015 08:27 AM, viswa...@pmcs.com wrote: 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

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

2015-07-30 Thread Viswas G
On Wed, Jul 29, 2015 at 9:40 PM, Tomas Henzl the...@redhat.com wrote: On 29.7.2015 08:27, viswa...@pmcs.com wrote: 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

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

2015-08-14 Thread Viswas G
On Thu, Aug 13, 2015 at 6:13 PM, Jinpu Wang jinpu.w...@profitbricks.com wrote: Hi On Tue, Aug 11, 2015 at 11:36 AM, viswa...@pmcs.com wrote: From: Viswas G viswa...@pmcs.com In Nexus reset the device state request are not needed. Changes from V1: Device state change request has been

Re: [Bug 121531] Adaptec 7805H SAS HBA (pm80xx): hangs when writing >80MB at once

2016-07-07 Thread Viswas G
Patch set for pm80xx is pending for the last 3 quarters. We will submit those soon with all the buf fixes and performance tuning changes. Regards, Viswas G On Thu, Jul 7, 2016 at 10:04 PM, <bugzilla-dae...@bugzilla.kernel.org> wrote: > https://bugzilla.kernel.org/show_bug.cgi?

RE: [PATCH V2 0/9] pm80xx updates

2017-09-15 Thread Viswas G
Thanks Martin. Do we need to send V3 patch set with corrected date ? Regards, Viswas G > -Original Message- > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Saturday, September 16, 2017 1:06 AM > To: Viswas G <viswa...@microsemi.com>

[PATCH V3 8/9] pm80xx : panic on ncq error cleaning up the read log.

2017-09-19 Thread Viswas G
() treats this as the signal to go free a scatter-gather list (that's already been free-ed). Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm80xx_h

[PATCH V3 9/9] pm80xx : corrected linkrate value.

2017-09-19 Thread Viswas G
Corrected the value defined for LINKRATE_60 (6 Gig). Signed-off-by: Raj Dinesh <raj.din...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm80xx_hwi.h | 2 +- 1 file changed, 1 insert

[PATCH V3 6/9] pm80xx : modified port reset timer value for PM8006 card

2017-09-19 Thread Viswas G
Added port reset timer value as 2000ms for PM8006 sata controller. Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm80xx_hwi.c | 6 ++

[PATCH V3 7/9] pm80xx : corrected SATA abort handling sequence.

2017-09-19 Thread Viswas G
k.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm8001_hwi.c | 8 - drivers/scsi/pm8001/pm8001_sas.c | 71 ++-- drivers/scsi/pm8001

[PATCH V3 2/9] pm80xx : ILA and inactive firmware version through sysfs

2017-09-19 Thread Viswas G
Added support to read ILA version and inactive firmware version from MPI configuration table and export through sysfs. Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com>

[PATCH V3 3/9] pm80xx : Different SAS addresses for phys.

2017-09-19 Thread Viswas G
Different SAS addresses are assigned for each set of phys. Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm8001_init.c | 13 + drivers/scsi/pm8001/pm80xx_hwi.c | 3 +-- 2 files changed, 1

[PATCH V3 0/9] pm80xx updates

2017-09-19 Thread Viswas G
for phy control request. - cleanup in pm8001_abort_task function. - modified port reset timer value for PM8006 card - corrected SATA abort handling sequence. Viswas G (9): pm80xx : redefine sas_identify_frame structure pm80xx : ILA and inactive

[PATCH V3 4/9] pm80xx : tag allocation for phy control request.

2017-09-19 Thread Viswas G
tag is taken from the tag pool instead of using the hardcoded tag value(1). Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm8001_hwi.c | 3

[PATCH V3 1/9] pm80xx : redefine sas_identify_frame structure

2017-09-19 Thread Viswas G
din...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm80xx_hwi.h | 98 +++- 1 file changed, 97 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/pm8

[PATCH V3 5/9] pm80xx : cleanup in pm8001_abort_task function.

2017-09-19 Thread Viswas G
Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm8001_sas.c | 49 +++- 1 file changed, 13 insertions(+), 36

RE: [PATCH 1/6] pm80xx : redefine sas_identify_frame structure

2017-08-30 Thread Viswas G
ettings so this doesn't really matter, but the docs indicate that the sas frame's crc isn't included. So having a local definition will be better than taking the system definition. Regards, Viswas G > -Original Message- > From: Jack Wang [mailto:xjtu...@gmail.com] > Sent: Tuesday, Augu

RE: [PATCH 4/6] pm80xx : Corrected SATA abort handling.

2017-08-30 Thread Viswas G
Thanks Jack. We will split this patch as you suggested and send V2. Regards, Viswas G > -Original Message- > From: Jack Wang [mailto:xjtu...@gmail.com] > Sent: Tuesday, August 29, 2017 5:16 PM > To: Viswas G <viswa...@microsemi.com> > Cc: linux-scsi@vger.kernel

RE: [PATCH 1/6] pm80xx : redefine sas_identify_frame structure

2017-08-30 Thread Viswas G
Thanks. We will move that to pm80xx_hwi.h. Regards, Viswas G > -Original Message- > From: Jack Wang [mailto:xjtu...@gmail.com] > Sent: Wednesday, August 30, 2017 9:34 PM > To: Viswas G <viswa...@microsemi.com> > Cc: linux-scsi@vger.kernel.org; Vasant

RE: [PATCH 3/6] pm80xx : Different SAS addresses for phys.

2017-08-30 Thread Viswas G
, Viswas G > -Original Message- > From: Jack Wang [mailto:xjtu...@gmail.com] > Sent: Tuesday, August 29, 2017 4:55 PM > To: Viswas G <viswa...@microsemi.com> > Cc: linux-scsi@vger.kernel.org; Vasanthalakshmi Tharmarajan > <vasanthalakshmi.t...@microsemi.com

[PATCH V2 9/9] pm80xx : corrected linkrate value.

2017-09-13 Thread Viswas G
Corrected the value defined for LINKRATE_60 (6 Gig). Signed-off-by: Raj Dinesh <raj.din...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm80xx_hwi.h | 2 +- 1 file changed, 1 insert

[PATCH V2 3/9] pm80xx : Different SAS addresses for phys.

2017-09-13 Thread Viswas G
Different SAS addresses are assigned for each set of phys. Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm8001_init.c | 13 + drivers/scsi/pm8001/pm80xx_hwi.c | 3 +-- 2 files changed, 10 inse

[PATCH V2 6/9] pm80xx : modified port reset timer value for PM8006 card

2017-09-13 Thread Viswas G
Added port reset timer value as 2000ms for PM8006 sata controller. Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm80xx_hwi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers

[PATCH V2 8/9] pm80xx : panic on ncq error cleaning up the read log.

2017-09-13 Thread Viswas G
() treats this as the signal to go free a scatter-gather list (that's already been free-ed). Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm80xx_hwi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/

[PATCH V2 0/9] pm80xx updates

2017-09-13 Thread Viswas G
. - cleanup in pm8001_abort_task function. - modified port reset timer value for PM8006 card - corrected SATA abort handling sequence. Viswas G (9): pm80xx : redefine sas_identify_frame structure pm80xx : ILA and inactive firmware version through sysfs pm80xx

[PATCH V2 7/9] pm80xx : corrected SATA abort handling sequence.

2017-09-13 Thread Viswas G
k.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm8001_hwi.c | 8 - drivers/scsi/pm8001/pm8001_sas.c | 71 ++-- drivers/scsi/pm8001/pm8001_sas.h | 8 + drivers/scsi/pm8001/pm80x

[PATCH V2 5/9] pm80xx : cleanup in pm8001_abort_task function.

2017-09-13 Thread Viswas G
Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm8001_sas.c | 49 +++- 1 file changed, 13 insertions(+), 36 deletions(-) diff --git a/drivers/scsi/pm8001/pm8001_sas

[PATCH V2 2/9] pm80xx : ILA and inactive firmware version through sysfs

2017-09-13 Thread Viswas G
Added support to read ILA version and inactive firmware version from MPI configuration table and export through sysfs. Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com>

[PATCH V2 4/9] pm80xx : tag allocation for phy control request.

2017-09-13 Thread Viswas G
tag is taken from the tag pool instead of using the hardcoded tag value(1). Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm8001_hwi.c | 3 +++ drivers/scsi/pm8001/pm80xx_hwi.c | 10 +++--- 2 files

[PATCH V2 1/9] pm80xx : redefine sas_identify_frame structure

2017-09-13 Thread Viswas G
din...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm80xx_hwi.h | 98 +++- 1 file changed, 97 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/pm8001/pm80xx_hwi.h b/drivers/scsi/pm8001/pm80xx_hwi.h index

RE: [PATCH 0/6] pm80xx updates

2017-08-25 Thread Viswas G
Thanks Martin, My system date was wrong. I will correct the date when I send V1 for this patch set. Regards, Viswas G -Original Message- From: Martin K. Petersen [mailto:martin.peter...@oracle.com] Sent: Saturday, August 26, 2017 3:18 AM To: Viswas G <viswa...@microsemi.com> Cc:

[PATCH 6/6] pm80xx : corrected linkrate value.

2017-08-25 Thread Viswas G
Corrected the value defined for LINKRATE_60 (6 Gig). Signed-off-by: Raj Dinesh <raj.din...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm80xx_hwi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pm8001/pm

[PATCH 2/6] pm80xx: ILA and inactive firmware version through sysfs

2017-08-25 Thread Viswas G
Added support to read ILA version and inactive firmware version from MPI configuration table and export through sysfs. Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm800

[PATCH 5/6] pm80xx : panic on ncq error cleaning up the read log

2017-08-25 Thread Viswas G
() treats this as the signal to go free a scatter-gather list (that's already been free-ed). Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm80xx_hwi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/

[PATCH 3/6] pm80xx : Different SAS addresses for phys.

2017-08-25 Thread Viswas G
Different SAS addresses are assigned for each set of phys. Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm8001_init.c | 13 + drivers/scsi/pm8001/pm80xx_hwi.c | 3 +-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/

[PATCH 4/6] pm80xx : Corrected SATA abort handling.

2017-08-25 Thread Viswas G
k.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm8001_hwi.c | 11 +++- drivers/scsi/pm8001/pm8001_sas.c | 125 +++ drivers/scsi/pm8001/pm8001_sas.h | 8 +++ drivers/scsi/pm8001/pm80xx_hwi.c | 52 +++

[PATCH 0/6] pm80xx updates

2017-08-25 Thread Viswas G
This patch set include some big fixes and enhancement for pm80xx driver. Viswas G (6): pm80xx : redefine sas_identify_frame structure pm80xx: ILA and inactive firmware version through sysfs pm80xx : Different SAS addresses for phys. pm80xx : Corrected SATA abort handling. pm80xx

[PATCH 1/6] pm80xx : redefine sas_identify_frame structure

2017-08-25 Thread Viswas G
sas_identify structure defined by pm80xx doesn't have CRC field. So added a new sas_identify structure without CRC. Signed-off-by: Raj Dinesh <raj.din...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> --- drivers/scsi/pm8001/pm8001_hwi.h | 2 +- drivers/scsi/pm8001/

[PATCH V4 7/9] pm80xx : corrected SATA abort handling sequence.

2017-10-18 Thread Viswas G
k.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm8001_hwi.c | 8 - drivers/scsi/pm8001/pm8001_sas.c | 72 ++-- drivers/scsi/pm8001

[PATCH V4 2/9] pm80xx : ILA and inactive firmware version through sysfs

2017-10-18 Thread Viswas G
Added support to read ILA version and inactive firmware version from MPI configuration table and export through sysfs. Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com>

[PATCH V4 3/9] pm80xx : Different SAS addresses for phys.

2017-10-18 Thread Viswas G
Different SAS addresses are assigned for each set of phys. Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm8001_init.c | 13 + drivers/scsi/pm8001/pm80xx_hwi.c | 3 +-- 2 files changed, 1

[PATCH V4 4/9] pm80xx : tag allocation for phy control request.

2017-10-18 Thread Viswas G
tag is taken from the tag pool instead of using the hardcoded tag value(1). v4: - Removed the unused variable ret in pm80xx_chip_phy_ctl_req. Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack W

[PATCH V4 0/9] pm80xx updates

2017-10-18 Thread Viswas G
handling patch split to four patches. - tag allocation for phy control request. - cleanup in pm8001_abort_task function. - modified port reset timer value for PM8006 card - corrected SATA abort handling sequence. Viswas G (9): pm80xx

[PATCH V4 5/9] pm80xx : cleanup in pm8001_abort_task function.

2017-10-18 Thread Viswas G
v4: -Removed the unused variable ccb in pm8001_abort_task. -Removed the unused label out which is not used Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@p

[PATCH V4 6/9] pm80xx : modified port reset timer value for PM8006 card

2017-10-18 Thread Viswas G
Added port reset timer value as 2000ms for PM8006 sata controller. Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm80xx_hwi.c | 6 ++

[PATCH V4 1/9] pm80xx : redefine sas_identify_frame structure

2017-10-18 Thread Viswas G
din...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm80xx_hwi.h | 98 +++- 1 file changed, 97 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/pm8

[PATCH V4 9/9] pm80xx : corrected linkrate value.

2017-10-18 Thread Viswas G
Corrected the value defined for LINKRATE_60 (6 Gig). Signed-off-by: Raj Dinesh <raj.din...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm80xx_hwi.h | 2 +- 1 file changed, 1 insert

[PATCH V4 8/9] pm80xx : panic on ncq error cleaning up the read log.

2017-10-18 Thread Viswas G
() treats this as the signal to go free a scatter-gather list (that's already been free-ed). Signed-off-by: Deepak Ukey <deepak.u...@microsemi.com> Signed-off-by: Viswas G <viswa...@microsemi.com> Acked-by: Jack Wang <jinpu.w...@profitbricks.com> --- drivers/scsi/pm8001/pm80xx_h

RE: PMC(Adaptec) 7805H(7H series) HBA compatibility problem with many Seagate HDDs

2018-01-21 Thread Viswas G
/:82:00.0/host10/scsi_host/host10/logging_level After setting the log level to oxff, connect the drives with which you are facing issue. Kindly share the logs after that. Regards, Viswas G > -Original Message- > From: Jack Wang [mailto:xjtu...@gmail.com] > Sent: Friday, Ja

[PATCH 0/4] pm0xx : Updates for driver version 0.1.39.

2018-09-04 Thread Viswas G
From: Deepak Ukey This patch set include some bug fixes for pm80xx driver. Deepak Ukey (4): pm80xx : Fix for phy enable/disable functionality. pm80xx : Corrected dma_unmap_sg() parameter. pm80xx : Fixed system hang issue during kexec boot. pm80xx : Update driver version to 0.1.39

[PATCH 4/4] pm80xx : Update driver version to 0.1.39

2018-09-04 Thread Viswas G
From: Deepak Ukey Updated the driver version from 0.1.38 to 0.1.39. Signed-off-by: Deepak Ukey Signed-off-by: Viswas G --- drivers/scsi/pm8001/pm8001_sas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pm8001/pm8001_sas.h b/drivers/scsi/pm8001/pm8001_sas.h

[PATCH 1/4] pm80xx : Fix for phy enable/disable functionality.

2018-09-04 Thread Viswas G
From: Deepak Ukey Added proper mask for phy id in mpi_phy_stop_resp(). Signed-off-by: Deepak Ukey Signed-off-by: Viswas G --- drivers/scsi/pm8001/pm8001_defs.h | 7 +++ drivers/scsi/pm8001/pm8001_hwi.c | 4 ++-- drivers/scsi/pm8001/pm8001_init.c | 2 +- drivers/scsi/pm8001

[PATCH 3/4] pm80xx : Fixed system hang issue during kexec boot.

2018-09-04 Thread Viswas G
to true. Signed-off-by: Deepak Ukey Signed-off-by: Viswas G --- drivers/scsi/pm8001/pm8001_hwi.c | 6 +++ drivers/scsi/pm8001/pm8001_sas.c | 7 drivers/scsi/pm8001/pm8001_sas.h | 1 + drivers/scsi/pm8001/pm80xx_hwi.c | 80 +--- drivers/scsi/pm8001

[PATCH 2/4] pm80xx : Corrected dma_unmap_sg() parameter.

2018-09-04 Thread Viswas G
From: Deepak Ukey For the function dma_unmap_sg(), the parameter should be number of elements in the scatter list prior to the mapping, not after the mapping. Signed-off-by: Deepak Ukey Signed-off-by: Viswas G --- drivers/scsi/pm8001/pm8001_sas.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH V2 2/4] pm80xx : Corrected dma_unmap_sg() parameter.

2018-09-11 Thread Viswas G
From: Deepak Ukey For the function dma_unmap_sg(), the parameter should be number of elements in the scatter list prior to the mapping, not after the mapping. Signed-off-by: Deepak Ukey Signed-off-by: Viswas G Acked-by: Jack Wang --- drivers/scsi/pm8001/pm8001_sas.c | 2 +- 1 file changed

[PATCH V2 0/4] pm0xx : Updates for driver version 0.1.39

2018-09-11 Thread Viswas G
From: Deepak Ukey This patch set include some bug fixes for pm80xx driver. Changes from V1: For "Fix for phy enable/disable functionality" patch, -Initialized the PM8001F_RUN_TIME flag in pm8001_pci_probe(). -Differentiated PHY_LINK_UP state for SPC and

[PATCH V2 4/4] pm80xx : Update driver version to 0.1.39

2018-09-11 Thread Viswas G
From: Deepak Ukey Updated the driver version from 0.1.38 to 0.1.39. Signed-off-by: Deepak Ukey Signed-off-by: Viswas G Acked-by: Jack Wang --- drivers/scsi/pm8001/pm8001_sas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pm8001/pm8001_sas.h b/drivers

[PATCH V2 3/4] pm80xx : Fixed system hang issue during kexec boot.

2018-09-11 Thread Viswas G
to true. Signed-off-by: Deepak Ukey Signed-off-by: Viswas G Acked-by: Jack Wang --- drivers/scsi/pm8001/pm8001_hwi.c | 6 +++ drivers/scsi/pm8001/pm8001_sas.c | 7 +++ drivers/scsi/pm8001/pm8001_sas.h | 1 + drivers/scsi/pm8001/pm80xx_hwi.c | 80 +--- drivers

[PATCH V2 1/4] pm80xx : Fix for phy enable/disable functionality.

2018-09-11 Thread Viswas G
PHY_LINK_DOWN macro for phy state down. Signed-off-by: Deepak Ukey Signed-off-by: Viswas G --- drivers/scsi/pm8001/pm8001_defs.h | 8 drivers/scsi/pm8001/pm8001_hwi.c | 3 ++- drivers/scsi/pm8001/pm8001_hwi.h | 4 drivers/scsi/pm8001/pm8001_init.c | 3 ++- drivers/scsi