From: "Matthew R. Ochs" Subject: Re: [PATCH 08/17] cxlflash: Add scsi command abort handler Date: Thu, 22 Jun 2017 14:56:36 -0500 Message-ID: <2BE3376B-C0C2-4CA9-BEE0-5889844DC46F@linux.vnet.ibm.com> References: <1498097563-8680-1-git-send-email-ukrishn@linux.vnet.ibm.com> <1498097706-8970-1-git-send-email-ukrishn@linux.vnet.ibm.com> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Return-path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:38393 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbdFVT4x (ORCPT ); Thu, 22 Jun 2017 15:56:53 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v5MJrqV3061166 for ; Thu, 22 Jun 2017 15:56:52 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0a-001b2d01.pphosted.com with ESMTP id 2b8fu7vsne-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 22 Jun 2017 15:56:52 -0400 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 22 Jun 2017 13:56:51 -0600 In-Reply-To: <1498097706-8970-1-git-send-email-ukrishn@linux.vnet.ibm.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Uma Krishnan Cc: linux-scsi , James Bottomley , "Martin K. Petersen" , "Manoj N. Kumar" , linuxppc-dev@lists.ozlabs.org, Ian Munsie , Andrew Donnellan , Frederic Barrat , Christophe Lombard > On Jun 21, 2017, at 9:15 PM, Uma Krishnan wrote: > > To date, CXL flash devices do not support a single command abort operation. > Instead, the SISLite specification provides a context reset operation to > cleanup all pending commands for a given context. > > When a context reset is successful, it is guaranteed that the AFU has > aborted all currently pending I/O. This sequence is less invasive than a > device or host reset and can be executed to support scsi command abort > requests. Add eh_abort_handler callback support to process command timeouts > and abort requests. > > Signed-off-by: Uma Krishnan Acked-by: Matthew R. Ochs