Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4513958pxb; Tue, 25 Jan 2022 12:01:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTmrWZLX0HV22s6h6odlZFeJRURnnZ5S+YEIMUKsC1vrGEN2ewCpGvLl2A0yWJKOIisiVP X-Received: by 2002:a17:906:7942:: with SMTP id l2mr18070211ejo.730.1643140885946; Tue, 25 Jan 2022 12:01:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643140885; cv=none; d=google.com; s=arc-20160816; b=KGPO8me+k01VP98zZPcQVTrCIk4Hc677f3hygGeMh2mJxD+FatWYQ11PJSexibTBko uWNCn8c4wrBDSn8KempYH/+yY4RfJcBNs1tNokYo7oSO6IBg/nveLu7A8DxH1F8gX+X8 KMbUSj+3/6GJGJOLoOqukpjBXwc1Q/B/XueSxtHpAmyDZpbkCLQkCzegAmGh0QfDQzez bMncuyam0Z1WNz833fmtAmnpJuRznXPBubC/BVdAmJPyezv+j+LPn73glTAiXOUkcnOt 7HnlvcKZM/6uq8Zzj2DIluWPuTIBShcSafPb5Xbwbb4ydVrwk7lfmO8Bs7GUi+IifYw8 9GxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=IRr63qipLRCl4gNFVMLB/jYN4b6/wcIJu2tEDz6pkhk=; b=r51O8TZEbqAfRIHMM2O7dMgsgrTeSnu6wbtaDKXr41Kv3rNWpaEgOKMIpO04OyuTIr ht81asU5oQBryXcZQM3r2z/DEYwWPPFE35UWxBdVHLQb4w52wDRRLnoxMV9IolRdSDpJ 7vZdSJUS+O4N7qpZbv+NzrPmtbWaVwph9WcOpjHjzVK1h6FiMSZQasnJar6SKJHj0vs5 JVwUJq3goF5VVhh9nqQzHm+EEbxjPr7RwwjLL/em2hEQ0LR3da90XXLfzlQGTYHrftO+ U5WKnBYhZlu13QSXfFGrWpq5ylaqX+1QMpBaLZsnuwEHmKTeabHEy/1Ab7UPy1mHt39a jKmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 3si6117491ejr.609.2022.01.25.12.00.53; Tue, 25 Jan 2022 12:01:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386340AbiAYOKX (ORCPT + 99 others); Tue, 25 Jan 2022 09:10:23 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:4511 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386082AbiAYOFx (ORCPT ); Tue, 25 Jan 2022 09:05:53 -0500 Received: from fraeml712-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4JjpSq2Dnpz67ZkT; Tue, 25 Jan 2022 22:02:19 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml712-chm.china.huawei.com (10.206.15.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Tue, 25 Jan 2022 15:05:44 +0100 Received: from [10.47.95.36] (10.47.95.36) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Tue, 25 Jan 2022 14:05:43 +0000 Subject: Re: [PATCH 05/16] scsi: libsas: Add struct sas_tmf_task To: Matthew Wilcox CC: , , , , , , , , , , , , , References: <1643110372-85470-1-git-send-email-john.garry@huawei.com> <1643110372-85470-6-git-send-email-john.garry@huawei.com> From: John Garry Message-ID: <6b31b15c-98d9-ee07-0092-cbcc5f5c71fe@huawei.com> Date: Tue, 25 Jan 2022 14:05:11 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.95.36] X-ClientProxiedBy: lhreml744-chm.china.huawei.com (10.201.108.194) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/01/2022 13:37, Matthew Wilcox wrote: >> Also add an interim force phy id field for hisi_sas driver, which will be >> removed once the STP "TMF" code is factored out. >> >> Even though some LLDDs (pm8001) use a u32 for the tag, u16 should be >> enough. > ... because pm8001 limits the number of tags to 1024. > . Sure, but the pm8001 HW does has a 32b field, which is strange as the SAS spec defines a 16b field in the task management Function information unit "tag of task to be managed" field. Thanks, John