> -----Original Message-----
> From: Raghava Aditya Renukunta
> [mailto:raghavaaditya.renuku...@microsemi.com]
> Sent: Friday, January 19, 2018 6:02 PM
> To: j...@linux.vnet.ibm.com; martin.peter...@oracle.com; linux-
> s...@vger.kernel.org
> Cc: Scott Benesh <scott.ben...@microsemi.com>; Tom White
> <tom.wh...@microsemi.com>; dl-esc-Aacraid Linux Driver
> <aacr...@microsemi.com>; Guilherme G . Piccoli
> <gpicc...@linux.vnet.ibm.com>; Bart Van Assche <bart.vanass...@wdc.com>
> Subject: [PATCH 1/3] scsi: aacraid: Implement DropIO sync command
> 
> IOP_RESET takes longer time to complete, if controller is in a state where we
> can bring it back with init struct, controller DropIO sync command is
> implemented.
> 
>  - If controller is faulted perform standard IOP_RESET in aac_srcv_init.
>  - If controller is not faulted get adapter properties and extended
>    properties.
>  - Update the sa_firmware variable and determine if DropIO request is
>    supported.
>  - Issue DropIO request, and get the number of outstanding commands.
>  - If all commands are complete with success (CT_OK), consider IOP_RESET
>    is complete.
>  - If any commands timeout, Perform the IOP_RESET.
> 
> Signed-off-by: Prasad B Munirathnam <prasad.munirath...@microsemi.com>
> Signed-off-by: Raghava Aditya Renukunta
> <raghavaaditya.renuku...@microsemi.com>
> ---
>  drivers/scsi/aacraid/aacraid.h |   4 +
>  drivers/scsi/aacraid/src.c     | 167
> +++++++++++++++++++++++++++++++++++++++--
>  2 files changed, 163 insertions(+), 8 deletions(-)

Reviewed-by: Dave Carroll <david.carr...@microsemi.com>

Reply via email to