Re: [PATCH] [SCSI] mpt3sas: Fix secure erase premature termination (v2)

2016-11-04 Thread Sreekanth Reddy
Hi All, >From last two days, I was working with my firmware team to get the required info over this issue. Here is my firmware team response "For ATA PASSTHROUGH commands, the IOC SATL will not check for the opcode and will direct it to the drive. So even though ATA PASSTHOUGH has ATA erase to th

Re: [PATCH] Avoid that SCSI device removal through sysfs triggers a deadlock

2016-11-04 Thread James Bottomley
On Thu, 2016-11-03 at 16:27 -0600, Bart Van Assche wrote: > On 10/28/2016 08:08 PM, James Bottomley wrote: > > This is a deadlock caused by an inversion issue in kernfs (suicide > > vs > > non-suicide removes); so fixing it in SCSI alone really isn't > > appropriate. I count at least five other su

Ahoj....

2016-11-04 Thread K. M Leung
Ahoj. Dobry vecer a jak se mas? Jen rychly jedno, je tu oficialni prilezitosti bych chtel diskutovat s vami soukrome. Ocenil bych vasi rychlou reakci tady na mem osobnim soukromeho e-mailu nize pro dalsi komunikaci. S pratelskym pozdravem, PanĂ­ Ko May Leung email: kleung...@gmail.com

Re: [PATCH] [SCSI] mpt3sas: Fix secure erase premature termination (v2)

2016-11-04 Thread Hannes Reinecke
On 11/04/2016 01:45 PM, Sreekanth Reddy wrote: Hi All, From last two days, I was working with my firmware team to get the required info over this issue. Here is my firmware team response "For ATA PASSTHROUGH commands, the IOC SATL will not check for the opcode and will direct it to the drive. S

Re: [PATCH v4 09/12] ufs-qcom: phy/hcd: Refactoring phy clock handling

2016-11-04 Thread Martin K. Petersen
> "Vivek" == Vivek Gautam writes: Vivek> Add phy clock enable code to phy_power_on/off callbacks, and Vivek> remove explicit calls to enable these phy clocks from the Vivek> ufs-qcom hcd driver. Vivek: I tried to apply v3 with the revised patch 9/12 but that didn't fly. Please send a v5 seri

Re: [PATCH] [SCSI] mpt3sas: Fix secure erase premature termination (v2)

2016-11-04 Thread Martin K. Petersen
> "Hannes" == Hannes Reinecke writes: Hannes> Checking with SAT-3 (section 6.2.4: Commands the SATL queues Hannes> internally) the implemented behaviour is standards conformant, Hannes> although the standard also allows for returning 'TASK SET FULL' Hannes> or 'BUSY' in these cases. Doing so

Re: [PATCH] Avoid that SCSI device removal through sysfs triggers a deadlock

2016-11-04 Thread Bart Van Assche
On 11/04/2016 07:47 AM, James Bottomley wrote: You know after if (device_remove_file_self(dev, attr)) returns true that s_active is held and also that KERNFS_SUICIDAL is set on the node, so the non-self remove paths can simply check for this flag and return without descending into __kernfs_remo

[PATCH 4/4] qla2xxx: Fix Target stack handling with Multi-queue changes

2016-11-04 Thread himanshu.madhani
From: Quinn Tran - Fix race condition betweeen dpc_thread accessing MQ resources and qla2x00_remove_one thread trying to free resource. - Fix MQ resources out of order free. MQ interrupts needs a workqueue. Interrupt needed to stop before the wq can be destroy. Signed-off-by: Quinn Tran Si

[PATCH 0/4] qla2xxx: feature updates for driver.

2016-11-04 Thread himanshu.madhani
From: Himanshu Madhani Hi Martin, This series contains support for Multiqueue feature. Also, improved command submission via mailbox path in the driver. Please apply to scsi-misc at your earliest convenience. Thanks, Himanshu Himanshu Madhani (1): qla2xxx: Only allow operational MBX to

[PATCH 1/4] qla2xxx: Only allow operational MBX to proceed during RESET.

2016-11-04 Thread himanshu.madhani
From: Himanshu Madhani Signed-off-by: Himanshu Madhani Signed-off-by: Giridhar Malavali --- drivers/scsi/qla2xxx/qla_mbx.c | 52 ++ 1 file changed, 52 insertions(+) diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 23698

[PATCH 2/4] qla2xxx: Fix mailbox command timeout due to starvation

2016-11-04 Thread himanshu.madhani
From: Samy Signed-off-by: Samy Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_def.h | 3 ++ drivers/scsi/qla2xxx/qla_mbx.c | 88 ++ drivers/scsi/qla2xxx/qla_os.c | 24 3 files changed, 91 insertions(+), 24 deletions(-) diff

[PATCH 3/4] qla2xxx: Add Block Multi Queue functionality.

2016-11-04 Thread himanshu.madhani
From: Michael Hernandez Tell the SCSI layer how many hardware queues we have based on the number of max queue pairs created. The number of max queue pairs created will depend on number of MSI X vector count or number of CPU's in a system. This feature can be turned on via CONFIG_SCSI_MQ_DEFAULT

Re: iscsi_trx going into D state

2016-11-04 Thread Robert LeBlanc
We hit this yesterday, this time it was on the tx thread (the other ones before seem to be on the rx thread). We weren't able to get a kernel dump on this. We'll try to get one next time. # ps axuw | grep "D.*iscs[i]" root 12383 0.0 0.0 0 0 ?DNov03 0:04 [iscsi_np] root

Re: [PATCH 3/4] qla2xxx: Add Block Multi Queue functionality.

2016-11-04 Thread Christoph Hellwig
On Fri, Nov 04, 2016 at 09:33:32AM -0700, himanshu.madh...@cavium.com wrote: > From: Michael Hernandez > > Tell the SCSI layer how many hardware queues we have based on the > number of max queue pairs created. The number of max queue pairs > created will depend on number of MSI X vector count or

Re: [PATCH 3/4] qla2xxx: Add Block Multi Queue functionality.

2016-11-04 Thread kbuild test robot
Hi Michael, [auto build test ERROR on scsi/for-next] [also build test ERROR on v4.9-rc3 next-20161028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record w

Re: [PATCH 3/4] qla2xxx: Add Block Multi Queue functionality.

2016-11-04 Thread Madhani, Himanshu
Hi Christoph, On 11/4/16, 4:00 PM, "Christoph Hellwig" wrote: >On Fri, Nov 04, 2016 at 09:33:32AM -0700, himanshu.madh...@cavium.com wrote: >> From: Michael Hernandez >> >> Tell the SCSI layer how many hardware queues we have based on the >> number of max queue pairs created. The number of