Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5317419ybi; Tue, 30 Jul 2019 18:30:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyXIGQMQsOrENykit8P+3GyEd3uZ64PE1YhouYF2jbsklqvHVSI5rLjgcOvQazOqyNX9PlJ X-Received: by 2002:a62:7994:: with SMTP id u142mr45336831pfc.39.1564536623250; Tue, 30 Jul 2019 18:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564536623; cv=none; d=google.com; s=arc-20160816; b=zDYg+vQym2ZICSESs7RjZIiL+UmKcr5eXbmDkNj6tzSSZLH5e0CVAsQsB0OkPl51L3 AMEK2TUJxOXrJt0jVfV/vOYTghlFGBUAmugRHu5PXR3RvXBJil4CEkbOMnLVqLL3ohYi UcVZy1k28QH2B+yj598Z0qraNfMkayLRMLzpM18nkFu8Q4ha/xgiTtDvEMWOYnpmrxtY n7pLVpMO+zPK9jMBCyiV2VZfAfxDTIyJgRsQY0kRt5FinruXmh6rgvx9ntsuT9Hng7mf cmlshB8Bm+q070R6PXLsepMDk3wJ8GWSI+nU22Jum+3LJAO6hKx5pc0fO/e97E8gBwT4 zF+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=PRuifwtBdlMAtrPrUPTDS6ONh/DQGdobk5Ch65KcSmo=; b=bcBxAjXMEWS/2IRNEylFhliICcre9fjt3d3+HFZPy1dJEN95ZEpzJp043XN4qZZ5C7 DGM053+m9QAPeBTjZ8W7inahzI9PwboTXpd0T18zPZzdn/cH8hYUVAVMq5HQs+rGDn8D jreyr1BYejObDuib7D9bz2uhOC2jYJvrF+y5aYcE3IHMnZfH117lFYFNKVOzttd7E7Ar t+E8b9YUDuSWm4UGahgt71nP3+JKiWeJywL82HxaSyA/z33YzgaaLIe58LU85J/6U/NA wz6ibeH/otoSVhp23Q7DE2sSgPFQhsbuL40vy/FnkWSoUcNIPrdTNnZfDjBy/nZeYRu4 8pBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=S0AuQAcR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si31497655pff.277.2019.07.30.18.30.08; Tue, 30 Jul 2019 18:30:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=S0AuQAcR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727555AbfG3UDB (ORCPT + 99 others); Tue, 30 Jul 2019 16:03:01 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:42254 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726174AbfG3UDB (ORCPT ); Tue, 30 Jul 2019 16:03:01 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6UJwTu3003829; Tue, 30 Jul 2019 20:02:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2018-07-02; bh=PRuifwtBdlMAtrPrUPTDS6ONh/DQGdobk5Ch65KcSmo=; b=S0AuQAcR4+/LS+GqDZF/Kz+HLGXGn1dGVHhYKZ+ZDb15xSE7vhFvLLu16rcbRcrOwyOm ZkH5EKJDaEsKSK7lPSByt8mfiUZF2szLKpyjGTp/B36DzVjnUa2pSuFCT4VAyW1fsz70 kRh/zRj8ySK8woBrP9ALZAaNPXNaxCptnmNzAITAU3iZhWGvHQRhdqiePnNm/G/VZO22 f1ZwBdwPzZz79rF1r10CSj0oHMY6zFC1hawqSiL02vkJAGd/Ie6aRVr7HeINZ2WSKfIa rVEor7rZm7OMnvo4wE/BcVc1qQ1KQr1iFRJ9f9Dq3HQoV7ZAyiHBSPTb3SaavlK95AJ8 gQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2u0e1trwjd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Jul 2019 20:02:54 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6UK2qnY165614; Tue, 30 Jul 2019 20:02:53 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 2u0xv8e5xb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Jul 2019 20:02:52 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6UK2mD0030873; Tue, 30 Jul 2019 20:02:48 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 30 Jul 2019 13:02:47 -0700 To: Minwoo Im Cc: linux-scsi@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Euihyeok Kwon , Sarah Cho , Sanggwan Lee , Gyeongmin Nam , Sungjun Park , Minwoo Im , Sreekanth Reddy , Suganath Prabu Subramani , Sathya Prakash , "James E . J . Bottomley" , "Martin K . Petersen" , MPT-FusionLinux.pdl@broadcom.com Subject: Re: [RESEND PATCH] mpt3sas: support target smid for [abort|query] task From: "Martin K. Petersen" Organization: Oracle Corporation References: <20190727185337.19299-1-minwoo.im.dev@gmail.com> Date: Tue, 30 Jul 2019 16:02:44 -0400 In-Reply-To: <20190727185337.19299-1-minwoo.im.dev@gmail.com> (Minwoo Im's message of "Sun, 28 Jul 2019 03:53:37 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9334 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907300204 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9334 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907300203 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Minwoo, > We can request task management IOCTL > command(MPI2_FUNCTION_SCSI_TASK_MGMT) to /dev/mpt3ctl. If the given > task_type is either abort task or query task, it may need a field > named "Initiator Port Transfer Tag to Manage" in the IU. Applied to 5.4/scsi-queue, thank you! -- Martin K. Petersen Oracle Linux Engineering