Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp406312lqs; Tue, 5 Mar 2024 05:48:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV+TlBARevuoS6mbUv2J/mXvkXwTDqBz9rf9JDx5pE95BMl66nXhDdf3kFZ1qgsnx9a/k7Fc8PYizsxb+b8uU6g+a4Vj3wSpilbm8Vgig== X-Google-Smtp-Source: AGHT+IHnvkzyQoYs/6qZDQcxR3IdZgSIxkA2o1Z5jbHR5zCyTkRCfWSZfjM1tu/8nO4JAhJ3D1Q3 X-Received: by 2002:a05:620a:1793:b0:788:24b3:875a with SMTP id ay19-20020a05620a179300b0078824b3875amr3764993qkb.25.1709646495708; Tue, 05 Mar 2024 05:48:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709646495; cv=pass; d=google.com; s=arc-20160816; b=tWZqU7oE7Dhi6zOIBCeTnJyhg4GPK1o3dMObuzuVhmowuT/0sSvmV3+AkXsjPil5yJ fovBpDE8/LgfYwhrn74P+q/JLSSJwL4sm7web6qzHs99RFacAdC9rsie0E1BOZoT1Xp+ Fzh/IUrVZywysSLrOb1D6ml1XfF0Oy8saWKQ7EUqfStdVN+fAuaXis86PDBeyDsU24J6 5hKFD4pPBYCzcQ1BhW1jLzpRVSGMwZ/Vyyj47cYCwCbV8zIuunJDh9Caqz7vTjX7SBdm LzjHkUzkFcyuUH2cXAH4pTiZ6NFPWi1Icn3ZF/C6u50ru78xHsn8Pq1+xo5w5kB1fook l0Qw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:user-agent:date :message-id:from:references:cc:to:subject; bh=drSPYPYvongR4NC3tJ3v14duQgnOFNolUjP5L9ScyAs=; fh=pT4PXR+jkxlgqJQzI1Aqc6KkTDjqeag3mXmScJmH/+s=; b=xvwncshTnfrvG5Nl4tIHJtaRNHQB+giyExZtmCZxAjI6Qpn7RUX0uAsHOsx/mWgUjw vk0A61ezkDC5WJLrlasdw1k87Z59EDEOIGBGG39c3B3LPPyBAHR9NO64MZaY+0zTfXGx k+oHSFmWB6LCirA4pF7bcG2DdxZpPzBkeH0nIwDeiK46TpCseqSmrrYrnxqha/JRajcF H81mFEmIORcUjxFhbIQTy/4SQumk1L67vQh5+Q0IQm6JX5cv6HKHuvUv8L0YrD0gL+ax XG3rfHKfdTHq6rwJHCfZrL9SA0PBOtlU3HlkEKNerNsj8HPNd5e3CJvtAjtqmKDaC/0j QKHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-92467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id os38-20020a05620a812600b007882ce839b8si3638340qkn.360.2024.03.05.05.48.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 05:48:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-92467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4FC121C23064 for ; Tue, 5 Mar 2024 13:48:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37C6B86140; Tue, 5 Mar 2024 13:48:03 +0000 (UTC) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F11AC85C65; Tue, 5 Mar 2024 13:47:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.191 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709646482; cv=none; b=bYYB3A4l7iHIJXXwKzV6p1GLL2uRi/YqTCLZWuxfbHgelIpZA7y3QpFTnWTXqmLbROvse10Al2zimFrc38Lf61SbB76M3L18y+VAVUmlYU3fdIE9/RXJsN/83sYqYE6IlK/fR/T3i9LDOQFwNYgJY0Ce1UK77a659qnXulEfCu0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709646482; c=relaxed/simple; bh=fwsD95FdoAbsdyR2QUY9CpZGE8wzEFI62CxYIBvAC9U=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=aOlL/8Na78m1EQCNCO4kKtTpxbLk7uvjwSnQC0ku/EpirRPzTGf7/wJGyLyrzglo+mCiIG34C1R1Qap0twdt15/TurT2ManULbhRx0TPP2voFSS5s1+OWKz7QVVbGMDfsnYJKyr1g9IODAHS1RYhgEf4NkYeBhfiC2b6vBio5MQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.191 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.163]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Tpxhk0swLz1FLnJ; Tue, 5 Mar 2024 21:47:50 +0800 (CST) Received: from canpemm500005.china.huawei.com (unknown [7.192.104.229]) by mail.maildlp.com (Postfix) with ESMTPS id 46AFB18002F; Tue, 5 Mar 2024 21:47:57 +0800 (CST) Received: from canpemm500004.china.huawei.com (7.192.104.92) by canpemm500005.china.huawei.com (7.192.104.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 5 Mar 2024 21:47:57 +0800 Received: from [10.174.179.14] (10.174.179.14) by canpemm500004.china.huawei.com (7.192.104.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 5 Mar 2024 21:47:56 +0800 Subject: Re: [PATCH 5/6] scsi: mvsas: Use LIBSAS_SHT_BASE To: John Garry , , , , , , , CC: , References: <20240305122452.340471-1-john.g.garry@oracle.com> <20240305122452.340471-6-john.g.garry@oracle.com> <8834df38-413d-855c-433c-653d7023dc8b@huawei.com> From: Jason Yan Message-ID: Date: Tue, 5 Mar 2024 21:47:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500004.china.huawei.com (7.192.104.92) On 2024/3/5 21:28, John Garry wrote: > On 05/03/2024 13:19, Jason Yan wrote: >>> -    .ioctl            = sas_ioctl, >>> -#ifdef CONFIG_COMPAT >>> -    .compat_ioctl        = sas_ioctl, >>> -#endif >>>       .shost_groups        = mvst_host_groups, >>>       .sdev_groups        = mvst_sdev_groups, >>>       .track_queue_depth    = 1, >>> >> >> Doesn't hvae ->eh_abort_handler too. > > Is setting eh_abort_handler actually really ever required for libsas > drivers? We have sas_eh_abort_handler, so I assume so.. For now among libsas drivers only isci has eh_abort_handler. But LIBSAS_SHT_BASE is setting it by default. I think it's better to keep the same as before for other four drivers. Thanks, Jason > > Thanks, > John > .