From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754314AbcHXMmL (ORCPT ); Wed, 24 Aug 2016 08:42:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:43582 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752974AbcHXMmJ (ORCPT ); Wed, 24 Aug 2016 08:42:09 -0400 Subject: Re: [PATCH v2 1/8] hisi_sas: add internal abort main code To: John Garry , jejb@linux.vnet.ibm.com, martin.petersen@oracle.com References: <1472036754-156813-1-git-send-email-john.garry@huawei.com> <1472036754-156813-2-git-send-email-john.garry@huawei.com> Cc: linuxarm@huawei.com, zhangfei.gao@linaro.org, xuwei5@hisilicon.com, john.garry2@mail.dcu.ie, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org From: Hannes Reinecke Message-ID: <2bc83181-1cd8-ff92-4961-62a21e73a6e7@suse.de> Date: Wed, 24 Aug 2016 14:41:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <1472036754-156813-2-git-send-email-john.garry@huawei.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/24/2016 01:05 PM, John Garry wrote: > Add main code for internal abort functionality. > > The internal abort features allows the host controller > to abort commands which are still active in the > controller but have not yet been sent to the slave > device. > > Typically a command only spends a relatively > short time in the controller when compared to the > amount of the time after it is sent to the slave > device. > Two modes of internal abort are supported: > - device > - individual command > > For device, when the internal abort is issued all > commands in the host for that device are aborted. > For a single command, only that command is aborted > if it is still in the host. > > In HW the internal abort command is executed > similar to any other sort of command, like SSP. > > Signed-off-by: John Garry > --- > drivers/scsi/hisi_sas/hisi_sas.h | 8 ++ > drivers/scsi/hisi_sas/hisi_sas_main.c | 163 ++++++++++++++++++++++++++++++++++ > 2 files changed, 171 insertions(+) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)