[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:

[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 sthu...@codeaurora.org diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt

[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

[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

[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

[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 me...@codeaurora.org Signed-off-by: Sujit Reddy Thumma sthu...@codeaurora.org Signed-off-by: Dolev Raviv dra...@codeaurora.org Tested-by: Dolev Raviv dra...@codeaurora.org diff --git

[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 tgih@samsung.com Signed-off-by: Dolev Raviv dra...@codeaurora.org Tested-by: Maya Erez me...@codeaurora.org diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 7ce40a5..3946b9d 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 tgih@samsung.com Signed-off-by: Dolev Raviv dra...@codeaurora.org Tested-by: Maya Erez me...@codeaurora.org diff --git

[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 tgih@samsung.com Signed-off-by: Dolev Raviv dra...@codeaurora.org Tested-by: Maya Erez me...@codeaurora.org diff --git

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' tree,

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 tgih@samsung.com Signed-off-by: Dolev Raviv

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 h...@suse.de 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