[PATCH] [SCSI] mvsas: fix error return code in mvs_task_prep()

2013-05-12 Thread Wei Yongjun
From: Wei Yongjun Fix to return -ENOMEM in the pci_pool_alloc() error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/scsi/mvsas/mv_sas.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/mvsas/mv_sas.c b/

RE: [PATCH V1 3/8] scsi: ufs: wrap the i/o access operations

2013-05-12 Thread Dolev Raviv
> On Sunday, May 12, 2013, Dolev Raviv wrote: > Author should be identified here. (From: author...) > Except last patch of series(8/8), all of patches are not from you. > >> Simplify operations with hiding mmio_base. >> >> Signed-off-by: Seungwon Jeon >> Signed-off-by: Dolev Raviv > I'm not sure

Re: [PATCH] scsi: Allow error handling timeout to be specified

2013-05-12 Thread Hannes Reinecke
On 05/10/2013 09:27 PM, Baruch Even wrote: > On Fri, May 10, 2013 at 11:18 PM, Hannes Reinecke wrote: >> On 05/10/2013 07:51 PM, Baruch Even wrote: >>> >>> The error handling I have in mind (admittedly, not fully thought out) >>> should work for both FC and SAS. Currently the error recovery >>> pr

RE: [PATCH V1 3/8] scsi: ufs: wrap the i/o access operations

2013-05-12 Thread Seungwon Jeon
On Sunday, May 12, 2013, Dolev Raviv wrote: Author should be identified here. (From: author...) Except last patch of series(8/8), all of patches are not from you. > Simplify operations with hiding mmio_base. > > Signed-off-by: Seungwon Jeon > Signed-off-by: Dolev Raviv I'm not sure that your si

Re: [GIT PULL] Final round of SCSI updates for the 3.9+ merge window

2013-05-12 Thread Paolo Bonzini
Il 11/05/2013 01:00, James Bottomley ha scritto: > This is the final round of SCSI patches for the merge window. It > consists mostly of driver updates (bnx2fc, ibmfc, fnic, lpfc, be2iscsi, > pm80xx, qla4x and ipr). There's also the power management updates that > complete the patches in Jens' tr

[PATCH V1 5/8] scsi: ufs: fix interrupt status clears

2013-05-12 Thread Dolev Raviv
There is no need to check the version to clear the interrupt status. And the order is changed prior to actual handling. Signed-off-by: Seungwon Jeon Signed-off-by: Dolev Raviv Tested-by: Maya Erez diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index c342a38..f4293d1 100644

[PATCH V1 4/8] scsi: ufs: amend interrupt configuration

2013-05-12 Thread Dolev Raviv
It makes interrupt setting more flexible especially for disabling. And wrong bit mask is fixed for ver 1.0. [17:16] is added for mask. Signed-off-by: Seungwon Jeon Signed-off-by: Dolev Raviv Tested-by: Maya Erez diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 3946b9d..

[PATCH V1 3/8] scsi: ufs: wrap the i/o access operations

2013-05-12 Thread Dolev Raviv
Simplify operations with hiding mmio_base. Signed-off-by: Seungwon Jeon Signed-off-by: Dolev Raviv Tested-by: Maya Erez diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 7ce40a5..3946b9d 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -71,7 +71,

[PATCH V1 2/8] scsi: ufs: Fix the response UPIU length setting

2013-05-12 Thread Dolev Raviv
The response UPIU length should be in DWORD and not in bytes. Signed-off-by: Maya Erez Signed-off-by: Sujit Reddy Thumma Signed-off-by: Dolev Raviv Tested-by: Dolev Raviv diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 4ddc8be..7ce40a5 100644 --- a/drivers/scsi/ufs/uf

[PATCH V1 6/8] scsi: ufs: rework link start-up process

2013-05-12 Thread Dolev Raviv
Link start-up requires long time with multiphase handshakes between UFS host and device. This affects driver's probe time. This patch let link start-up run asynchronously. Link start-up will be executed at the end of prove separately. Along with this change, the following is worked. Defined comple

[PATCH V1 7/8] scsi: ufs: Add support for sending NOP OUT UPIU

2013-05-12 Thread Dolev Raviv
As part of device initialization sequence, sending NOP OUT UPIU and waiting for NOP IN UPIU response is mandatory. This confirms that the device UFS Transport (UTP) layer is functional and the host can configure the device with further commands. Add support for sending NOP OUT UPIU to check the dev

[PATCH V1 8/8] scsi: ufs: Set fDeviceInit flag to initiate device initialization

2013-05-12 Thread Dolev Raviv
Allow UFS device to complete its initialization and accept SCSI commands by setting fDeviceInit flag. The device may take time for this operation and hence the host should poll until fDeviceInit flag is toggled to zero. This step is mandated by UFS device specification for device initialization com

[PATCH V1 1/8] Documentation: devicetree: Add DT bindings for UFS host controller

2013-05-12 Thread Dolev Raviv
Compatible list is used in commit 03b1781 but is not documented. Add necessary device tree bindings to describe on-chip UFS host controllers. Signed-off-by: Sujit Reddy Thumma diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt b/Documentation/devicetree/bindings/ufs/ufshcd-plt

[PATCH V1 0/8] ufs patch siries

2013-05-12 Thread Dolev Raviv
This patch series clusters the latest version of all the UFS patches in the SCSI mailing list. It gives a stable functional base line for the UFS driver. It includes the following versions: > [PATCH 1/2] Documentation: devicetree: Add DT bindings for UFS host > controller > [PATCH 2/2] scsi: ufs: