[PATCH v6 0/3] block: Adding ROW scheduling algorithm

2013-05-12 Thread Tanya Brokhman
In order to decrease the latency of a prioritized request (such as READ requests) the device driver might decide to stop the transmission of a current low priority request in order to handle the high priority one. The urgency of the request is decided by the block layer I/O scheduler. When the

[PATCH v6 1/3] block: Add support for reinsert a dispatched req

2013-05-12 Thread Tanya Brokhman
Add support for reinserting a dispatched request back to the scheduler's internal data structures. This capability is used by the device driver when it chooses to interrupt the current request transmission and execute another (more urgent) pending request. For example: interrupting long write in

[PATCH v6 2/3] block: Add API for urgent request handling

2013-05-12 Thread Tanya Brokhman
This patch add support in block elevator layers for handling urgent requests. The decision if a request is urgent or not is taken by the scheduler. Request is marked as urgent in cmd_flags (by the scheduler) with a new flag - REQ_URGENT. Urgent request notification is passed to the underlying

[PATCH/RESEND v6 3/3] block: Adding ROW scheduling algorithm

2013-05-12 Thread Tanya Brokhman
This patch adds the implementation of a new scheduling algorithm - ROW. The policy of this algorithm is to prioritize READ requests over WRITE as much as possible without starving the WRITE requests. The requests are kept in queues according to their priority. The dispatch is done in a Round Robin

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