Re: [PATCH V3 3/4] scsi: ufs: Fix device and host reset methods

2013-07-29 Thread Sujit Reddy Thumma
On 7/24/2013 7:09 PM, Seungwon Jeon wrote: > On Wed, July 24, 2013, Sujit Reddy Thumma wrote: >> On 7/23/2013 1:57 PM, Seungwon Jeon wrote: >>> On Sat, July 20, 2013, Sujit Reddy Thumma wrote: On 7/19/2013 7:27 PM, Seungwon Jeon wrote: > On Tue, July 09, 2013, Sujit Reddy Thumma wrote: >>>

RE: [PATCH V3 3/4] scsi: ufs: Fix device and host reset methods

2013-07-24 Thread Seungwon Jeon
On Wed, July 24, 2013, Sujit Reddy Thumma wrote: > On 7/23/2013 1:57 PM, Seungwon Jeon wrote: > > On Sat, July 20, 2013, Sujit Reddy Thumma wrote: > >> On 7/19/2013 7:27 PM, Seungwon Jeon wrote: > >>> On Tue, July 09, 2013, Sujit Reddy Thumma wrote: > As of now SCSI initiated error handling is

Re: [PATCH V3 3/4] scsi: ufs: Fix device and host reset methods

2013-07-23 Thread Sujit Reddy Thumma
On 7/23/2013 1:57 PM, Seungwon Jeon wrote: > On Sat, July 20, 2013, Sujit Reddy Thumma wrote: >> On 7/19/2013 7:27 PM, Seungwon Jeon wrote: >>> On Tue, July 09, 2013, Sujit Reddy Thumma wrote: As of now SCSI initiated error handling is broken because, the reset APIs don't try to bring bac

RE: [PATCH V3 3/4] scsi: ufs: Fix device and host reset methods

2013-07-23 Thread Seungwon Jeon
On Sat, July 20, 2013, Sujit Reddy Thumma wrote: > On 7/19/2013 7:27 PM, Seungwon Jeon wrote: > > On Tue, July 09, 2013, Sujit Reddy Thumma wrote: > >> As of now SCSI initiated error handling is broken because, > >> the reset APIs don't try to bring back the device initialized and > >> ready for fu

Re: [PATCH V3 3/4] scsi: ufs: Fix device and host reset methods

2013-07-19 Thread Sujit Reddy Thumma
On 7/19/2013 7:27 PM, Seungwon Jeon wrote: > On Tue, July 09, 2013, Sujit Reddy Thumma wrote: >> As of now SCSI initiated error handling is broken because, >> the reset APIs don't try to bring back the device initialized and >> ready for further transfers. >> >> In case of timeouts, the scsi error

RE: [PATCH V3 3/4] scsi: ufs: Fix device and host reset methods

2013-07-19 Thread Seungwon Jeon
On Tue, July 09, 2013, Sujit Reddy Thumma wrote: > As of now SCSI initiated error handling is broken because, > the reset APIs don't try to bring back the device initialized and > ready for further transfers. > > In case of timeouts, the scsi error handler takes care of handling aborts > and reset

Re: [PATCH V3 3/4] scsi: ufs: Fix device and host reset methods

2013-07-09 Thread merez
Tested with error injection. Tested-by: Maya Erez > As of now SCSI initiated error handling is broken because, > the reset APIs don't try to bring back the device initialized and > ready for further transfers. > > In case of timeouts, the scsi error handler takes care of handling aborts > and re

[PATCH V3 3/4] scsi: ufs: Fix device and host reset methods

2013-07-09 Thread Sujit Reddy Thumma
As of now SCSI initiated error handling is broken because, the reset APIs don't try to bring back the device initialized and ready for further transfers. In case of timeouts, the scsi error handler takes care of handling aborts and resets. Improve the error handling in such scenario by resetting t