[GIT PULL] target fixes for v3.16-rc3

2014-06-28 Thread Nicholas A. Bellinger
Hi Linus, Here are the target-pending fixes for v3.16-rc3. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master Mostly minor fixes this time around. The highlights include: - iscsi-target CHAP authentication fixes to enforce explicit k

[PATCH 1/1] drivers/message/fusion/mptfc.c: remove unnecessary null test before kfree

2014-06-28 Thread Fabian Frederick
Fix checkpatch warning: WARNING: kfree(NULL) is safe this check is probably not required Cc: Nagalakshmi Nandigama Cc: Sreekanth Reddy Cc: linux-scsi@vger.kernel.org Cc: dl-mptfusionli...@lsi.com Signed-off-by: Fabian Frederick --- drivers/message/fusion/mptfc.c | 3 +-- 1 file changed, 1 inse

[PATCH] isym53c8xx_2/sym_malloc: Drop cast

2014-06-28 Thread Himangi Saraogi
This patch does away with cast on void * and the if as it is unnecessary. The following Coccinelle semantic patch was used for making the change: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Himangi Saraogi -

[PATCH] MAINTAINERS: Remove two ancient EATA sections

2014-06-28 Thread Joe Perches
These haven't had a single ack by the listed maintainer in all git history and the email addresses don't work. And entry for Michael Neuffer is already in CREDITS. Signed-off-by: Joe Perches --- MAINTAINERS | 14 -- 1 file changed, 14 deletions(-) diff --git a/MAINTAINERS b/MAINTAI

Re: [PATCH 3/4] Introduce XEN scsiback module

2014-06-28 Thread Christoph Hellwig
On Fri, Jun 27, 2014 at 04:34:35PM +0200, jgr...@suse.com wrote: > From: Juergen Gross > > Introduces the XEN pvSCSI backend. With pvSCSI it is possible for a XEN domU > to issue SCSI commands to a SCSI LUN assigned to that domU. The SCSI commands > are passed to the pvSCSI backend in a driver do

[RESEND PATCH V1 1/4] scsi: ufs: query descriptor API

2014-06-28 Thread Dolev Raviv
Introduces the API for sending queries with descriptors. A descriptor is a block or page of parameters that describe the device. The descriptors are classified into types and can range in size from 2 bytes through 255 bytes. All descriptors have a length value as their first element, and a type ide

[RESEND PATCH V1 0/4] LU queue depth manament

2014-06-28 Thread Dolev Raviv
Resending patch 4, to fix the author. Some UFS devices don't support a LUN queue depth same as the device queue depth. This requires reading the unit descriptor for extracting the LU's queue depth. Dolev Raviv (1): scsi: ufs: query descriptor API scsi: ufs: device query status and size check

[RESEND PATCH V1 3/4] scsi: ufs: Logical Unit (LU) command queue depth

2014-06-28 Thread Dolev Raviv
Some of the UFS devices may support different number of commands that can be queued per LU. At the current implementation, SW configure each of the UFS devices LU's according to the controller capability. In this patch the queue depth available per LU is read and updated in the LU's SW structure.

[RESEND PATCH V1 2/4] scsi: ufs: device query status and size check

2014-06-28 Thread Dolev Raviv
Check query response status before copying the response. Add descriptor query response size check, before copying it to buffer. Signed-off-by: Dolev Raviv Signed-off-by: Raviv Shvili Acked-by: Santosh Y --- drivers/scsi/ufs/ufshcd.c | 49 +++ 1 file

[Resend PATCH V1 4/4] scsi: ufs: Fix queue depth handling for best effort cases

2014-06-28 Thread Dolev Raviv
From: Sujit Reddy Thumma Some UFS devices may expose bLUQueueDepth field as zero indicating that the queue depth depends on the number of resources available for LUN at a particular instant to handle the outstanding transfer requests. Currently, when response for SCSI command is TASK_FULL the LLD